antd-solid 0.0.32 → 0.0.34
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/dist/index.esm.js +9 -1
- package/dist/index.umd.js +1 -1
- package/es/hooks/useEllipsisLoading.d.ts +1 -0
- package/es/hooks/useEllipsisLoading.js +11 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -8419,6 +8419,14 @@ function useMouse() {
|
|
|
8419
8419
|
return mouse;
|
|
8420
8420
|
}
|
|
8421
8421
|
|
|
8422
|
+
function useEllipsisLoading(time = 500) {
|
|
8423
|
+
const [ellipsis, setEllipsis] = createSignal('');
|
|
8424
|
+
setInterval(() => {
|
|
8425
|
+
setEllipsis(prev => prev.length >= 3 ? '.' : prev + '.');
|
|
8426
|
+
}, time);
|
|
8427
|
+
return ellipsis;
|
|
8428
|
+
}
|
|
8429
|
+
|
|
8422
8430
|
const locale = {
|
|
8423
8431
|
locale: 'en',
|
|
8424
8432
|
Modal: {
|
|
@@ -8442,4 +8450,4 @@ const locale = {
|
|
|
8442
8450
|
}
|
|
8443
8451
|
};
|
|
8444
8452
|
|
|
8445
|
-
export { Alert, Button$1 as Button, Checkbox, CodeInput, Collapse, ColorPicker, Command, Compact, CompactContextIsolator, ConfigProvider, index as ContextMenu, Cursor, DatePicker, DelayShow, Divider, Drawer, Dropdown, Element$1 as Element, Empty, Form, Fragment, Image, Input, InputNumber, Menu, Modal, Popconfirm, Popover, Progress, Radio, RangeInput, Result, Segmented, Select, SelectInput, Slider, Space, Spin, Switch, Table, Tabs, Timeline, Tooltip, Transformer, Tree, TreeFor, TreeSelect, Upload, createControllableValue, locale as enUS, message, setupGlobalDrag, useClickAway, useCounter, useFocus, useHover, useMouse, useScroll, useSize, useVirtualList, locale$1 as zhCN };
|
|
8453
|
+
export { Alert, Button$1 as Button, Checkbox, CodeInput, Collapse, ColorPicker, Command, Compact, CompactContextIsolator, ConfigProvider, index as ContextMenu, Cursor, DatePicker, DelayShow, Divider, Drawer, Dropdown, Element$1 as Element, Empty, Form, Fragment, Image, Input, InputNumber, Menu, Modal, Popconfirm, Popover, Progress, Radio, RangeInput, Result, Segmented, Select, SelectInput, Slider, Space, Spin, Switch, Table, Tabs, Timeline, Tooltip, Transformer, Tree, TreeFor, TreeSelect, Upload, createControllableValue, locale as enUS, message, setupGlobalDrag, useClickAway, useCounter, useEllipsisLoading, useFocus, useHover, useMouse, useScroll, useSize, useVirtualList, locale$1 as zhCN };
|