@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,219 @@
|
|
|
1
|
+
import { t as e } from "./effect-nifYL_rH.js";
|
|
2
|
+
import { t } from "./Transition-CJDv6yI5.js";
|
|
3
|
+
import { a as n, c as r, d as i, g as a, i as o, l as s, n as c, p as l, r as u, s as d, t as f } from "./layer-B9unaPbV.js";
|
|
4
|
+
import { createContext as p, useCallback as m, useContext as h, useEffect as g, useMemo as _, useRef as v, useState as y, useSyncExternalStore as b } from "react";
|
|
5
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
6
|
+
import { createPortal as w } from "react-dom";
|
|
7
|
+
//#region components/_shared/dialog-layer.tsx
|
|
8
|
+
var T = [], E = /* @__PURE__ */ new Set(), D = 0, O = p(null), k = p(null), A = (e) => (E.add(e), () => {
|
|
9
|
+
E.delete(e);
|
|
10
|
+
}), j = () => E.forEach((e) => e()), M = ({ tokenOffset: e, absolute: t }) => {
|
|
11
|
+
if (e === void 0) return {
|
|
12
|
+
base: t,
|
|
13
|
+
offset: 0
|
|
14
|
+
};
|
|
15
|
+
let r = {
|
|
16
|
+
base: o.modal,
|
|
17
|
+
offset: e,
|
|
18
|
+
rank: u[o.modal]
|
|
19
|
+
};
|
|
20
|
+
return t === void 0 ? r : {
|
|
21
|
+
base: `max(${n(r)}, ${t})`,
|
|
22
|
+
offset: 0
|
|
23
|
+
};
|
|
24
|
+
}, N = (e) => {
|
|
25
|
+
let t = e === void 0 ? { tokenOffset: 0 } : { absolute: e };
|
|
26
|
+
return {
|
|
27
|
+
order: 0,
|
|
28
|
+
open: !1,
|
|
29
|
+
reserved: !1,
|
|
30
|
+
phase: "closed",
|
|
31
|
+
zIndex: e,
|
|
32
|
+
level: t,
|
|
33
|
+
layer: M(t)
|
|
34
|
+
};
|
|
35
|
+
}, P = (e, t, n) => {
|
|
36
|
+
let r = n ? e.zIndex === void 0 ? t ? {} : { tokenOffset: 0 } : { absolute: e.zIndex } : { ...e.level };
|
|
37
|
+
t?.level.tokenOffset !== void 0 && (r.tokenOffset = Math.max(r.tokenOffset ?? -Infinity, t.level.tokenOffset + 2)), t?.level.absolute !== void 0 && (r.absolute = Math.max(r.absolute ?? -Infinity, t.level.absolute + 2)), (r.tokenOffset !== e.level.tokenOffset || r.absolute !== e.level.absolute) && (e.level = r, e.layer = M(r));
|
|
38
|
+
}, F = (e, t) => {
|
|
39
|
+
let n = T.indexOf(e);
|
|
40
|
+
n >= 0 && T.splice(n, 1);
|
|
41
|
+
let r = T.findIndex((t) => t.order > e.order), i = r < 0 ? T.length : r;
|
|
42
|
+
T.splice(i, 0, e), P(e, T[i - 1], t);
|
|
43
|
+
for (let e = i + 1; e < T.length; e += 1) P(T[e], T[e - 1], !1);
|
|
44
|
+
}, I = (e) => {
|
|
45
|
+
let t = N(e);
|
|
46
|
+
return t.order = ++D, t.reserved = !0, t.phase = "reserved", F(t, !0), j(), t;
|
|
47
|
+
}, L = (e) => {
|
|
48
|
+
let t = T.indexOf(e);
|
|
49
|
+
t < 0 || (T.splice(t, 1), e.phase = "closed", j());
|
|
50
|
+
}, R = (e) => {
|
|
51
|
+
let t = e.parent ? R(e.parent) : !1, { entry: n, zIndex: r } = e;
|
|
52
|
+
if (!e.active) return n.open ? (n.open = !1, n.phase = "leaving", !0) : t;
|
|
53
|
+
let i = !n.open && !n.reserved;
|
|
54
|
+
if (i && (n.order = ++D), i || n.phase !== "active" || n.zIndex !== r) {
|
|
55
|
+
let e = i || n.zIndex !== r;
|
|
56
|
+
n.zIndex = r, n.reserved = !1, n.open = !0, n.phase = "active", F(n, e), t = !0;
|
|
57
|
+
}
|
|
58
|
+
return t;
|
|
59
|
+
}, z = ({ active: t, zIndex: r }) => {
|
|
60
|
+
let i = h(O), a = h(k), [s] = y(() => a ?? N(r)), l = _(() => ({
|
|
61
|
+
entry: s,
|
|
62
|
+
active: t,
|
|
63
|
+
zIndex: r,
|
|
64
|
+
parent: i
|
|
65
|
+
}), [
|
|
66
|
+
s,
|
|
67
|
+
t,
|
|
68
|
+
r,
|
|
69
|
+
i
|
|
70
|
+
]), u = m(() => s.layer, [s]), d = b(A, u, u);
|
|
71
|
+
e(() => {
|
|
72
|
+
R(l) && j();
|
|
73
|
+
}, [l]), e(() => () => L(s), [s]);
|
|
74
|
+
let f = m(() => {
|
|
75
|
+
for (let e = T.length - 1; e >= 0; --e) if (T[e].phase === "active") return T[e] === s;
|
|
76
|
+
return !1;
|
|
77
|
+
}, [s]), p = m(() => {
|
|
78
|
+
s.open || L(s);
|
|
79
|
+
}, [s]), g = r === void 0 && d.base === o.modal && d.offset === 0;
|
|
80
|
+
return {
|
|
81
|
+
scope: l,
|
|
82
|
+
layer: d,
|
|
83
|
+
isTopLayer: f,
|
|
84
|
+
onAfterLeave: p,
|
|
85
|
+
zIndex: g ? void 0 : n(d),
|
|
86
|
+
maskZIndex: g ? void 0 : c(d, -1)
|
|
87
|
+
};
|
|
88
|
+
}, B = ({ value: e, children: t }) => /* @__PURE__ */ S(O.Provider, {
|
|
89
|
+
value: e.scope,
|
|
90
|
+
children: /* @__PURE__ */ S(k.Provider, {
|
|
91
|
+
value: null,
|
|
92
|
+
children: /* @__PURE__ */ S(d, {
|
|
93
|
+
scope: e.interactionScope ?? null,
|
|
94
|
+
children: /* @__PURE__ */ S(f, {
|
|
95
|
+
layer: e.layer,
|
|
96
|
+
children: t
|
|
97
|
+
})
|
|
98
|
+
})
|
|
99
|
+
})
|
|
100
|
+
}), V = 0, H = 0, U = "", W = "", G = "", K = () => {
|
|
101
|
+
if (V === 0) {
|
|
102
|
+
U = document.body.style.overflow, W = document.body.style.paddingRight;
|
|
103
|
+
let e = document.documentElement.clientWidth, t = e > 0 ? Math.max(0, window.innerWidth - e) : 0;
|
|
104
|
+
if (t > 0) {
|
|
105
|
+
let e = Number.parseFloat(window.getComputedStyle(document.body).paddingRight) || 0;
|
|
106
|
+
document.body.style.paddingRight = `${e + t}px`;
|
|
107
|
+
}
|
|
108
|
+
document.body.style.overflow = "hidden";
|
|
109
|
+
}
|
|
110
|
+
V += 1;
|
|
111
|
+
let e = !1;
|
|
112
|
+
return () => {
|
|
113
|
+
e || (e = !0, V = Math.max(0, V - 1), V === 0 && (document.body.style.overflow = U, document.body.style.paddingRight = W));
|
|
114
|
+
};
|
|
115
|
+
}, q = () => {
|
|
116
|
+
H === 0 && (G = document.body.style.userSelect, document.body.style.userSelect = "none"), H += 1;
|
|
117
|
+
let e = !1;
|
|
118
|
+
return () => {
|
|
119
|
+
e || (e = !0, H = Math.max(0, H - 1), H === 0 && (document.body.style.userSelect = G));
|
|
120
|
+
};
|
|
121
|
+
}, J = ({ active: t, zIndex: n, containerRef: o, closeOnPressEscape: c, lockScroll: u, onRequestClose: d }) => {
|
|
122
|
+
let f = z({
|
|
123
|
+
active: t,
|
|
124
|
+
zIndex: n
|
|
125
|
+
}), p = l({
|
|
126
|
+
active: t,
|
|
127
|
+
rootRef: o,
|
|
128
|
+
floatingRef: o,
|
|
129
|
+
kind: "dialog",
|
|
130
|
+
isTopDialog: f.isTopLayer
|
|
131
|
+
}), { isTopLayer: m } = f, h = v(null), _ = v(!1), y = v({
|
|
132
|
+
closeOnPressEscape: c,
|
|
133
|
+
onRequestClose: d
|
|
134
|
+
});
|
|
135
|
+
return e(() => {
|
|
136
|
+
y.current = {
|
|
137
|
+
closeOnPressEscape: c,
|
|
138
|
+
onRequestClose: d
|
|
139
|
+
};
|
|
140
|
+
}, [c, d]), g(() => {
|
|
141
|
+
if (t && u) return K();
|
|
142
|
+
}, [t, u]), g(() => {
|
|
143
|
+
if (!t) return;
|
|
144
|
+
_.current = !0, h.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
145
|
+
let e = () => {
|
|
146
|
+
let e = o.current;
|
|
147
|
+
!_.current || !m() || !e || i(p, document.activeElement) || a(e);
|
|
148
|
+
}, n = window.requestAnimationFrame(e), c = A(() => {
|
|
149
|
+
m() && (i(p, document.activeElement) || (window.cancelAnimationFrame(n), n = window.requestAnimationFrame(e)));
|
|
150
|
+
}), l = (e) => {
|
|
151
|
+
if (!m() || e.defaultPrevented) return;
|
|
152
|
+
if (e.key === "Escape" && y.current.closeOnPressEscape && s(p, e)) {
|
|
153
|
+
e.preventDefault(), y.current.onRequestClose();
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
if (e.key !== "Tab") return;
|
|
157
|
+
let t = o.current;
|
|
158
|
+
if (!t) return;
|
|
159
|
+
let n = r(p);
|
|
160
|
+
if (!n.length) {
|
|
161
|
+
e.preventDefault(), t.focus({ preventScroll: !0 });
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
let a = n[0], c = n.at(-1) ?? a, l = document.activeElement;
|
|
165
|
+
e.shiftKey && (l === a || !i(p, l)) ? (e.preventDefault(), c.focus()) : !e.shiftKey && (l === c || !i(p, l)) && (e.preventDefault(), a.focus());
|
|
166
|
+
}, u = (e) => {
|
|
167
|
+
if (!m()) return;
|
|
168
|
+
let t = o.current;
|
|
169
|
+
!t || i(p, e.target) || a(t);
|
|
170
|
+
};
|
|
171
|
+
return document.addEventListener("keydown", l), document.addEventListener("focusin", u), () => {
|
|
172
|
+
window.cancelAnimationFrame(n), document.removeEventListener("keydown", l), document.removeEventListener("focusin", u), c(), _.current = !1;
|
|
173
|
+
let e = h.current;
|
|
174
|
+
h.current = null, window.requestAnimationFrame(() => {
|
|
175
|
+
!_.current && e?.isConnected && e.focus({ preventScroll: !0 });
|
|
176
|
+
});
|
|
177
|
+
};
|
|
178
|
+
}, [
|
|
179
|
+
t,
|
|
180
|
+
o,
|
|
181
|
+
m,
|
|
182
|
+
p
|
|
183
|
+
]), {
|
|
184
|
+
...f,
|
|
185
|
+
interactionScope: p
|
|
186
|
+
};
|
|
187
|
+
}, Y = ({ clientReady: e, open: n, mask: r, destroyOnClose: i, maskUnmountOnExit: a = !1, maskTransitionName: o, transitionName: s, maskClassName: c, panelClassName: l, panelStyle: u, maskStyle: d, panelRef: f, role: p, ariaModal: m = !0, ariaLabel: h, ariaLabelledBy: g, ariaDescribedBy: _, onMaskClick: v, onPanelClick: y, onAfterLeave: b, panelProps: T, children: E }) => e ? w(/* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(t, {
|
|
188
|
+
show: n && r,
|
|
189
|
+
name: o,
|
|
190
|
+
unmountOnExit: a,
|
|
191
|
+
children: /* @__PURE__ */ S("div", {
|
|
192
|
+
className: c,
|
|
193
|
+
style: d,
|
|
194
|
+
"aria-hidden": "true",
|
|
195
|
+
onClick: v
|
|
196
|
+
})
|
|
197
|
+
}), /* @__PURE__ */ S(t, {
|
|
198
|
+
show: n,
|
|
199
|
+
name: s,
|
|
200
|
+
unmountOnExit: i,
|
|
201
|
+
onAfterLeave: b,
|
|
202
|
+
children: /* @__PURE__ */ S("div", {
|
|
203
|
+
ref: f,
|
|
204
|
+
className: l,
|
|
205
|
+
style: u,
|
|
206
|
+
role: p,
|
|
207
|
+
"aria-modal": m,
|
|
208
|
+
"aria-label": h,
|
|
209
|
+
"aria-labelledby": g,
|
|
210
|
+
"aria-describedby": _,
|
|
211
|
+
"aria-hidden": !n || void 0,
|
|
212
|
+
tabIndex: -1,
|
|
213
|
+
onClick: y,
|
|
214
|
+
...T,
|
|
215
|
+
children: E
|
|
216
|
+
})
|
|
217
|
+
})] }), document.body) : null;
|
|
218
|
+
//#endregion
|
|
219
|
+
export { k as a, B as i, q as n, L as o, J as r, I as s, Y as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./effect-BpNxm_06.cjs"),t=require("./Transition-BBMxZ5_8.cjs"),n=require("./layer-BcLkE2NM.cjs");let r=require("react"),i=require("react/jsx-runtime"),a=require("react-dom");var o=[],s=new Set,c=0,l=(0,r.createContext)(null),u=(0,r.createContext)(null),d=e=>(s.add(e),()=>{s.delete(e)}),f=()=>s.forEach(e=>e()),p=({tokenOffset:e,absolute:t})=>{if(e===void 0)return{base:t,offset:0};let r={base:n.i.modal,offset:e,rank:n.r[n.i.modal]};return t===void 0?r:{base:`max(${n.a(r)}, ${t})`,offset:0}},m=e=>{let t=e===void 0?{tokenOffset:0}:{absolute:e};return{order:0,open:!1,reserved:!1,phase:`closed`,zIndex:e,level:t,layer:p(t)}},h=(e,t,n)=>{let r=n?e.zIndex===void 0?t?{}:{tokenOffset:0}:{absolute:e.zIndex}:{...e.level};t?.level.tokenOffset!==void 0&&(r.tokenOffset=Math.max(r.tokenOffset??-1/0,t.level.tokenOffset+2)),t?.level.absolute!==void 0&&(r.absolute=Math.max(r.absolute??-1/0,t.level.absolute+2)),(r.tokenOffset!==e.level.tokenOffset||r.absolute!==e.level.absolute)&&(e.level=r,e.layer=p(r))},g=(e,t)=>{let n=o.indexOf(e);n>=0&&o.splice(n,1);let r=o.findIndex(t=>t.order>e.order),i=r<0?o.length:r;o.splice(i,0,e),h(e,o[i-1],t);for(let e=i+1;e<o.length;e+=1)h(o[e],o[e-1],!1)},_=e=>{let t=m(e);return t.order=++c,t.reserved=!0,t.phase=`reserved`,g(t,!0),f(),t},v=e=>{let t=o.indexOf(e);t<0||(o.splice(t,1),e.phase=`closed`,f())},y=e=>{let t=e.parent?y(e.parent):!1,{entry:n,zIndex:r}=e;if(!e.active)return n.open?(n.open=!1,n.phase=`leaving`,!0):t;let i=!n.open&&!n.reserved;if(i&&(n.order=++c),i||n.phase!==`active`||n.zIndex!==r){let e=i||n.zIndex!==r;n.zIndex=r,n.reserved=!1,n.open=!0,n.phase=`active`,g(n,e),t=!0}return t},b=({active:t,zIndex:i})=>{let a=(0,r.useContext)(l),s=(0,r.useContext)(u),[c]=(0,r.useState)(()=>s??m(i)),p=(0,r.useMemo)(()=>({entry:c,active:t,zIndex:i,parent:a}),[c,t,i,a]),h=(0,r.useCallback)(()=>c.layer,[c]),g=(0,r.useSyncExternalStore)(d,h,h);e.t(()=>{y(p)&&f()},[p]),e.t(()=>()=>v(c),[c]);let _=(0,r.useCallback)(()=>{for(let e=o.length-1;e>=0;--e)if(o[e].phase===`active`)return o[e]===c;return!1},[c]),b=(0,r.useCallback)(()=>{c.open||v(c)},[c]),x=i===void 0&&g.base===n.i.modal&&g.offset===0;return{scope:p,layer:g,isTopLayer:_,onAfterLeave:b,zIndex:x?void 0:n.a(g),maskZIndex:x?void 0:n.n(g,-1)}},x=({value:e,children:t})=>(0,i.jsx)(l.Provider,{value:e.scope,children:(0,i.jsx)(u.Provider,{value:null,children:(0,i.jsx)(n.s,{scope:e.interactionScope??null,children:(0,i.jsx)(n.t,{layer:e.layer,children:t})})})}),S=0,C=0,w=``,T=``,E=``,D=()=>{if(S===0){w=document.body.style.overflow,T=document.body.style.paddingRight;let e=document.documentElement.clientWidth,t=e>0?Math.max(0,window.innerWidth-e):0;if(t>0){let e=Number.parseFloat(window.getComputedStyle(document.body).paddingRight)||0;document.body.style.paddingRight=`${e+t}px`}document.body.style.overflow=`hidden`}S+=1;let e=!1;return()=>{e||(e=!0,S=Math.max(0,S-1),S===0&&(document.body.style.overflow=w,document.body.style.paddingRight=T))}},O=()=>{C===0&&(E=document.body.style.userSelect,document.body.style.userSelect=`none`),C+=1;let e=!1;return()=>{e||(e=!0,C=Math.max(0,C-1),C===0&&(document.body.style.userSelect=E))}},k=({active:t,zIndex:i,containerRef:a,closeOnPressEscape:o,lockScroll:s,onRequestClose:c})=>{let l=b({active:t,zIndex:i}),u=n.p({active:t,rootRef:a,floatingRef:a,kind:`dialog`,isTopDialog:l.isTopLayer}),{isTopLayer:f}=l,p=(0,r.useRef)(null),m=(0,r.useRef)(!1),h=(0,r.useRef)({closeOnPressEscape:o,onRequestClose:c});return e.t(()=>{h.current={closeOnPressEscape:o,onRequestClose:c}},[o,c]),(0,r.useEffect)(()=>{if(t&&s)return D()},[t,s]),(0,r.useEffect)(()=>{if(!t)return;m.current=!0,p.current=document.activeElement instanceof HTMLElement?document.activeElement:null;let e=()=>{let e=a.current;!m.current||!f()||!e||n.d(u,document.activeElement)||n.g(e)},r=window.requestAnimationFrame(e),i=d(()=>{f()&&(n.d(u,document.activeElement)||(window.cancelAnimationFrame(r),r=window.requestAnimationFrame(e)))}),o=e=>{if(!f()||e.defaultPrevented)return;if(e.key===`Escape`&&h.current.closeOnPressEscape&&n.l(u,e)){e.preventDefault(),h.current.onRequestClose();return}if(e.key!==`Tab`)return;let t=a.current;if(!t)return;let r=n.c(u);if(!r.length){e.preventDefault(),t.focus({preventScroll:!0});return}let i=r[0],o=r.at(-1)??i,s=document.activeElement;e.shiftKey&&(s===i||!n.d(u,s))?(e.preventDefault(),o.focus()):!e.shiftKey&&(s===o||!n.d(u,s))&&(e.preventDefault(),i.focus())},s=e=>{if(!f())return;let t=a.current;!t||n.d(u,e.target)||n.g(t)};return document.addEventListener(`keydown`,o),document.addEventListener(`focusin`,s),()=>{window.cancelAnimationFrame(r),document.removeEventListener(`keydown`,o),document.removeEventListener(`focusin`,s),i(),m.current=!1;let e=p.current;p.current=null,window.requestAnimationFrame(()=>{!m.current&&e?.isConnected&&e.focus({preventScroll:!0})})}},[t,a,f,u]),{...l,interactionScope:u}},A=({clientReady:e,open:n,mask:r,destroyOnClose:o,maskUnmountOnExit:s=!1,maskTransitionName:c,transitionName:l,maskClassName:u,panelClassName:d,panelStyle:f,maskStyle:p,panelRef:m,role:h,ariaModal:g=!0,ariaLabel:_,ariaLabelledBy:v,ariaDescribedBy:y,onMaskClick:b,onPanelClick:x,onAfterLeave:S,panelProps:C,children:w})=>e?(0,a.createPortal)((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.t,{show:n&&r,name:c,unmountOnExit:s,children:(0,i.jsx)(`div`,{className:u,style:p,"aria-hidden":`true`,onClick:b})}),(0,i.jsx)(t.t,{show:n,name:l,unmountOnExit:o,onAfterLeave:S,children:(0,i.jsx)(`div`,{ref:m,className:d,style:f,role:h,"aria-modal":g,"aria-label":_,"aria-labelledby":v,"aria-describedby":y,"aria-hidden":!n||void 0,tabIndex:-1,onClick:x,...C,children:w})})]}),document.body):null;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return A}});
|
package/dist/es/Badge.mjs
CHANGED
package/dist/es/Cron.mjs
CHANGED
package/dist/es/DatePicker.mjs
CHANGED
package/dist/es/Drawer.mjs
CHANGED
package/dist/es/Dropdown.mjs
CHANGED
package/dist/es/Form.mjs
CHANGED
package/dist/es/Input.mjs
CHANGED
package/dist/es/List.mjs
ADDED
package/dist/es/Loading.mjs
CHANGED
package/dist/es/Menu.mjs
ADDED
package/dist/es/MessageBox.mjs
CHANGED
package/dist/es/Modal.mjs
CHANGED
package/dist/es/Notification.mjs
CHANGED
package/dist/es/Pagination.mjs
CHANGED
package/dist/es/Select.mjs
CHANGED
package/dist/es/Table.mjs
CHANGED
package/dist/es/TimePicker.mjs
CHANGED
package/dist/es/Tooltip.mjs
CHANGED
package/dist/es/Transition.mjs
CHANGED
package/dist/es/Tree.mjs
ADDED
package/dist/es/Upload.mjs
CHANGED
package/dist/es/global.mjs
CHANGED
package/dist/es/index.mjs
CHANGED
|
@@ -2,43 +2,65 @@
|
|
|
2
2
|
import { n as e } from "../Alert-BGyLKuv0.js";
|
|
3
3
|
import { n as t } from "../Anchor-CAZPkv56.js";
|
|
4
4
|
import { n } from "../Announcement-CznCpx2T.js";
|
|
5
|
-
import { n as r } from "../Transition-
|
|
6
|
-
import { n as i } from "../
|
|
7
|
-
import {
|
|
8
|
-
import { n as s } from "../
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as u } from "../
|
|
11
|
-
import { n as d } from "../
|
|
12
|
-
import { n as
|
|
13
|
-
import {
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import { n as
|
|
17
|
-
import { n as
|
|
18
|
-
import { n as
|
|
19
|
-
import { n as
|
|
20
|
-
import { n as
|
|
21
|
-
import { n as
|
|
22
|
-
import { n as
|
|
23
|
-
import { n as
|
|
24
|
-
import { n as
|
|
25
|
-
import { n as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import { n as
|
|
29
|
-
import { n as
|
|
30
|
-
import { n as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { n as
|
|
34
|
-
import {
|
|
35
|
-
import { n as
|
|
36
|
-
import { n as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import { n as
|
|
42
|
-
import { n as
|
|
43
|
-
import { n as
|
|
44
|
-
|
|
5
|
+
import { n as r } from "../Transition-CJDv6yI5.js";
|
|
6
|
+
import { n as i } from "../Input-CoS-XMv1.js";
|
|
7
|
+
import { t as a } from "../AutoComplete-D8yHFMHQ.js";
|
|
8
|
+
import { i as o, n as s, r as c } from "../Avatar-DiZ9p6tu.js";
|
|
9
|
+
import { n as l } from "../Badge-CchY6uXz.js";
|
|
10
|
+
import { n as u } from "../Breadcrumb-BmZKaAQx.js";
|
|
11
|
+
import { n as d, r as f } from "../Button-CwkWSWau.js";
|
|
12
|
+
import { n as p } from "../Card-DCLfLn1x.js";
|
|
13
|
+
import { t as m } from "../Cascader-bozg6Ebp.js";
|
|
14
|
+
import { n as h, r as g } from "../Checkbox-bHOjYdMp.js";
|
|
15
|
+
import { n as _ } from "../Col-BZdKuXbj.js";
|
|
16
|
+
import { n as v } from "../Collapse-DszkYUfD.js";
|
|
17
|
+
import { n as y } from "../Tabs-HWLkyrQR.js";
|
|
18
|
+
import { n as b } from "../NumberInput-CB-nKZgs.js";
|
|
19
|
+
import { n as x } from "../Cron-BWqWgWuv.js";
|
|
20
|
+
import { n as S } from "../Dropdown-FrlX_2wd.js";
|
|
21
|
+
import { n as C } from "../DatePicker-DBjtTP2Q.js";
|
|
22
|
+
import { n as w } from "../DateTimePicker-IpyJLY4J.js";
|
|
23
|
+
import { n as T } from "../Descriptions-EL2QcZ1K.js";
|
|
24
|
+
import { n as E } from "../Divider-BXNZyvHY.js";
|
|
25
|
+
import { n as D } from "../Drawer--aEf7OiI.js";
|
|
26
|
+
import { n as O } from "../Empty-MmxZitR8.js";
|
|
27
|
+
import { n as k, t as A } from "../Form-CGJDPj0N.js";
|
|
28
|
+
import { n as j } from "../Tooltip-CWQDc8Nf.js";
|
|
29
|
+
import { n as M } from "../Scrollbar-BdMGZrYi.js";
|
|
30
|
+
import { n as N } from "../Modal-BTMB0xbR.js";
|
|
31
|
+
import { n as P, t as F } from "../Image-DJb-tcA-.js";
|
|
32
|
+
import { a as I, i as L, n as R, r as z, t as B } from "../Layout-l-rfDdFR.js";
|
|
33
|
+
import { n as V } from "../Skeleton-C80MPzfN.js";
|
|
34
|
+
import { t as H } from "../List-BupBfl-B.js";
|
|
35
|
+
import { n as U } from "../Loading-C9LBGbnd.js";
|
|
36
|
+
import { n as W } from "../Popover-Cb8BrtQC.js";
|
|
37
|
+
import { t as G } from "../Menu-t8GRH6oh.js";
|
|
38
|
+
import { t as K } from "../Message-Bo-hPakI.js";
|
|
39
|
+
import { t as q } from "../MessageBox-CaTZOiZC.js";
|
|
40
|
+
import { t as J } from "../Notification-C1lOX5Hn.js";
|
|
41
|
+
import { n as Y } from "../Select-CpoP5kRp.js";
|
|
42
|
+
import { n as X } from "../Pagination-fbC5EEq-.js";
|
|
43
|
+
import { n as Z } from "../Popconfirm-D2zgbhKF.js";
|
|
44
|
+
import { n as Q } from "../Progress-D2C6LCml.js";
|
|
45
|
+
import { VlRadio as $, VlRadioGroup as ee } from "./Radio.mjs";
|
|
46
|
+
import { t as te } from "../Result-CcnBHoE5.js";
|
|
47
|
+
import { VlRow as ne } from "./Row.mjs";
|
|
48
|
+
import { t as re } from "../Segmented-OykaARP4.js";
|
|
49
|
+
import { n as ie } from "../Sidebar-ByLinOVm.js";
|
|
50
|
+
import { n as ae } from "../Slider-CKU03SsT.js";
|
|
51
|
+
import { n as oe } from "../Space-gnVH7rEt.js";
|
|
52
|
+
import { t as se } from "../Statistic-DVduwOGW.js";
|
|
53
|
+
import { t as ce } from "../Steps-Cnswg-bb.js";
|
|
54
|
+
import { n as le } from "../Switch-CqTFvp-k.js";
|
|
55
|
+
import { n as ue } from "../Table-DMqVnyDN.js";
|
|
56
|
+
import { n as de } from "../Tag-TeYTDdHt.js";
|
|
57
|
+
import { n as fe } from "../Textarea-CA6Vzu7t.js";
|
|
58
|
+
import { n as pe } from "../Timeline-euWvUS4e.js";
|
|
59
|
+
import { n as me } from "../TimePicker-BydMgSVN.js";
|
|
60
|
+
import { t as he } from "../Transfer-BRjVUdyi.js";
|
|
61
|
+
import { t as ge } from "../Tree-BsG6l54c.js";
|
|
62
|
+
import { t as _e } from "../TreeSelect-DWmDo7pg.js";
|
|
63
|
+
import { a as ve, i as ye, n as be, r as xe, t as Se } from "../Typography-C9Ef3jN5.js";
|
|
64
|
+
import { n as Ce } from "../Upload-aLdxGpWh.js";
|
|
65
|
+
import { n as we, t as Te } from "../registry-BFCksD7k.js";
|
|
66
|
+
export { o as AvatarGroup, e as VlAlert, t as VlAnchor, n as VlAnnouncement, a as VlAutoComplete, s as VlAvatar, c as VlAvatarGroup, l as VlBadge, u as VlBreadcrumb, d as VlButton, f as VlButtonGroup, p as VlCard, m as VlCascader, h as VlCheckbox, g as VlCheckboxGroup, _ as VlCol, v as VlCollapse, x as VlCron, C as VlDatePicker, w as VlDateTimePicker, T as VlDescriptions, E as VlDivider, D as VlDrawer, S as VlDropdown, O as VlEmpty, A as VlForm, k as VlFormItem, F as VlImage, P as VlImagePreview, i as VlInput, B as VlLayout, R as VlLayoutContent, z as VlLayoutFooter, L as VlLayoutHeader, I as VlLayoutSider, H as VlList, U as VlLoading, G as VlMenu, K as VlMessage, q as VlMessageBox, N as VlModal, J as VlNotification, b as VlNumberInput, X as VlPagination, Z as VlPopconfirm, W as VlPopover, Q as VlProgress, $ as VlRadio, ee as VlRadioGroup, te as VlResult, ne as VlRow, M as VlScrollbar, re as VlSegmented, Y as VlSelect, ie as VlSidebar, V as VlSkeleton, ae as VlSlider, oe as VlSpace, se as VlStatistic, ce as VlSteps, le as VlSwitch, ue as VlTable, y as VlTabs, de as VlTag, fe as VlTextarea, me as VlTimePicker, pe as VlTimeline, j as VlTooltip, he as VlTransfer, r as VlTransition, ge as VlTree, _e as VlTreeSelect, Se as VlTypography, be as VlTypographyLink, xe as VlTypographyParagraph, ye as VlTypographyText, ve as VlTypographyTitle, Ce as VlUpload, Te as globalComponents, we as registerGlobalComponents };
|
package/dist/es/register.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./effect-BpNxm_06.cjs"),t=require("./number-B7qJF_ZY.cjs"),n=require("./layer-BcLkE2NM.cjs");let r=require("react");var i=(e={},t={})=>{let n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>Object.is(e[n],t[n]))},a=e=>{let[t,n]=(0,r.useState)({placement:e,style:{}}),a=(0,r.useRef)(t);return[t,(0,r.useCallback)(e=>{let t=a.current;t.placement===e.placement&&i(t.style,e.style)&&i(t.arrowStyle,e.arrowStyle)||(a.current=e,n(e))},[])]},o=({active:t,rootRef:i,floatingRef:a,closeOnOutsideClick:o=!0,ignoreEscapeInsideFloating:s=!1,isOwnedPopup:c,onOutsideClick:l,onEscape:u,onViewportChange:d})=>{let f=n.p({active:t,rootRef:i,floatingRef:a}),p=(0,r.useRef)({rootRef:i,floatingRef:a,closeOnOutsideClick:o,ignoreEscapeInsideFloating:s,isOwnedPopup:c,onOutsideClick:l,onEscape:u,onViewportChange:d});e.t(()=>{p.current={rootRef:i,floatingRef:a,closeOnOutsideClick:o,ignoreEscapeInsideFloating:s,isOwnedPopup:c,onOutsideClick:l,onEscape:u,onViewportChange:d}});let m=!!u,h=!!d;return(0,r.useEffect)(()=>{if(!f.active)return;let e=null,t=e=>{let{closeOnOutsideClick:t,rootRef:r,floatingRef:i,isOwnedPopup:a,onOutsideClick:o}=p.current;if(!t)return;let s=e.composedPath(),c=r.current,l=i.current;!c||s.includes(c)||l&&s.includes(l)||a?.(s)||s.some(e=>e instanceof Node&&n.d(f,e))||o?.()},r=e=>{let{ignoreEscapeInsideFloating:t,floatingRef:r,onEscape:i}=p.current;e.key!==`Escape`||!i||e.defaultPrevented||!n.l(f,e)||t&&r.current?.contains(e.target)||(e.preventDefault(),i())},i=()=>{p.current.onViewportChange&&e===null&&(e=(typeof window<`u`&&typeof window.requestAnimationFrame==`function`?window.requestAnimationFrame:e=>setTimeout(e,16))(()=>{e=null,p.current.onViewportChange?.()}))};return document.addEventListener(`pointerdown`,t,!0),m&&document.addEventListener(`keydown`,r),h&&(window.addEventListener(`resize`,i,{passive:!0}),window.addEventListener(`scroll`,i,{passive:!0,capture:!0})),()=>{e!==null&&(typeof window<`u`&&typeof window.cancelAnimationFrame==`function`?window.cancelAnimationFrame(e):clearTimeout(e),e=null),document.removeEventListener(`pointerdown`,t,!0),m&&document.removeEventListener(`keydown`,r),h&&(window.removeEventListener(`resize`,i),window.removeEventListener(`scroll`,i,!0))}},[t,m,h,f]),f},s=e=>({"bottom-start":[`bottom-start`,`bottom-end`,`top-start`,`top-end`],"bottom-end":[`bottom-end`,`bottom-start`,`top-end`,`top-start`],"top-start":[`top-start`,`top-end`,`bottom-start`,`bottom-end`],"top-end":[`top-end`,`top-start`,`bottom-end`,`bottom-start`]})[e],c=({anchorRect:e,floatingRect:n,placement:r,offset:i,edgePadding:a=8,getCandidates:o=l,fallbackFits:s})=>{let c=t=>{let r=t.split(`-`)[0],a=!t.endsWith(`-start`)&&!t.endsWith(`-end`),o=t.endsWith(`-end`);if(r===`top`||r===`bottom`)return{x:a?e.left+(e.width-n.width)/2:o?e.right-n.width:e.left,y:r===`top`?e.top-i-n.height:e.bottom+i};let s=a?e.top+(e.height-n.height)/2:o?e.bottom-n.height:e.top;return{x:r===`left`?e.left-i-n.width:e.right+i,y:s}},u=({x:e,y:t})=>e>=a&&e+n.width<=window.innerWidth-a&&t>=a&&t+n.height<=window.innerHeight-a,d=o(r),f=d.find(e=>u(c(e)))??(s?d.find(e=>s(c(e))):void 0)??r,p=c(f),m=Math.max(a,window.innerWidth-n.width-a),h=Math.max(a,window.innerHeight-n.height-a);return{placement:f,x:t.t(p.x,a,m),y:t.t(p.y,a,h)}},l=e=>({top:[`top`,`bottom`,`left`,`right`],"top-start":[`top-start`,`bottom-start`,`top-end`,`bottom-end`],"top-end":[`top-end`,`bottom-end`,`top-start`,`bottom-start`],bottom:[`bottom`,`top`,`left`,`right`],"bottom-start":[`bottom-start`,`top-start`,`bottom-end`,`top-end`],"bottom-end":[`bottom-end`,`top-end`,`bottom-start`,`top-start`],left:[`left`,`right`,`top`,`bottom`],"left-start":[`left-start`,`right-start`,`left-end`,`right-end`],"left-end":[`left-end`,`right-end`,`left-start`,`right-start`],right:[`right`,`left`,`top`,`bottom`],"right-start":[`right-start`,`left-start`,`right-end`,`left-end`],"right-end":[`right-end`,`left-end`,`right-start`,`left-start`]})[e],u=e=>{let{edgePadding:t=8,...n}=e;return c({...n,edgePadding:t,getCandidates:s,fallbackFits:({y:n})=>n>=t&&n+e.floatingRect.height<=window.innerHeight-t})};Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
|