@vavt/react-ui 1.4.6 → 1.5.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 +40 -8
- package/dist/AutoComplete-D8yHFMHQ.js +185 -0
- package/dist/AutoComplete-Drl00grg.cjs +1 -0
- package/dist/Avatar-CVGMy2Ws.cjs +1 -0
- package/dist/Avatar-DiZ9p6tu.js +125 -0
- package/dist/{Badge-FzXPw1qS.js → Badge-CchY6uXz.js} +1 -1
- package/dist/{Badge-BkqoSV-F.cjs → Badge-D3htuSXY.cjs} +1 -1
- package/dist/Breadcrumb-BWR92yK_.cjs +1 -0
- package/dist/Breadcrumb-BmZKaAQx.js +88 -0
- package/dist/Cascader-ZVE95kvm.cjs +1 -0
- package/dist/Cascader-bozg6Ebp.js +268 -0
- package/dist/Collapse-DVxYsq3L.cjs +1 -0
- package/dist/Collapse-DszkYUfD.js +112 -0
- package/dist/{Cron-BVMn9OXM.js → Cron-BWqWgWuv.js} +401 -398
- package/dist/Cron-zcb1FZ09.cjs +1 -0
- package/dist/{DatePicker-3wbkApMJ.js → DatePicker-DBjtTP2Q.js} +1 -1
- package/dist/{DatePicker-B3mA7BzE.cjs → DatePicker-apiCVsKF.cjs} +1 -1
- package/dist/{DateTimePicker-C1bggaBl.cjs → DateTimePicker-2omkPUuf.cjs} +1 -1
- package/dist/{DateTimePicker--A4EWUe-.js → DateTimePicker-IpyJLY4J.js} +1 -1
- package/dist/Descriptions-CmSiqsqf.cjs +1 -0
- package/dist/Descriptions-EL2QcZ1K.js +32 -0
- package/dist/{Drawer-D1elCS8V.js → Drawer--aEf7OiI.js} +8 -8
- package/dist/{Drawer-DbH5rUvZ.cjs → Drawer-BEDZEapD.cjs} +1 -1
- package/dist/Dropdown-FrlX_2wd.js +332 -0
- package/dist/Dropdown-dvIwbqMc.cjs +1 -0
- package/dist/{Form-DiYdJJNH.js → Form-CGJDPj0N.js} +9 -9
- package/dist/{Form-X98FSlHG.cjs → Form-lygZzVRZ.cjs} +1 -1
- package/dist/Image-D7FGl2cQ.cjs +1 -0
- package/dist/Image-DJb-tcA-.js +295 -0
- package/dist/{Input-BbJ4Q_xu.cjs → Input-BI-gwi8w.cjs} +1 -1
- package/dist/{Input-DpoSxIdb.js → Input-CoS-XMv1.js} +5 -5
- package/dist/Layout-CJpTIRSF.cjs +1 -0
- package/dist/Layout-l-rfDdFR.js +60 -0
- package/dist/List-BupBfl-B.js +45 -0
- package/dist/List-DAkXmKFR.cjs +1 -0
- package/dist/{Loading-BAKnIASq.js → Loading-C9LBGbnd.js} +1 -1
- package/dist/{Loading-BSqhKOle.cjs → Loading-CRhiY3Ok.cjs} +1 -1
- package/dist/Menu-CsGCo2ck.cjs +1 -0
- package/dist/Menu-t8GRH6oh.js +168 -0
- package/dist/Message-Bo-hPakI.js +170 -0
- package/dist/Message-D2WGz_wk.cjs +1 -0
- package/dist/{MessageBox-C0dCtUie.js → MessageBox-CaTZOiZC.js} +8 -8
- package/dist/{MessageBox-Bp-3oqz4.cjs → MessageBox-D9rZAvhY.cjs} +1 -1
- package/dist/Modal-BTMB0xbR.js +250 -0
- package/dist/{Modal-BfHARuVJ.cjs → Modal-ToC7SNzp.cjs} +1 -1
- package/dist/Notification-C1lOX5Hn.js +187 -0
- package/dist/Notification-DK5jP-kX.cjs +1 -0
- package/dist/{Pagination-CtnBykzs.cjs → Pagination-D_SAnFOA.cjs} +1 -1
- package/dist/{Pagination-BGbiLFtp.js → Pagination-fbC5EEq-.js} +1 -1
- package/dist/Popconfirm-CQ59-YOh.cjs +1 -0
- package/dist/Popconfirm-D2zgbhKF.js +91 -0
- package/dist/Popover-Cb8BrtQC.js +232 -0
- package/dist/Popover-Dqrb-lKh.cjs +1 -0
- package/dist/Result-C3RqWqnc.cjs +1 -0
- package/dist/Result-CcnBHoE5.js +77 -0
- package/dist/Segmented-CQ18snYg.cjs +1 -0
- package/dist/Segmented-OykaARP4.js +39 -0
- package/dist/Select-CpoP5kRp.js +504 -0
- package/dist/Select-D8udcz4F.cjs +1 -0
- package/dist/Skeleton-B_cZyDWx.cjs +1 -0
- package/dist/Skeleton-C80MPzfN.js +31 -0
- package/dist/Statistic-BitBMhSW.cjs +1 -0
- package/dist/Statistic-DVduwOGW.js +35 -0
- package/dist/Steps-B9phXfUl.cjs +1 -0
- package/dist/Steps-Cnswg-bb.js +85 -0
- package/dist/{Table-CpyEziz5.js → Table-DMqVnyDN.js} +1 -1
- package/dist/{Table-uBqeNSnm.cjs → Table-rgp7iAWc.cjs} +1 -1
- package/dist/TimePicker-BydMgSVN.js +220 -0
- package/dist/TimePicker-t4eGpNEu.cjs +1 -0
- package/dist/Tooltip-CWQDc8Nf.js +201 -0
- package/dist/Tooltip-Cn9pIMfU.cjs +1 -0
- package/dist/Transfer-BRjVUdyi.js +115 -0
- package/dist/Transfer-BfWsmx_x.cjs +1 -0
- package/dist/{Transition-X_89ga-e.cjs → Transition-BBMxZ5_8.cjs} +1 -1
- package/dist/{Transition-DiO4GsP3.js → Transition-CJDv6yI5.js} +2 -2
- package/dist/Tree-BsG6l54c.js +202 -0
- package/dist/Tree-CcSMb0_M.cjs +1 -0
- package/dist/TreeSelect-DBJkW7zM.cjs +1 -0
- package/dist/TreeSelect-DWmDo7pg.js +120 -0
- package/dist/Typography-C9Ef3jN5.js +91 -0
- package/dist/Typography-DLrh1jPn.cjs +1 -0
- package/dist/{Upload-DZ6VaM7r.js → Upload-aLdxGpWh.js} +7 -7
- package/dist/{Upload-wHEEoe1c.cjs → Upload-wt5lnQHc.cjs} +1 -1
- package/dist/base.css +1 -1
- package/dist/choice-popup-Crn_uZzu.cjs +1 -0
- package/dist/choice-popup-CzxryGs6.js +168 -0
- package/dist/cjs/AutoComplete.cjs +1 -0
- package/dist/cjs/Avatar.cjs +1 -0
- package/dist/cjs/Badge.cjs +1 -1
- package/dist/cjs/Breadcrumb.cjs +1 -0
- package/dist/cjs/Cascader.cjs +1 -0
- package/dist/cjs/Collapse.cjs +1 -0
- package/dist/cjs/Cron.cjs +1 -1
- package/dist/cjs/DatePicker.cjs +1 -1
- package/dist/cjs/DateTimePicker.cjs +1 -1
- package/dist/cjs/Descriptions.cjs +1 -0
- package/dist/cjs/Drawer.cjs +1 -1
- package/dist/cjs/Dropdown.cjs +1 -1
- package/dist/cjs/Form.cjs +1 -1
- package/dist/cjs/Image.cjs +1 -0
- package/dist/cjs/Input.cjs +1 -1
- package/dist/cjs/Layout.cjs +1 -0
- package/dist/cjs/List.cjs +1 -0
- package/dist/cjs/Loading.cjs +1 -1
- package/dist/cjs/Menu.cjs +1 -0
- package/dist/cjs/Message.cjs +1 -0
- package/dist/cjs/MessageBox.cjs +1 -1
- package/dist/cjs/Modal.cjs +1 -1
- package/dist/cjs/Notification.cjs +1 -1
- package/dist/cjs/Pagination.cjs +1 -1
- package/dist/cjs/Popconfirm.cjs +1 -0
- package/dist/cjs/Popover.cjs +1 -0
- package/dist/cjs/Result.cjs +1 -0
- package/dist/cjs/Segmented.cjs +1 -0
- package/dist/cjs/Select.cjs +1 -1
- package/dist/cjs/Skeleton.cjs +1 -0
- package/dist/cjs/Statistic.cjs +1 -0
- package/dist/cjs/Steps.cjs +1 -0
- package/dist/cjs/Table.cjs +1 -1
- package/dist/cjs/TimePicker.cjs +1 -1
- package/dist/cjs/Tooltip.cjs +1 -1
- package/dist/cjs/Transfer.cjs +1 -0
- package/dist/cjs/Transition.cjs +1 -1
- package/dist/cjs/Tree.cjs +1 -0
- package/dist/cjs/TreeSelect.cjs +1 -0
- package/dist/cjs/Typography.cjs +1 -0
- package/dist/cjs/Upload.cjs +1 -1
- package/dist/cjs/global.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/register.cjs +1 -1
- package/dist/css/AutoComplete.css +1 -0
- package/dist/css/Avatar.css +1 -0
- package/dist/css/Breadcrumb.css +1 -0
- package/dist/css/Cascader.css +1 -0
- package/dist/css/Collapse.css +1 -0
- package/dist/css/Descriptions.css +1 -0
- package/dist/css/Image.css +1 -0
- package/dist/css/Layout.css +1 -0
- package/dist/css/List.css +1 -0
- package/dist/css/Menu.css +1 -0
- package/dist/css/Message.css +1 -0
- package/dist/css/Popconfirm.css +1 -0
- package/dist/css/Popover.css +1 -0
- package/dist/css/Result.css +1 -0
- package/dist/css/Segmented.css +1 -0
- package/dist/css/Skeleton.css +1 -0
- package/dist/css/Statistic.css +1 -0
- package/dist/css/Steps.css +1 -0
- package/dist/css/Transfer.css +1 -0
- package/dist/css/Tree.css +1 -0
- package/dist/css/TreeSelect.css +1 -0
- package/dist/css/Typography.css +1 -0
- package/dist/date-picker-BUZofYHp.js +644 -0
- package/dist/date-picker-CDbRvH7g.cjs +1 -0
- package/dist/dialog-shell-Bv1Jvhjb.js +219 -0
- package/dist/dialog-shell-HPbp3xhc.cjs +1 -0
- package/dist/es/AutoComplete.mjs +3 -0
- package/dist/es/Avatar.mjs +3 -0
- package/dist/es/Badge.mjs +1 -1
- package/dist/es/Breadcrumb.mjs +3 -0
- package/dist/es/Cascader.mjs +3 -0
- package/dist/es/Collapse.mjs +3 -0
- package/dist/es/Cron.mjs +1 -1
- package/dist/es/DatePicker.mjs +1 -1
- package/dist/es/DateTimePicker.mjs +1 -1
- package/dist/es/Descriptions.mjs +3 -0
- package/dist/es/Drawer.mjs +1 -1
- package/dist/es/Dropdown.mjs +1 -1
- package/dist/es/Form.mjs +1 -1
- package/dist/es/Image.mjs +3 -0
- package/dist/es/Input.mjs +1 -1
- package/dist/es/Layout.mjs +3 -0
- package/dist/es/List.mjs +3 -0
- package/dist/es/Loading.mjs +1 -1
- package/dist/es/Menu.mjs +3 -0
- package/dist/es/Message.mjs +3 -0
- package/dist/es/MessageBox.mjs +1 -1
- package/dist/es/Modal.mjs +1 -1
- package/dist/es/Notification.mjs +1 -1
- package/dist/es/Pagination.mjs +1 -1
- package/dist/es/Popconfirm.mjs +3 -0
- package/dist/es/Popover.mjs +3 -0
- package/dist/es/Result.mjs +3 -0
- package/dist/es/Segmented.mjs +3 -0
- package/dist/es/Select.mjs +1 -1
- package/dist/es/Skeleton.mjs +3 -0
- package/dist/es/Statistic.mjs +3 -0
- package/dist/es/Steps.mjs +3 -0
- package/dist/es/Table.mjs +1 -1
- package/dist/es/TimePicker.mjs +1 -1
- package/dist/es/Tooltip.mjs +1 -1
- package/dist/es/Transfer.mjs +3 -0
- package/dist/es/Transition.mjs +1 -1
- package/dist/es/Tree.mjs +3 -0
- package/dist/es/TreeSelect.mjs +3 -0
- package/dist/es/Typography.mjs +3 -0
- package/dist/es/Upload.mjs +1 -1
- package/dist/es/global.mjs +1 -1
- package/dist/es/index.mjs +62 -40
- package/dist/es/register.mjs +1 -1
- package/dist/floating-B6CCQcuK.cjs +1 -0
- package/dist/{floating-BqCWEj83.js → floating-C8pd2mFu.js} +62 -56
- package/dist/index.css +1 -1
- package/dist/layer-B9unaPbV.js +109 -0
- package/dist/layer-BcLkE2NM.cjs +1 -0
- package/dist/notice-timer-BRLTVgTj.js +28 -0
- package/dist/notice-timer-OkrpLRrG.cjs +1 -0
- package/dist/registry-BFCksD7k.js +131 -0
- package/dist/registry-DftkiQnN.cjs +1 -0
- package/dist/style/AutoComplete.cjs +9 -0
- package/dist/style/AutoComplete.mjs +9 -0
- package/dist/style/Avatar.cjs +7 -0
- package/dist/style/Avatar.mjs +7 -0
- package/dist/style/Breadcrumb.cjs +7 -0
- package/dist/style/Breadcrumb.mjs +7 -0
- package/dist/style/Cascader.cjs +9 -0
- package/dist/style/Cascader.mjs +9 -0
- package/dist/style/Collapse.cjs +7 -0
- package/dist/style/Collapse.mjs +7 -0
- package/dist/style/Descriptions.cjs +7 -0
- package/dist/style/Descriptions.mjs +7 -0
- package/dist/style/Image.cjs +10 -0
- package/dist/style/Image.mjs +10 -0
- package/dist/style/Layout.cjs +7 -0
- package/dist/style/Layout.mjs +7 -0
- package/dist/style/List.cjs +9 -0
- package/dist/style/List.mjs +9 -0
- package/dist/style/Menu.cjs +8 -0
- package/dist/style/Menu.mjs +8 -0
- package/dist/style/Message.cjs +8 -0
- package/dist/style/Message.mjs +8 -0
- package/dist/style/Popconfirm.cjs +9 -0
- package/dist/style/Popconfirm.mjs +9 -0
- package/dist/style/Popover.cjs +8 -0
- package/dist/style/Popover.mjs +8 -0
- package/dist/style/Result.cjs +7 -0
- package/dist/style/Result.mjs +7 -0
- package/dist/style/Segmented.cjs +8 -0
- package/dist/style/Segmented.mjs +8 -0
- package/dist/style/Skeleton.cjs +7 -0
- package/dist/style/Skeleton.mjs +7 -0
- package/dist/style/Statistic.cjs +7 -0
- package/dist/style/Statistic.mjs +7 -0
- package/dist/style/Steps.cjs +7 -0
- package/dist/style/Steps.mjs +7 -0
- package/dist/style/Transfer.cjs +11 -0
- package/dist/style/Transfer.mjs +11 -0
- package/dist/style/Tree.cjs +9 -0
- package/dist/style/Tree.mjs +9 -0
- package/dist/style/TreeSelect.cjs +10 -0
- package/dist/style/TreeSelect.mjs +10 -0
- package/dist/style/Typography.cjs +7 -0
- package/dist/style/Typography.mjs +7 -0
- package/dist/types/AutoComplete/AutoComplete.d.cts +6 -0
- package/dist/types/AutoComplete/AutoComplete.d.ts +6 -0
- package/dist/types/AutoComplete/index.d.cts +2 -0
- package/dist/types/AutoComplete/index.d.ts +2 -0
- package/dist/types/AutoComplete/type.d.cts +57 -0
- package/dist/types/AutoComplete/type.d.ts +57 -0
- package/dist/types/Avatar/Avatar.d.cts +4 -0
- package/dist/types/Avatar/Avatar.d.ts +4 -0
- package/dist/types/Avatar/AvatarGroup.d.cts +7 -0
- package/dist/types/Avatar/AvatarGroup.d.ts +7 -0
- package/dist/types/Avatar/context.d.cts +6 -0
- package/dist/types/Avatar/context.d.ts +6 -0
- package/dist/types/Avatar/index.d.cts +7 -0
- package/dist/types/Avatar/index.d.ts +7 -0
- package/dist/types/Avatar/type.d.cts +36 -0
- package/dist/types/Avatar/type.d.ts +36 -0
- package/dist/types/Breadcrumb/Breadcrumb.d.cts +5 -0
- package/dist/types/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/dist/types/Breadcrumb/index.d.cts +6 -0
- package/dist/types/Breadcrumb/index.d.ts +6 -0
- package/dist/types/Breadcrumb/type.d.cts +59 -0
- package/dist/types/Breadcrumb/type.d.ts +59 -0
- package/dist/types/Cascader/Cascader.d.cts +3 -0
- package/dist/types/Cascader/Cascader.d.ts +3 -0
- package/dist/types/Cascader/index.d.cts +2 -0
- package/dist/types/Cascader/index.d.ts +2 -0
- package/dist/types/Cascader/type.d.cts +38 -0
- package/dist/types/Cascader/type.d.ts +38 -0
- package/dist/types/Collapse/Collapse.d.cts +3 -0
- package/dist/types/Collapse/Collapse.d.ts +3 -0
- package/dist/types/Collapse/index.d.cts +4 -0
- package/dist/types/Collapse/index.d.ts +4 -0
- package/dist/types/Collapse/type.d.cts +46 -0
- package/dist/types/Collapse/type.d.ts +46 -0
- package/dist/types/Descriptions/Descriptions.d.cts +3 -0
- package/dist/types/Descriptions/Descriptions.d.ts +3 -0
- package/dist/types/Descriptions/index.d.cts +4 -0
- package/dist/types/Descriptions/index.d.ts +4 -0
- package/dist/types/Descriptions/type.d.cts +20 -0
- package/dist/types/Descriptions/type.d.ts +20 -0
- package/dist/types/Image/Image.d.cts +3 -0
- package/dist/types/Image/Image.d.ts +3 -0
- package/dist/types/Image/ImagePreview.d.cts +4 -0
- package/dist/types/Image/ImagePreview.d.ts +4 -0
- package/dist/types/Image/index.d.cts +3 -0
- package/dist/types/Image/index.d.ts +3 -0
- package/dist/types/Image/type.d.cts +25 -0
- package/dist/types/Image/type.d.ts +25 -0
- package/dist/types/Layout/Layout.d.cts +8 -0
- package/dist/types/Layout/Layout.d.ts +8 -0
- package/dist/types/Layout/index.d.cts +2 -0
- package/dist/types/Layout/index.d.ts +2 -0
- package/dist/types/Layout/type.d.cts +20 -0
- package/dist/types/Layout/type.d.ts +20 -0
- package/dist/types/List/List.d.cts +3 -0
- package/dist/types/List/List.d.ts +3 -0
- package/dist/types/List/index.d.cts +2 -0
- package/dist/types/List/index.d.ts +2 -0
- package/dist/types/List/type.d.cts +15 -0
- package/dist/types/List/type.d.ts +15 -0
- package/dist/types/Menu/Menu.d.cts +4 -0
- package/dist/types/Menu/Menu.d.ts +4 -0
- package/dist/types/Menu/index.d.cts +2 -0
- package/dist/types/Menu/index.d.ts +2 -0
- package/dist/types/Menu/type.d.cts +26 -0
- package/dist/types/Menu/type.d.ts +26 -0
- package/dist/types/Message/Message.d.cts +3 -0
- package/dist/types/Message/Message.d.ts +3 -0
- package/dist/types/Message/host.d.cts +5 -0
- package/dist/types/Message/host.d.ts +5 -0
- package/dist/types/Message/index.d.cts +4 -0
- package/dist/types/Message/index.d.ts +4 -0
- package/dist/types/Message/service.d.cts +4 -0
- package/dist/types/Message/service.d.ts +4 -0
- package/dist/types/Message/type.d.cts +34 -0
- package/dist/types/Message/type.d.ts +34 -0
- package/dist/types/Popconfirm/Popconfirm.d.cts +4 -0
- package/dist/types/Popconfirm/Popconfirm.d.ts +4 -0
- package/dist/types/Popconfirm/index.d.cts +4 -0
- package/dist/types/Popconfirm/index.d.ts +4 -0
- package/dist/types/Popconfirm/type.d.cts +14 -0
- package/dist/types/Popconfirm/type.d.ts +14 -0
- package/dist/types/Popover/Popover.d.cts +3 -0
- package/dist/types/Popover/Popover.d.ts +3 -0
- package/dist/types/Popover/index.d.cts +4 -0
- package/dist/types/Popover/index.d.ts +4 -0
- package/dist/types/Popover/type.d.cts +27 -0
- package/dist/types/Popover/type.d.ts +27 -0
- package/dist/types/Result/Result.d.cts +3 -0
- package/dist/types/Result/Result.d.ts +3 -0
- package/dist/types/Result/index.d.cts +2 -0
- package/dist/types/Result/index.d.ts +2 -0
- package/dist/types/Result/type.d.cts +11 -0
- package/dist/types/Result/type.d.ts +11 -0
- package/dist/types/Segmented/Segmented.d.cts +4 -0
- package/dist/types/Segmented/Segmented.d.ts +4 -0
- package/dist/types/Segmented/index.d.cts +2 -0
- package/dist/types/Segmented/index.d.ts +2 -0
- package/dist/types/Segmented/type.d.cts +21 -0
- package/dist/types/Segmented/type.d.ts +21 -0
- package/dist/types/Skeleton/Skeleton.d.cts +4 -0
- package/dist/types/Skeleton/Skeleton.d.ts +4 -0
- package/dist/types/Skeleton/index.d.cts +4 -0
- package/dist/types/Skeleton/index.d.ts +4 -0
- package/dist/types/Skeleton/type.d.cts +15 -0
- package/dist/types/Skeleton/type.d.ts +15 -0
- package/dist/types/Statistic/Statistic.d.cts +4 -0
- package/dist/types/Statistic/Statistic.d.ts +4 -0
- package/dist/types/Statistic/index.d.cts +2 -0
- package/dist/types/Statistic/index.d.ts +2 -0
- package/dist/types/Statistic/type.d.cts +11 -0
- package/dist/types/Statistic/type.d.ts +11 -0
- package/dist/types/Steps/Steps.d.cts +4 -0
- package/dist/types/Steps/Steps.d.ts +4 -0
- package/dist/types/Steps/index.d.cts +2 -0
- package/dist/types/Steps/index.d.ts +2 -0
- package/dist/types/Steps/type.d.cts +24 -0
- package/dist/types/Steps/type.d.ts +24 -0
- package/dist/types/Transfer/Transfer.d.cts +4 -0
- package/dist/types/Transfer/Transfer.d.ts +4 -0
- package/dist/types/Transfer/index.d.cts +2 -0
- package/dist/types/Transfer/index.d.ts +2 -0
- package/dist/types/Transfer/type.d.cts +24 -0
- package/dist/types/Transfer/type.d.ts +24 -0
- package/dist/types/Transition/type.d.cts +1 -1
- package/dist/types/Transition/type.d.ts +1 -1
- package/dist/types/Tree/Tree.d.cts +3 -0
- package/dist/types/Tree/Tree.d.ts +3 -0
- package/dist/types/Tree/index.d.cts +2 -0
- package/dist/types/Tree/index.d.ts +2 -0
- package/dist/types/Tree/type.d.cts +42 -0
- package/dist/types/Tree/type.d.ts +42 -0
- package/dist/types/TreeSelect/TreeSelect.d.cts +4 -0
- package/dist/types/TreeSelect/TreeSelect.d.ts +4 -0
- package/dist/types/TreeSelect/index.d.cts +3 -0
- package/dist/types/TreeSelect/index.d.ts +3 -0
- package/dist/types/TreeSelect/type.d.cts +26 -0
- package/dist/types/TreeSelect/type.d.ts +26 -0
- package/dist/types/Typography/Typography.d.cts +7 -0
- package/dist/types/Typography/Typography.d.ts +7 -0
- package/dist/types/Typography/index.d.cts +2 -0
- package/dist/types/Typography/index.d.ts +2 -0
- package/dist/types/Typography/type.d.cts +23 -0
- package/dist/types/Typography/type.d.ts +23 -0
- package/dist/types/_shared/choice-popup.d.cts +44 -0
- package/dist/types/_shared/choice-popup.d.ts +44 -0
- package/dist/types/_shared/dialog-layer.d.cts +4 -1
- package/dist/types/_shared/dialog-layer.d.ts +4 -1
- package/dist/types/_shared/dialog.d.cts +4 -1
- package/dist/types/_shared/dialog.d.ts +4 -1
- package/dist/types/_shared/floating.d.cts +3 -3
- package/dist/types/_shared/floating.d.ts +3 -3
- package/dist/types/_shared/focus.d.cts +1 -1
- package/dist/types/_shared/focus.d.ts +1 -1
- package/dist/types/_shared/notice-timer.d.cts +11 -0
- package/dist/types/_shared/notice-timer.d.ts +11 -0
- package/dist/types/_shared/popup-scope.d.cts +30 -0
- package/dist/types/_shared/popup-scope.d.ts +30 -0
- package/dist/types/_shared/tree.d.cts +28 -0
- package/dist/types/_shared/tree.d.ts +28 -0
- package/dist/types/global.d.cts +44 -0
- package/dist/types/global.d.ts +44 -0
- package/dist/types/index.d.cts +22 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/registry.d.cts +26 -0
- package/dist/types/registry.d.ts +26 -0
- package/package.json +3 -2
- package/dist/Cron-2avclmKf.cjs +0 -1
- package/dist/Dropdown-CYo0Ckcg.js +0 -330
- package/dist/Dropdown-DlT_kSLw.cjs +0 -1
- package/dist/Modal-UWOcLzA6.js +0 -250
- package/dist/Notification-CJraaZIi.js +0 -197
- package/dist/Notification-D6m4qHKz.cjs +0 -1
- package/dist/Select-BBw595_R.js +0 -497
- package/dist/Select-CcuSjVhm.cjs +0 -1
- package/dist/TimePicker-BtorXdZv.cjs +0 -1
- package/dist/TimePicker-DxDA8bbO.js +0 -215
- package/dist/Tooltip-2-mZgyai.js +0 -198
- package/dist/Tooltip-BCH9SOnY.cjs +0 -1
- package/dist/date-picker-BrlkzTx6.cjs +0 -1
- package/dist/date-picker-DBzPbLf2.js +0 -639
- package/dist/dialog-shell-DqKDnSak.js +0 -207
- package/dist/dialog-shell-WCsdja9-.cjs +0 -1
- package/dist/floating-BpTI3sWS.cjs +0 -1
- package/dist/focus-BDDJyKk3.js +0 -9
- package/dist/focus-D-h8CbGr.cjs +0 -1
- package/dist/layer-CWiOhvXF.js +0 -53
- package/dist/layer-DfWO72Y-.cjs +0 -1
- package/dist/registry-7LU6RUh_.cjs +0 -1
- package/dist/registry-BYt8u6us.js +0 -87
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes, FocusEvent, ReactNode } from 'react';
|
|
2
|
+
import type { CornerPlacement } from '../_shared/floating.cjs';
|
|
3
|
+
import type { TreeKey, TreeNode } from '../Tree/type.cjs';
|
|
4
|
+
export type TreeSelectValue = TreeKey | TreeKey[] | null;
|
|
5
|
+
export interface TreeSelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'defaultValue' | 'onChange' | 'onBlur'> {
|
|
6
|
+
data: TreeNode[];
|
|
7
|
+
value?: TreeSelectValue;
|
|
8
|
+
defaultValue?: TreeSelectValue;
|
|
9
|
+
onChange?: (value: TreeSelectValue) => void;
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
filterable?: boolean;
|
|
12
|
+
clearable?: boolean;
|
|
13
|
+
maxTagCount?: number;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
emptyContent?: ReactNode;
|
|
18
|
+
renderNode?: (node: TreeNode) => ReactNode;
|
|
19
|
+
open?: boolean;
|
|
20
|
+
defaultOpen?: boolean;
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
onBlur?: (event: FocusEvent<HTMLElement>) => void;
|
|
23
|
+
placement?: CornerPlacement;
|
|
24
|
+
zIndex?: number;
|
|
25
|
+
}
|
|
26
|
+
export type TreeSelectRef = HTMLButtonElement;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes, FocusEvent, ReactNode } from 'react';
|
|
2
|
+
import type { CornerPlacement } from '../_shared/floating.js';
|
|
3
|
+
import type { TreeKey, TreeNode } from '../Tree/type.js';
|
|
4
|
+
export type TreeSelectValue = TreeKey | TreeKey[] | null;
|
|
5
|
+
export interface TreeSelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'defaultValue' | 'onChange' | 'onBlur'> {
|
|
6
|
+
data: TreeNode[];
|
|
7
|
+
value?: TreeSelectValue;
|
|
8
|
+
defaultValue?: TreeSelectValue;
|
|
9
|
+
onChange?: (value: TreeSelectValue) => void;
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
filterable?: boolean;
|
|
12
|
+
clearable?: boolean;
|
|
13
|
+
maxTagCount?: number;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
emptyContent?: ReactNode;
|
|
18
|
+
renderNode?: (node: TreeNode) => ReactNode;
|
|
19
|
+
open?: boolean;
|
|
20
|
+
defaultOpen?: boolean;
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
onBlur?: (event: FocusEvent<HTMLElement>) => void;
|
|
23
|
+
placement?: CornerPlacement;
|
|
24
|
+
zIndex?: number;
|
|
25
|
+
}
|
|
26
|
+
export type TreeSelectRef = HTMLButtonElement;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TypographyLinkProps, TypographyProps, TypographyTextProps, TypographyTitleProps } from './type.cjs';
|
|
2
|
+
declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const TypographyText: import("react").ForwardRefExoticComponent<TypographyTextProps & import("react").RefAttributes<HTMLElement>>;
|
|
4
|
+
export declare const TypographyParagraph: import("react").ForwardRefExoticComponent<TypographyTextProps & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
export declare const TypographyTitle: import("react").ForwardRefExoticComponent<TypographyTitleProps & import("react").RefAttributes<HTMLElement>>;
|
|
6
|
+
export declare const TypographyLink: import("react").ForwardRefExoticComponent<TypographyLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
export default Typography;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TypographyLinkProps, TypographyProps, TypographyTextProps, TypographyTitleProps } from './type.js';
|
|
2
|
+
declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const TypographyText: import("react").ForwardRefExoticComponent<TypographyTextProps & import("react").RefAttributes<HTMLElement>>;
|
|
4
|
+
export declare const TypographyParagraph: import("react").ForwardRefExoticComponent<TypographyTextProps & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
export declare const TypographyTitle: import("react").ForwardRefExoticComponent<TypographyTitleProps & import("react").RefAttributes<HTMLElement>>;
|
|
6
|
+
export declare const TypographyLink: import("react").ForwardRefExoticComponent<TypographyLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
export default Typography;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { default, default as VlTypography, TypographyTitle as VlTypographyTitle, TypographyText as VlTypographyText, TypographyParagraph as VlTypographyParagraph, TypographyLink as VlTypographyLink } from './Typography.cjs';
|
|
2
|
+
export type { TypographyProps, TypographyTextProps, TypographyTitleProps, TypographyLinkProps, TypographyCopyOptions, TypographyTone, TypographyRef } from './type.cjs';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { default, default as VlTypography, TypographyTitle as VlTypographyTitle, TypographyText as VlTypographyText, TypographyParagraph as VlTypographyParagraph, TypographyLink as VlTypographyLink } from './Typography.js';
|
|
2
|
+
export type { TypographyProps, TypographyTextProps, TypographyTitleProps, TypographyLinkProps, TypographyCopyOptions, TypographyTone, TypographyRef } from './type.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AnchorHTMLAttributes, HTMLAttributes } from 'react';
|
|
2
|
+
export type TypographyTone = 'primary' | 'secondary' | 'success' | 'warning' | 'error';
|
|
3
|
+
export interface TypographyCopyOptions {
|
|
4
|
+
/** 复杂 children 必须提供显式复制文本,避免错误复制图标或辅助文案。 */
|
|
5
|
+
text?: string;
|
|
6
|
+
onCopy?: (text: string) => void;
|
|
7
|
+
onError?: (error: unknown) => void;
|
|
8
|
+
}
|
|
9
|
+
export type TypographyProps = HTMLAttributes<HTMLDivElement>;
|
|
10
|
+
export interface TypographyTextProps extends HTMLAttributes<HTMLElement> {
|
|
11
|
+
tone?: TypographyTone;
|
|
12
|
+
/** true 为单行,数字为最大行数。 */
|
|
13
|
+
ellipsis?: boolean | number;
|
|
14
|
+
copyable?: boolean | TypographyCopyOptions;
|
|
15
|
+
}
|
|
16
|
+
export interface TypographyTitleProps extends TypographyTextProps {
|
|
17
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
18
|
+
}
|
|
19
|
+
export interface TypographyLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
underline?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export type TypographyRef = HTMLDivElement;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AnchorHTMLAttributes, HTMLAttributes } from 'react';
|
|
2
|
+
export type TypographyTone = 'primary' | 'secondary' | 'success' | 'warning' | 'error';
|
|
3
|
+
export interface TypographyCopyOptions {
|
|
4
|
+
/** 复杂 children 必须提供显式复制文本,避免错误复制图标或辅助文案。 */
|
|
5
|
+
text?: string;
|
|
6
|
+
onCopy?: (text: string) => void;
|
|
7
|
+
onError?: (error: unknown) => void;
|
|
8
|
+
}
|
|
9
|
+
export type TypographyProps = HTMLAttributes<HTMLDivElement>;
|
|
10
|
+
export interface TypographyTextProps extends HTMLAttributes<HTMLElement> {
|
|
11
|
+
tone?: TypographyTone;
|
|
12
|
+
/** true 为单行,数字为最大行数。 */
|
|
13
|
+
ellipsis?: boolean | number;
|
|
14
|
+
copyable?: boolean | TypographyCopyOptions;
|
|
15
|
+
}
|
|
16
|
+
export interface TypographyTitleProps extends TypographyTextProps {
|
|
17
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
18
|
+
}
|
|
19
|
+
export interface TypographyLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
underline?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export type TypographyRef = HTMLDivElement;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CSSProperties, FocusEvent, KeyboardEvent, ReactNode, RefObject } from 'react';
|
|
2
|
+
import type { CornerPlacement } from './floating.cjs';
|
|
3
|
+
interface ChoicePopupOptions {
|
|
4
|
+
open: boolean | undefined;
|
|
5
|
+
defaultOpen: boolean;
|
|
6
|
+
controlled: boolean;
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
10
|
+
placement?: CornerPlacement;
|
|
11
|
+
zIndex?: number;
|
|
12
|
+
/** AutoComplete 保持输入焦点;树/级联面板则把焦点交给搜索框或第一项。 */
|
|
13
|
+
focusOnOpen: boolean;
|
|
14
|
+
}
|
|
15
|
+
/** 选择面板共享定位与焦点生命周期;值模型留在各控件内,避免把树、路径和自由文本混为一体。 */
|
|
16
|
+
export declare const useChoicePopup: ({ open: openProp, defaultOpen, controlled, onOpenChange, disabled, triggerRef, placement, zIndex, focusOnOpen }: ChoicePopupOptions) => {
|
|
17
|
+
open: boolean;
|
|
18
|
+
setOpen: (next: boolean, restoreFocus?: boolean) => void;
|
|
19
|
+
ready: boolean;
|
|
20
|
+
rootRef: RefObject<HTMLDivElement | null>;
|
|
21
|
+
panelRef: RefObject<HTMLDivElement | null>;
|
|
22
|
+
id: string;
|
|
23
|
+
layer: {
|
|
24
|
+
layer: import("./layer.cjs").OverlayLayer;
|
|
25
|
+
zIndex: ("auto" | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | (number & {})) | undefined;
|
|
26
|
+
maskZIndex: ("auto" | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | (number & {})) | undefined;
|
|
27
|
+
};
|
|
28
|
+
scope: import("./popup-scope.cjs").PopupScope;
|
|
29
|
+
position: import("./floating.cjs").FloatingLayout<CornerPlacement>;
|
|
30
|
+
placement: CornerPlacement;
|
|
31
|
+
setPosition: (next: import("./floating.cjs").FloatingLayout<CornerPlacement>) => void;
|
|
32
|
+
onBlur: (event: FocusEvent<HTMLElement>, callback?: (event: FocusEvent<HTMLElement>) => void) => void;
|
|
33
|
+
openOnFocus: () => void;
|
|
34
|
+
onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;
|
|
35
|
+
};
|
|
36
|
+
export declare const ChoicePopup: ({ open, ready, panelRef, id, layer, scope, position, placement, setPosition, name, label, role, className, style, children }: Pick<ReturnType<typeof useChoicePopup>, "open" | "ready" | "panelRef" | "id" | "layer" | "scope" | "position" | "placement" | "setPosition"> & {
|
|
37
|
+
name: string;
|
|
38
|
+
label: string;
|
|
39
|
+
role?: "dialog" | "listbox";
|
|
40
|
+
className?: string;
|
|
41
|
+
style?: CSSProperties;
|
|
42
|
+
children: ReactNode;
|
|
43
|
+
}) => import("react").JSX.Element;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CSSProperties, FocusEvent, KeyboardEvent, ReactNode, RefObject } from 'react';
|
|
2
|
+
import type { CornerPlacement } from './floating.js';
|
|
3
|
+
interface ChoicePopupOptions {
|
|
4
|
+
open: boolean | undefined;
|
|
5
|
+
defaultOpen: boolean;
|
|
6
|
+
controlled: boolean;
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
10
|
+
placement?: CornerPlacement;
|
|
11
|
+
zIndex?: number;
|
|
12
|
+
/** AutoComplete 保持输入焦点;树/级联面板则把焦点交给搜索框或第一项。 */
|
|
13
|
+
focusOnOpen: boolean;
|
|
14
|
+
}
|
|
15
|
+
/** 选择面板共享定位与焦点生命周期;值模型留在各控件内,避免把树、路径和自由文本混为一体。 */
|
|
16
|
+
export declare const useChoicePopup: ({ open: openProp, defaultOpen, controlled, onOpenChange, disabled, triggerRef, placement, zIndex, focusOnOpen }: ChoicePopupOptions) => {
|
|
17
|
+
open: boolean;
|
|
18
|
+
setOpen: (next: boolean, restoreFocus?: boolean) => void;
|
|
19
|
+
ready: boolean;
|
|
20
|
+
rootRef: RefObject<HTMLDivElement | null>;
|
|
21
|
+
panelRef: RefObject<HTMLDivElement | null>;
|
|
22
|
+
id: string;
|
|
23
|
+
layer: {
|
|
24
|
+
layer: import("./layer.js").OverlayLayer;
|
|
25
|
+
zIndex: ("auto" | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | (number & {})) | undefined;
|
|
26
|
+
maskZIndex: ("auto" | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | (number & {})) | undefined;
|
|
27
|
+
};
|
|
28
|
+
scope: import("./popup-scope.js").PopupScope;
|
|
29
|
+
position: import("./floating.js").FloatingLayout<CornerPlacement>;
|
|
30
|
+
placement: CornerPlacement;
|
|
31
|
+
setPosition: (next: import("./floating.js").FloatingLayout<CornerPlacement>) => void;
|
|
32
|
+
onBlur: (event: FocusEvent<HTMLElement>, callback?: (event: FocusEvent<HTMLElement>) => void) => void;
|
|
33
|
+
openOnFocus: () => void;
|
|
34
|
+
onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;
|
|
35
|
+
};
|
|
36
|
+
export declare const ChoicePopup: ({ open, ready, panelRef, id, layer, scope, position, placement, setPosition, name, label, role, className, style, children }: Pick<ReturnType<typeof useChoicePopup>, "open" | "ready" | "panelRef" | "id" | "layer" | "scope" | "position" | "placement" | "setPosition"> & {
|
|
37
|
+
name: string;
|
|
38
|
+
label: string;
|
|
39
|
+
role?: "dialog" | "listbox";
|
|
40
|
+
className?: string;
|
|
41
|
+
style?: CSSProperties;
|
|
42
|
+
children: ReactNode;
|
|
43
|
+
}) => import("react").JSX.Element;
|
|
44
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { OverlayLayer } from './layer.cjs';
|
|
3
|
+
import type { PopupScope } from './popup-scope.cjs';
|
|
3
4
|
interface DialogLevel {
|
|
4
5
|
tokenOffset?: number;
|
|
5
6
|
absolute?: number;
|
|
@@ -45,7 +46,9 @@ export declare const useDialogLayer: ({ active, zIndex }: {
|
|
|
45
46
|
};
|
|
46
47
|
/** 普通 Portal 浮层继承最终视觉层级,嵌套 Modal 则创建自己的登记,不能重复消费命令式预留。 */
|
|
47
48
|
export declare const DialogLayerProvider: ({ value, children }: {
|
|
48
|
-
value: ReturnType<typeof useDialogLayer
|
|
49
|
+
value: ReturnType<typeof useDialogLayer> & {
|
|
50
|
+
interactionScope?: PopupScope;
|
|
51
|
+
};
|
|
49
52
|
children: ReactNode;
|
|
50
53
|
}) => import("react").JSX.Element;
|
|
51
54
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { OverlayLayer } from './layer.js';
|
|
3
|
+
import type { PopupScope } from './popup-scope.js';
|
|
3
4
|
interface DialogLevel {
|
|
4
5
|
tokenOffset?: number;
|
|
5
6
|
absolute?: number;
|
|
@@ -45,7 +46,9 @@ export declare const useDialogLayer: ({ active, zIndex }: {
|
|
|
45
46
|
};
|
|
46
47
|
/** 普通 Portal 浮层继承最终视觉层级,嵌套 Modal 则创建自己的登记,不能重复消费命令式预留。 */
|
|
47
48
|
export declare const DialogLayerProvider: ({ value, children }: {
|
|
48
|
-
value: ReturnType<typeof useDialogLayer
|
|
49
|
+
value: ReturnType<typeof useDialogLayer> & {
|
|
50
|
+
interactionScope?: PopupScope;
|
|
51
|
+
};
|
|
49
52
|
children: ReactNode;
|
|
50
53
|
}) => import("react").JSX.Element;
|
|
51
54
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RefObject } from 'react';
|
|
2
2
|
import { useDialogLayer } from './dialog-layer.cjs';
|
|
3
|
+
import type { PopupScope } from './popup-scope.cjs';
|
|
3
4
|
/** 拖拽期间禁止文本选择;使用引用计数以兼容嵌套弹层或同时结束的拖拽清理。 */
|
|
4
5
|
export declare const acquireBodyUserSelectLock: () => () => void;
|
|
5
6
|
export interface DialogInteractionOptions {
|
|
@@ -17,4 +18,6 @@ export interface DialogInteractionOptions {
|
|
|
17
18
|
* 当上层弹层关闭时,订阅栈变化的父层会重新确认焦点是否仍在自身内部。最终卸载会恢复打开前焦点;
|
|
18
19
|
* 若仍有父弹层存在,其 focusin 陷阱会自然把焦点约束回父层,因此无需在这里感知具体父子关系。
|
|
19
20
|
*/
|
|
20
|
-
export declare const useDialogInteraction: ({ active, zIndex, containerRef, closeOnPressEscape, lockScroll, onRequestClose }: DialogInteractionOptions) => ReturnType<typeof useDialogLayer
|
|
21
|
+
export declare const useDialogInteraction: ({ active, zIndex, containerRef, closeOnPressEscape, lockScroll, onRequestClose }: DialogInteractionOptions) => ReturnType<typeof useDialogLayer> & {
|
|
22
|
+
interactionScope: PopupScope;
|
|
23
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RefObject } from 'react';
|
|
2
2
|
import { useDialogLayer } from './dialog-layer.js';
|
|
3
|
+
import type { PopupScope } from './popup-scope.js';
|
|
3
4
|
/** 拖拽期间禁止文本选择;使用引用计数以兼容嵌套弹层或同时结束的拖拽清理。 */
|
|
4
5
|
export declare const acquireBodyUserSelectLock: () => () => void;
|
|
5
6
|
export interface DialogInteractionOptions {
|
|
@@ -17,4 +18,6 @@ export interface DialogInteractionOptions {
|
|
|
17
18
|
* 当上层弹层关闭时,订阅栈变化的父层会重新确认焦点是否仍在自身内部。最终卸载会恢复打开前焦点;
|
|
18
19
|
* 若仍有父弹层存在,其 focusin 陷阱会自然把焦点约束回父层,因此无需在这里感知具体父子关系。
|
|
19
20
|
*/
|
|
20
|
-
export declare const useDialogInteraction: ({ active, zIndex, containerRef, closeOnPressEscape, lockScroll, onRequestClose }: DialogInteractionOptions) => ReturnType<typeof useDialogLayer
|
|
21
|
+
export declare const useDialogInteraction: ({ active, zIndex, containerRef, closeOnPressEscape, lockScroll, onRequestClose }: DialogInteractionOptions) => ReturnType<typeof useDialogLayer> & {
|
|
22
|
+
interactionScope: PopupScope;
|
|
23
|
+
};
|
|
@@ -66,7 +66,8 @@ export interface FloatingDismissOptions {
|
|
|
66
66
|
/** 视口尺寸调整或滚动时触发的回调函数 */
|
|
67
67
|
onViewportChange?: () => void;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
/** 组合浮层 Hook 需要引用布局类型,导出名称以保持生成声明文件可解析。 */
|
|
70
|
+
export interface FloatingLayout<T extends FloatingPlacement> {
|
|
70
71
|
placement: T;
|
|
71
72
|
style: CSSProperties;
|
|
72
73
|
arrowStyle?: CSSProperties;
|
|
@@ -84,7 +85,7 @@ export declare const useFloatingPosition: <T extends FloatingPlacement>(placemen
|
|
|
84
85
|
* 触发器和浮层;日期时间选择器还可以通过 isOwnedPopup 声明嵌套的时间子浮层。组件自身
|
|
85
86
|
* 仍负责键盘导航和关闭后的焦点策略,这个 helper 只管理 document/window 监听的生命周期。
|
|
86
87
|
*/
|
|
87
|
-
export declare const useFloatingDismiss: ({ active, rootRef, floatingRef, closeOnOutsideClick, ignoreEscapeInsideFloating, isOwnedPopup, onOutsideClick, onEscape, onViewportChange }: FloatingDismissOptions) =>
|
|
88
|
+
export declare const useFloatingDismiss: ({ active, rootRef, floatingRef, closeOnOutsideClick, ignoreEscapeInsideFloating, isOwnedPopup, onOutsideClick, onEscape, onViewportChange }: FloatingDismissOptions) => import("./popup-scope.cjs").PopupScope;
|
|
88
89
|
/**
|
|
89
90
|
* 为 Tooltip、Select、Dropdown、Picker 这类 fixed 浮层选择可用方向,并把最终坐标约束在视口内。
|
|
90
91
|
* 默认候选顺序覆盖四边和 start/end 对齐;角对齐组件可以传入自己的候选顺序与主轴 fallback 规则。
|
|
@@ -97,4 +98,3 @@ export declare const resolveFloatingPosition: <T extends FloatingPlacement>({ an
|
|
|
97
98
|
* @returns 解析后的方向与坐标
|
|
98
99
|
*/
|
|
99
100
|
export declare const resolveCornerPosition: <T extends CornerPlacement>(options: CornerPositionOptions<T>) => ResolvedFloatingPosition<T>;
|
|
100
|
-
export {};
|
|
@@ -66,7 +66,8 @@ export interface FloatingDismissOptions {
|
|
|
66
66
|
/** 视口尺寸调整或滚动时触发的回调函数 */
|
|
67
67
|
onViewportChange?: () => void;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
/** 组合浮层 Hook 需要引用布局类型,导出名称以保持生成声明文件可解析。 */
|
|
70
|
+
export interface FloatingLayout<T extends FloatingPlacement> {
|
|
70
71
|
placement: T;
|
|
71
72
|
style: CSSProperties;
|
|
72
73
|
arrowStyle?: CSSProperties;
|
|
@@ -84,7 +85,7 @@ export declare const useFloatingPosition: <T extends FloatingPlacement>(placemen
|
|
|
84
85
|
* 触发器和浮层;日期时间选择器还可以通过 isOwnedPopup 声明嵌套的时间子浮层。组件自身
|
|
85
86
|
* 仍负责键盘导航和关闭后的焦点策略,这个 helper 只管理 document/window 监听的生命周期。
|
|
86
87
|
*/
|
|
87
|
-
export declare const useFloatingDismiss: ({ active, rootRef, floatingRef, closeOnOutsideClick, ignoreEscapeInsideFloating, isOwnedPopup, onOutsideClick, onEscape, onViewportChange }: FloatingDismissOptions) =>
|
|
88
|
+
export declare const useFloatingDismiss: ({ active, rootRef, floatingRef, closeOnOutsideClick, ignoreEscapeInsideFloating, isOwnedPopup, onOutsideClick, onEscape, onViewportChange }: FloatingDismissOptions) => import("./popup-scope.js").PopupScope;
|
|
88
89
|
/**
|
|
89
90
|
* 为 Tooltip、Select、Dropdown、Picker 这类 fixed 浮层选择可用方向,并把最终坐标约束在视口内。
|
|
90
91
|
* 默认候选顺序覆盖四边和 start/end 对齐;角对齐组件可以传入自己的候选顺序与主轴 fallback 规则。
|
|
@@ -97,4 +98,3 @@ export declare const resolveFloatingPosition: <T extends FloatingPlacement>({ an
|
|
|
97
98
|
* @returns 解析后的方向与坐标
|
|
98
99
|
*/
|
|
99
100
|
export declare const resolveCornerPosition: <T extends CornerPlacement>(options: CornerPositionOptions<T>) => ResolvedFloatingPosition<T>;
|
|
100
|
-
export {};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* 使用 :disabled 伪类而不是 [disabled] 属性选择器:后者漏掉 <fieldset disabled> 的后代控件,
|
|
5
5
|
* 它们没有自身的 disabled 属性但同样不可聚焦。
|
|
6
6
|
*/
|
|
7
|
-
export declare const focusableSelector = "button:not(:disabled), [href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex=\"-1\"])";
|
|
7
|
+
export declare const focusableSelector = "button:not(:disabled), [href], input:not(:disabled):not([type=\"hidden\"]), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex=\"-1\"])";
|
|
8
8
|
/** 自动聚焦标记属性名称 */
|
|
9
9
|
export declare const autofocusAttribute = "data-vl-autofocus";
|
|
10
10
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* 使用 :disabled 伪类而不是 [disabled] 属性选择器:后者漏掉 <fieldset disabled> 的后代控件,
|
|
5
5
|
* 它们没有自身的 disabled 属性但同样不可聚焦。
|
|
6
6
|
*/
|
|
7
|
-
export declare const focusableSelector = "button:not(:disabled), [href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex=\"-1\"])";
|
|
7
|
+
export declare const focusableSelector = "button:not(:disabled), [href], input:not(:disabled):not([type=\"hidden\"]), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex=\"-1\"])";
|
|
8
8
|
/** 自动聚焦标记属性名称 */
|
|
9
9
|
export declare const autofocusAttribute = "data-vl-autofocus";
|
|
10
10
|
/**
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message / Notification 共用的阅读计时:暂停保留剩余时间,普通重渲染不重新计时。
|
|
3
|
+
* 页面不可见也视为暂停;只在 open 或 duration 改变时开始新的阅读周期。
|
|
4
|
+
*/
|
|
5
|
+
export declare const useNoticeTimer: ({ open, ready, duration, paused, onTimeout }: {
|
|
6
|
+
open: boolean;
|
|
7
|
+
ready: boolean;
|
|
8
|
+
duration: number;
|
|
9
|
+
paused: boolean;
|
|
10
|
+
onTimeout: () => void;
|
|
11
|
+
}) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message / Notification 共用的阅读计时:暂停保留剩余时间,普通重渲染不重新计时。
|
|
3
|
+
* 页面不可见也视为暂停;只在 open 或 duration 改变时开始新的阅读周期。
|
|
4
|
+
*/
|
|
5
|
+
export declare const useNoticeTimer: ({ open, ready, duration, paused, onTimeout }: {
|
|
6
|
+
open: boolean;
|
|
7
|
+
ready: boolean;
|
|
8
|
+
duration: number;
|
|
9
|
+
paused: boolean;
|
|
10
|
+
onTimeout: () => void;
|
|
11
|
+
}) => void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ReactNode, RefObject } from 'react';
|
|
2
|
+
export interface PopupScope {
|
|
3
|
+
parent: PopupScope | null;
|
|
4
|
+
rootRef: RefObject<HTMLElement | null>;
|
|
5
|
+
floatingRef: RefObject<HTMLElement | null>;
|
|
6
|
+
kind: 'popup' | 'dialog';
|
|
7
|
+
active: boolean;
|
|
8
|
+
/** 模态优先级仍以 dialog-layer 的预留/打开顺序为准。 */
|
|
9
|
+
isTopDialog?: () => boolean;
|
|
10
|
+
}
|
|
11
|
+
/** 判断本次按键属于谁;React 事件应传 nativeEvent,以便与原生 document 监听共享结果。 */
|
|
12
|
+
export declare const isPopupEscapeOwner: (scope: PopupScope, event: Event) => boolean;
|
|
13
|
+
/** 供已有触发器/面板键盘处理器使用,避免为了检查 Escape 改变它们的回调依赖。 */
|
|
14
|
+
export declare const isPopupEscapeOwnerFor: (root: HTMLElement | null, event: Event) => boolean;
|
|
15
|
+
export declare const popupScopeContains: (scope: PopupScope, target: Node | null) => boolean;
|
|
16
|
+
/** 将子 Portal 的可聚焦项插入触发器之后,保持与页面阅读顺序一致的 Tab 边界。 */
|
|
17
|
+
export declare const getPopupScopeFocusableElements: (scope: PopupScope) => HTMLElement[];
|
|
18
|
+
export declare const usePopupParentActive: () => boolean;
|
|
19
|
+
/** 仅提交后的活动节点进入全局集合;普通渲染和 SSR 不修改任何共享状态。 */
|
|
20
|
+
export declare const usePopupScope: ({ active, rootRef, floatingRef, kind, isTopDialog }: {
|
|
21
|
+
active: boolean;
|
|
22
|
+
rootRef: RefObject<HTMLElement | null>;
|
|
23
|
+
floatingRef: RefObject<HTMLElement | null>;
|
|
24
|
+
kind?: PopupScope["kind"];
|
|
25
|
+
isTopDialog?: () => boolean;
|
|
26
|
+
}) => PopupScope;
|
|
27
|
+
export declare const PopupScopeProvider: ({ scope, children }: {
|
|
28
|
+
scope: PopupScope | null;
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ReactNode, RefObject } from 'react';
|
|
2
|
+
export interface PopupScope {
|
|
3
|
+
parent: PopupScope | null;
|
|
4
|
+
rootRef: RefObject<HTMLElement | null>;
|
|
5
|
+
floatingRef: RefObject<HTMLElement | null>;
|
|
6
|
+
kind: 'popup' | 'dialog';
|
|
7
|
+
active: boolean;
|
|
8
|
+
/** 模态优先级仍以 dialog-layer 的预留/打开顺序为准。 */
|
|
9
|
+
isTopDialog?: () => boolean;
|
|
10
|
+
}
|
|
11
|
+
/** 判断本次按键属于谁;React 事件应传 nativeEvent,以便与原生 document 监听共享结果。 */
|
|
12
|
+
export declare const isPopupEscapeOwner: (scope: PopupScope, event: Event) => boolean;
|
|
13
|
+
/** 供已有触发器/面板键盘处理器使用,避免为了检查 Escape 改变它们的回调依赖。 */
|
|
14
|
+
export declare const isPopupEscapeOwnerFor: (root: HTMLElement | null, event: Event) => boolean;
|
|
15
|
+
export declare const popupScopeContains: (scope: PopupScope, target: Node | null) => boolean;
|
|
16
|
+
/** 将子 Portal 的可聚焦项插入触发器之后,保持与页面阅读顺序一致的 Tab 边界。 */
|
|
17
|
+
export declare const getPopupScopeFocusableElements: (scope: PopupScope) => HTMLElement[];
|
|
18
|
+
export declare const usePopupParentActive: () => boolean;
|
|
19
|
+
/** 仅提交后的活动节点进入全局集合;普通渲染和 SSR 不修改任何共享状态。 */
|
|
20
|
+
export declare const usePopupScope: ({ active, rootRef, floatingRef, kind, isTopDialog }: {
|
|
21
|
+
active: boolean;
|
|
22
|
+
rootRef: RefObject<HTMLElement | null>;
|
|
23
|
+
floatingRef: RefObject<HTMLElement | null>;
|
|
24
|
+
kind?: PopupScope["kind"];
|
|
25
|
+
isTopDialog?: () => boolean;
|
|
26
|
+
}) => PopupScope;
|
|
27
|
+
export declare const PopupScopeProvider: ({ scope, children }: {
|
|
28
|
+
scope: PopupScope | null;
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { TreeKey, TreeNode } from '../Tree/type.cjs';
|
|
2
|
+
export interface TreeRecord {
|
|
3
|
+
node: TreeNode;
|
|
4
|
+
parent: TreeKey | null;
|
|
5
|
+
level: number;
|
|
6
|
+
position: number;
|
|
7
|
+
siblings: number;
|
|
8
|
+
index: number;
|
|
9
|
+
}
|
|
10
|
+
export interface TreeIndex {
|
|
11
|
+
roots: TreeNode[];
|
|
12
|
+
records: Map<TreeKey, TreeRecord>;
|
|
13
|
+
order: TreeRecord[];
|
|
14
|
+
}
|
|
15
|
+
/** 数据变化时一次建索引;显示、勾选和标签解析共用稳定的节点身份。 */
|
|
16
|
+
export declare const indexTree: (data: TreeNode[]) => TreeIndex;
|
|
17
|
+
export declare const filterTree: (index: TreeIndex, query: string) => Set<TreeKey> | null;
|
|
18
|
+
export declare const visibleTreeRecords: (index: TreeIndex, expanded: Set<TreeKey>, filter: Set<TreeKey> | null) => TreeRecord[];
|
|
19
|
+
/** 父节点显式选中时向下展开;再自底向上计算父级和半选,禁用节点是传播边界。 */
|
|
20
|
+
export declare const treeCheckState: (index: TreeIndex, keys: TreeKey[], strict: boolean) => {
|
|
21
|
+
checked: Set<TreeKey>;
|
|
22
|
+
half: Set<TreeKey>;
|
|
23
|
+
};
|
|
24
|
+
export declare const toggleTreeCheck: (index: TreeIndex, keys: TreeKey[], node: TreeNode, strict: boolean) => {
|
|
25
|
+
nextChecked: boolean;
|
|
26
|
+
checked: Set<TreeKey>;
|
|
27
|
+
half: Set<TreeKey>;
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { TreeKey, TreeNode } from '../Tree/type.js';
|
|
2
|
+
export interface TreeRecord {
|
|
3
|
+
node: TreeNode;
|
|
4
|
+
parent: TreeKey | null;
|
|
5
|
+
level: number;
|
|
6
|
+
position: number;
|
|
7
|
+
siblings: number;
|
|
8
|
+
index: number;
|
|
9
|
+
}
|
|
10
|
+
export interface TreeIndex {
|
|
11
|
+
roots: TreeNode[];
|
|
12
|
+
records: Map<TreeKey, TreeRecord>;
|
|
13
|
+
order: TreeRecord[];
|
|
14
|
+
}
|
|
15
|
+
/** 数据变化时一次建索引;显示、勾选和标签解析共用稳定的节点身份。 */
|
|
16
|
+
export declare const indexTree: (data: TreeNode[]) => TreeIndex;
|
|
17
|
+
export declare const filterTree: (index: TreeIndex, query: string) => Set<TreeKey> | null;
|
|
18
|
+
export declare const visibleTreeRecords: (index: TreeIndex, expanded: Set<TreeKey>, filter: Set<TreeKey> | null) => TreeRecord[];
|
|
19
|
+
/** 父节点显式选中时向下展开;再自底向上计算父级和半选,禁用节点是传播边界。 */
|
|
20
|
+
export declare const treeCheckState: (index: TreeIndex, keys: TreeKey[], strict: boolean) => {
|
|
21
|
+
checked: Set<TreeKey>;
|
|
22
|
+
half: Set<TreeKey>;
|
|
23
|
+
};
|
|
24
|
+
export declare const toggleTreeCheck: (index: TreeIndex, keys: TreeKey[], node: TreeNode, strict: boolean) => {
|
|
25
|
+
nextChecked: boolean;
|
|
26
|
+
checked: Set<TreeKey>;
|
|
27
|
+
half: Set<TreeKey>;
|
|
28
|
+
};
|
package/dist/types/global.d.cts
CHANGED
|
@@ -5,34 +5,52 @@
|
|
|
5
5
|
import type { VlAlert as VlAlertComponent } from './Alert/index.cjs';
|
|
6
6
|
import type { VlAnchor as VlAnchorComponent } from './Anchor/index.cjs';
|
|
7
7
|
import type { VlAnnouncement as VlAnnouncementComponent } from './Announcement/index.cjs';
|
|
8
|
+
import type { VlAutoComplete as VlAutoCompleteComponent } from './AutoComplete/index.cjs';
|
|
9
|
+
import type { VlAvatar as VlAvatarComponent } from './Avatar/index.cjs';
|
|
8
10
|
import type { VlBadge as VlBadgeComponent } from './Badge/index.cjs';
|
|
11
|
+
import type { VlBreadcrumb as VlBreadcrumbComponent } from './Breadcrumb/index.cjs';
|
|
9
12
|
import type { VlButton as VlButtonComponent } from './Button/index.cjs';
|
|
10
13
|
import type { VlCard as VlCardComponent } from './Card/index.cjs';
|
|
14
|
+
import type { VlCascader as VlCascaderComponent } from './Cascader/index.cjs';
|
|
11
15
|
import type { VlCheckbox as VlCheckboxComponent } from './Checkbox/index.cjs';
|
|
12
16
|
import type { VlCol as VlColComponent } from './Col/index.cjs';
|
|
17
|
+
import type { VlCollapse as VlCollapseComponent } from './Collapse/index.cjs';
|
|
13
18
|
import type { VlCron as VlCronComponent } from './Cron/index.cjs';
|
|
14
19
|
import type { VlDatePicker as VlDatePickerComponent } from './DatePicker/index.cjs';
|
|
15
20
|
import type { VlDateTimePicker as VlDateTimePickerComponent } from './DateTimePicker/index.cjs';
|
|
21
|
+
import type { VlDescriptions as VlDescriptionsComponent } from './Descriptions/index.cjs';
|
|
16
22
|
import type { VlDivider as VlDividerComponent } from './Divider/index.cjs';
|
|
17
23
|
import type { VlDrawer as VlDrawerComponent } from './Drawer/index.cjs';
|
|
18
24
|
import type { VlDropdown as VlDropdownComponent } from './Dropdown/index.cjs';
|
|
19
25
|
import type { VlEmpty as VlEmptyComponent } from './Empty/index.cjs';
|
|
20
26
|
import type { VlForm as VlFormComponent } from './Form/index.cjs';
|
|
27
|
+
import type { VlImage as VlImageComponent } from './Image/index.cjs';
|
|
21
28
|
import type { VlInput as VlInputComponent } from './Input/index.cjs';
|
|
29
|
+
import type { VlLayout as VlLayoutComponent } from './Layout/index.cjs';
|
|
30
|
+
import type { VlList as VlListComponent } from './List/index.cjs';
|
|
22
31
|
import type { VlLoading as VlLoadingComponent } from './Loading/index.cjs';
|
|
32
|
+
import type { VlMenu as VlMenuComponent } from './Menu/index.cjs';
|
|
33
|
+
import type { VlMessage as VlMessageComponent } from './Message/index.cjs';
|
|
23
34
|
import type { VlMessageBox as VlMessageBoxComponent } from './MessageBox/index.cjs';
|
|
24
35
|
import type { VlModal as VlModalComponent } from './Modal/index.cjs';
|
|
25
36
|
import type { VlNotification as VlNotificationComponent } from './Notification/index.cjs';
|
|
26
37
|
import type { VlNumberInput as VlNumberInputComponent } from './NumberInput/index.cjs';
|
|
27
38
|
import type { VlPagination as VlPaginationComponent } from './Pagination/index.cjs';
|
|
39
|
+
import type { VlPopconfirm as VlPopconfirmComponent } from './Popconfirm/index.cjs';
|
|
40
|
+
import type { VlPopover as VlPopoverComponent } from './Popover/index.cjs';
|
|
28
41
|
import type { VlProgress as VlProgressComponent } from './Progress/index.cjs';
|
|
29
42
|
import type { VlRadio as VlRadioComponent } from './Radio/index.cjs';
|
|
43
|
+
import type { VlResult as VlResultComponent } from './Result/index.cjs';
|
|
30
44
|
import type { VlRow as VlRowComponent } from './Row/index.cjs';
|
|
31
45
|
import type { VlScrollbar as VlScrollbarComponent } from './Scrollbar/index.cjs';
|
|
46
|
+
import type { VlSegmented as VlSegmentedComponent } from './Segmented/index.cjs';
|
|
32
47
|
import type { VlSelect as VlSelectComponent } from './Select/index.cjs';
|
|
33
48
|
import type { VlSidebar as VlSidebarComponent } from './Sidebar/index.cjs';
|
|
49
|
+
import type { VlSkeleton as VlSkeletonComponent } from './Skeleton/index.cjs';
|
|
34
50
|
import type { VlSlider as VlSliderComponent } from './Slider/index.cjs';
|
|
35
51
|
import type { VlSpace as VlSpaceComponent } from './Space/index.cjs';
|
|
52
|
+
import type { VlStatistic as VlStatisticComponent } from './Statistic/index.cjs';
|
|
53
|
+
import type { VlSteps as VlStepsComponent } from './Steps/index.cjs';
|
|
36
54
|
import type { VlSwitch as VlSwitchComponent } from './Switch/index.cjs';
|
|
37
55
|
import type { VlTable as VlTableComponent } from './Table/index.cjs';
|
|
38
56
|
import type { VlTabs as VlTabsComponent } from './Tabs/index.cjs';
|
|
@@ -41,7 +59,11 @@ import type { VlTextarea as VlTextareaComponent } from './Textarea/index.cjs';
|
|
|
41
59
|
import type { VlTimeline as VlTimelineComponent } from './Timeline/index.cjs';
|
|
42
60
|
import type { VlTimePicker as VlTimePickerComponent } from './TimePicker/index.cjs';
|
|
43
61
|
import type { VlTooltip as VlTooltipComponent } from './Tooltip/index.cjs';
|
|
62
|
+
import type { VlTransfer as VlTransferComponent } from './Transfer/index.cjs';
|
|
44
63
|
import type { VlTransition as VlTransitionComponent } from './Transition/index.cjs';
|
|
64
|
+
import type { VlTree as VlTreeComponent } from './Tree/index.cjs';
|
|
65
|
+
import type { VlTreeSelect as VlTreeSelectComponent } from './TreeSelect/index.cjs';
|
|
66
|
+
import type { VlTypography as VlTypographyComponent } from './Typography/index.cjs';
|
|
45
67
|
import type { VlUpload as VlUploadComponent } from './Upload/index.cjs';
|
|
46
68
|
export { globalComponents, registerGlobalComponents } from './registry.cjs';
|
|
47
69
|
export type { GlobalComponentName, GlobalComponents } from './registry.cjs';
|
|
@@ -53,34 +75,52 @@ declare global {
|
|
|
53
75
|
const VlAlert: typeof VlAlertComponent;
|
|
54
76
|
const VlAnchor: typeof VlAnchorComponent;
|
|
55
77
|
const VlAnnouncement: typeof VlAnnouncementComponent;
|
|
78
|
+
const VlAutoComplete: typeof VlAutoCompleteComponent;
|
|
79
|
+
const VlAvatar: typeof VlAvatarComponent;
|
|
56
80
|
const VlBadge: typeof VlBadgeComponent;
|
|
81
|
+
const VlBreadcrumb: typeof VlBreadcrumbComponent;
|
|
57
82
|
const VlButton: typeof VlButtonComponent;
|
|
58
83
|
const VlCard: typeof VlCardComponent;
|
|
84
|
+
const VlCascader: typeof VlCascaderComponent;
|
|
59
85
|
const VlCheckbox: typeof VlCheckboxComponent;
|
|
60
86
|
const VlCol: typeof VlColComponent;
|
|
87
|
+
const VlCollapse: typeof VlCollapseComponent;
|
|
61
88
|
const VlCron: typeof VlCronComponent;
|
|
62
89
|
const VlDatePicker: typeof VlDatePickerComponent;
|
|
63
90
|
const VlDateTimePicker: typeof VlDateTimePickerComponent;
|
|
91
|
+
const VlDescriptions: typeof VlDescriptionsComponent;
|
|
64
92
|
const VlDivider: typeof VlDividerComponent;
|
|
65
93
|
const VlDrawer: typeof VlDrawerComponent;
|
|
66
94
|
const VlDropdown: typeof VlDropdownComponent;
|
|
67
95
|
const VlEmpty: typeof VlEmptyComponent;
|
|
68
96
|
const VlForm: typeof VlFormComponent;
|
|
97
|
+
const VlImage: typeof VlImageComponent;
|
|
69
98
|
const VlInput: typeof VlInputComponent;
|
|
99
|
+
const VlLayout: typeof VlLayoutComponent;
|
|
100
|
+
const VlList: typeof VlListComponent;
|
|
70
101
|
const VlLoading: typeof VlLoadingComponent;
|
|
102
|
+
const VlMenu: typeof VlMenuComponent;
|
|
103
|
+
const VlMessage: typeof VlMessageComponent;
|
|
71
104
|
const VlMessageBox: typeof VlMessageBoxComponent;
|
|
72
105
|
const VlModal: typeof VlModalComponent;
|
|
73
106
|
const VlNotification: typeof VlNotificationComponent;
|
|
74
107
|
const VlNumberInput: typeof VlNumberInputComponent;
|
|
75
108
|
const VlPagination: typeof VlPaginationComponent;
|
|
109
|
+
const VlPopconfirm: typeof VlPopconfirmComponent;
|
|
110
|
+
const VlPopover: typeof VlPopoverComponent;
|
|
76
111
|
const VlProgress: typeof VlProgressComponent;
|
|
77
112
|
const VlRadio: typeof VlRadioComponent;
|
|
113
|
+
const VlResult: typeof VlResultComponent;
|
|
78
114
|
const VlRow: typeof VlRowComponent;
|
|
79
115
|
const VlScrollbar: typeof VlScrollbarComponent;
|
|
116
|
+
const VlSegmented: typeof VlSegmentedComponent;
|
|
80
117
|
const VlSelect: typeof VlSelectComponent;
|
|
81
118
|
const VlSidebar: typeof VlSidebarComponent;
|
|
119
|
+
const VlSkeleton: typeof VlSkeletonComponent;
|
|
82
120
|
const VlSlider: typeof VlSliderComponent;
|
|
83
121
|
const VlSpace: typeof VlSpaceComponent;
|
|
122
|
+
const VlStatistic: typeof VlStatisticComponent;
|
|
123
|
+
const VlSteps: typeof VlStepsComponent;
|
|
84
124
|
const VlSwitch: typeof VlSwitchComponent;
|
|
85
125
|
const VlTable: typeof VlTableComponent;
|
|
86
126
|
const VlTabs: typeof VlTabsComponent;
|
|
@@ -89,6 +129,10 @@ declare global {
|
|
|
89
129
|
const VlTimeline: typeof VlTimelineComponent;
|
|
90
130
|
const VlTimePicker: typeof VlTimePickerComponent;
|
|
91
131
|
const VlTooltip: typeof VlTooltipComponent;
|
|
132
|
+
const VlTransfer: typeof VlTransferComponent;
|
|
92
133
|
const VlTransition: typeof VlTransitionComponent;
|
|
134
|
+
const VlTree: typeof VlTreeComponent;
|
|
135
|
+
const VlTreeSelect: typeof VlTreeSelectComponent;
|
|
136
|
+
const VlTypography: typeof VlTypographyComponent;
|
|
93
137
|
const VlUpload: typeof VlUploadComponent;
|
|
94
138
|
}
|