@astryx-vue/core 0.42.4 → 0.42.6
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/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-sk5DEUX7.js → AlertDialog-CQxV1x0M.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BQz-P6TD.js → Avatar-Dl2oiG7t.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-BbPS_49c.js → Badge-D3ZreOKp.js} +12 -7
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CW4g5z40.js → Banner-u7GJQV3O.js} +33 -16
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CzEe4fKS.js → Breadcrumbs-B6UW2BdV.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-CTVXQgV3.js → Button-D8vn_DnZ.js} +41 -10
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CknFA9IA.js → ButtonGroup-Bt7UZF_U.js} +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-B0ZOSlPH.js → Carousel-BE-PqpOJ.js} +48 -14
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DqwHn6hi.js → Chat-D_CxKvTw.js} +4 -4
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-ChbqO3Hp.js → CheckboxInput-CiSb9VDk.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-3y4ehVhz.js → CheckboxListItem-BwGzAz8V.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-BbjuJYk5.js → Code-Cnk4QmuK.js} +1 -1
- package/dist/{CodeBlock-BpjzHtSR.js → CodeBlock-PuLo1vOn.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CIpvefL3.js → CommandPalette-DX9qEl8X.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CipXIUa4.js → ComplexSelector-DtewMXzB.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-F315dVbZ.js → ContextMenu-Bs77yiLi.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D0TJlbEE.js → DateInput-BQ_q7nbT.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-CcNQTdtg.js → DateRangeInput-lun9lX7q.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BjtzVqV5.js → DateTimeInput-Dm8lyQlG.js} +5 -5
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-rLh39zHH.js → DialogHeader-BpQQMQcb.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-Dw1wyfvQ.js → Drawer-C82o6bdA.js} +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-B6lOBGrw.js → DropdownMenu-BiYgf2YY.js} +4 -4
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DOMOEsvj.js → EmptyState-B57OV1V_.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DJGFZuwh.js → Field-jM0Ithrd.js} +1 -1
- package/dist/{FieldInfoTip-l_ke1Zlh.js → FieldInfoTip-BrxcbuTn.js} +1 -1
- package/dist/{FieldLabel-BZiHqHsQ.js → FieldLabel-BmjvZVOQ.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BOT35CQc.js → FileInput-Bb6LdXY1.js} +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-CsSZgiqn.js → Heading-Cymy5utP.js} +3 -3
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-89mASa8g.js → IconButton-BdXfxjCD.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-B_7kJX7x.js → InfoTip-BCOxwsJ4.js} +1 -1
- package/dist/{InputClearButton-BC1ytQT5.js → InputClearButton-Dp87bq1c.js} +3 -2
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-M3mSe3lV.js → InputGroup-CsEB0Ufk.js} +2 -2
- package/dist/{Item-DznHXYbG.js → Item-DOATMVXE.js} +4 -4
- package/dist/Kbd/index.js +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-TatgdqWu.js → Lightbox-DpZLzzTZ.js} +7 -7
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-5KuMIFYl.js → Link-CRNgZw--.js} +14 -4
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +4 -4
- package/dist/{List-BVpWTW6J.js → List-CsumsvTg.js} +2 -2
- package/dist/{ListItem-BzOD8HbS.js → ListItem-DHpWkhT9.js} +2 -2
- package/dist/{LongPressGestureRecognizer-C1JQQdg-.js → LongPressGestureRecognizer-V_iVvLNU.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-B1gt3Uq4.js → Markdown-DwCAq1ds.js} +4 -4
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CsPdGjuE.js → MoreMenu-BJqN4qQ6.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BBetuRV7.js → MultiSelector-s09q_Lot.js} +4 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-BuQf0mvj.js → NumberInput-DIgfEtYW.js} +4 -4
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-9ZlklMvN.js → Pagination-CvPQ6Xvk.js} +2 -2
- package/dist/{PanGestureRecognizer-_yCWSqMD.js → PanGestureRecognizer-Crc0PhW0.js} +1 -1
- package/dist/{PickerWheel-DJqK1f2w.js → PickerWheel-WEFgBW8I.js} +4 -4
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BXB3DaAJ.js → Popover-VGJEMOBl.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BHs855Bg.js → PowerSearch-B8VKqYSb.js} +23 -23
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Otv4DLQP.js → ProgressBar-IRNmWLg-.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BYZ9mspa.js → RadioGroup-DoI7wu5m.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-BjiT8DAp.js → RadioListItem-Bb0ggwoG.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DgZ2y1ff.js → SegmentedControl-DjruBeFm.js} +2 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DERRZ5Hh.js → Selector-BV2L5xMI.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-D-ubf-w7.js → SideNav-BYWNIIXT.js} +3 -3
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BrZeUJJF.js → Slider-pnFJ6MfZ.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-lLOYfbOY.js → Spinner-D6U81W87.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Ce31aeru.js → StatusDot-CdtauWfk.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-MeieW4dP.js → Switch-BJ9skC9r.js} +2 -2
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DCUCpmv8.js → Table-Dsf4UU08.js} +170 -31
- package/dist/{TapGestureRecognizer-CH88amVE.js → TapGestureRecognizer-Cv0y3c02.js} +2 -2
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BLPg6wdX.js → Text-9twwURuI.js} +3 -3
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-DilGjhXe.js → TextArea-C66zML5G.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Dd0BHZ5n.js → TextInput-BGsRns-X.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CdAR7gMc.js → Thumbnail-iJILNRPc.js} +3 -3
- package/dist/{TimeField-6UCe0-g2.js → TimeField-a83r3-AM.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-qDkdX2tw.js → TimeInput-BiYKuVMQ.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-i3ujG9pH.js → Timer-DBujcX_B.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-Di_Ge164.js → Timestamp-Dv6_wb89.js} +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BHbQcMjq.js → Toast-DQMcX2nf.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-D5OyWtXD.js → ToggleButton-fvo3Mxmb.js} +2 -2
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BYl3tF1p.js → Token-B_jnJ700.js} +61 -13
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DiekBXC-.js → Tokenizer-f1byujPP.js} +10 -10
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CFQrHG0a.js → Tooltip-W32cHQH0.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Db0dqCd9.js → TreeList-CGW9V6x-.js} +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-oPhwt4z4.js → Typeahead-KXBQ4jXf.js} +5 -5
- package/dist/{accessibleName-BVk1Rzrl.js → accessibleName-Dpzu2nL1.js} +1 -1
- package/dist/{announceRenderedText-CslZ0cev.js → announceRenderedText-pHs_kfQB.js} +3 -2
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +4 -4
- package/dist/{composables-DeNxbB0w.js → composables-cdO2fBF6.js} +7 -18
- package/dist/{context-Cgkyk-b7.js → context-Ds4l8NtJ.js} +6 -1
- package/dist/devWarnings-DI1R0rGp.js +14 -0
- package/dist/{index-DprdUHnl.d.ts → index-B7vE2Dx8.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-0RIgvtdm.d.ts → index-BI1QLuYB.d.ts} +1 -1
- package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-CEdoNcHF.d.ts → index-BfOs5BQj.d.ts} +2 -2
- package/dist/{index-Dk50Zh3F.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-Bwh8O-v8.d.ts → index-CC9ETLL4.d.ts} +2 -2
- package/dist/{index--kbwaSXW.d.ts → index-CI-FbXLB.d.ts} +1 -1
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/{index-C_U7qGF2.d.ts → index-CuBP0rmj.d.ts} +5 -5
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-DAz4l6Jw.d.ts → index-DD3c1ZhS.d.ts} +1 -1
- package/dist/{index-BXPadfuA.d.ts → index-DFlzXsvO.d.ts} +6 -6
- package/dist/{index-B44fLswd.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-J83fLEyo.d.ts → index-DgNCHxvu.d.ts} +2 -2
- package/dist/{index-CCa_dvoF.d.ts → index-Ds4dOCSy.d.ts} +3 -3
- package/dist/{index-P25rFY2l.d.ts → index-Upg2KRlh.d.ts} +68 -68
- package/dist/{index-CLbslOVk.d.ts → index-cxXrnuj3.d.ts} +1 -1
- package/dist/index.d.ts +22 -22
- package/dist/index.js +77 -77
- package/dist/internal/touch.js +6 -6
- package/dist/{itemSlots-CIQbrKkZ.js → itemSlots-D9aPTELK.js} +2 -2
- package/dist/rootFocusHandoff-CORyJeRP.js +25 -0
- package/dist/{snapPagingCatcher-DUb8YU3G.js → snapPagingCatcher-CQ34r-x-.js} +1 -1
- package/dist/textDirection-DJl_tYja.js +60 -0
- package/dist/{useFingerScroll-DO4LVzDf.js → useFingerScroll-CC19P9JS.js} +1 -1
- package/dist/{useGestureRecognizer-CozA1twZ.js → useGestureRecognizer-D5kNuQzG.js} +1 -1
- package/dist/{useInputStatusIcon-CNYJtEbA.js → useInputStatusIcon-BW70yd3c.js} +1 -1
- package/dist/{useResizable-CKDaU_se.d.ts → useResizable-CJFVvx_2.d.ts} +4 -0
- package/dist/{useTooltip-CdD6ivAv.js → useTooltip-D5kJD9ed.js} +1 -1
- package/dist/{useTruncationTooltip-C37kvtXu.js → useTruncationTooltip-Cx4R7Fyp.js} +12 -5
- package/dist/{useTypeaheadMenuConfig-DHX88vqs.js → useTypeaheadMenuConfig-TSkUldd9.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/styles/button.css +7 -2
- package/styles/carousel.css +15 -0
- package/styles/citation.css +7 -2
- package/styles/cut-text.css +13 -0
- package/styles/table.css +31 -8
- package/styles/token.css +30 -0
- package/styles.css +1 -0
- package/dist/textDirection-D4ObTwbB.js +0 -32
- package/dist/{GestureHost-CRgadcBb.js → GestureHost-DXlDxyns.js} +1 -1
- package/dist/{Kbd-CbD993ig.js → Kbd-CwtGTUmB.js} +1 -1
- package/dist/{index-CuFLztiI.d.ts → index-BCqQijN1.d.ts} +0 -0
- package/dist/{index-BqhgeAT4.d.ts → index-DrIxH3YE.d.ts} +2 -2
- package/dist/{useResizable-mkUwYfmy.js → useResizable-Diq3vRVH.js} +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-
|
|
1
|
+
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-CC9ETLL4.js";
|
|
2
2
|
export { type ResizeDirection, _default as ResizeHandle, type ResizeHandleProps, type ResizeHandleSlots, type ResizePillPlacement, type ResizePosition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as ScrollableAreaSlots, Nr as _default, Pr as ScrollableAreaProps } from "../index-
|
|
1
|
+
import { Fr as ScrollableAreaSlots, Nr as _default, Pr as ScrollableAreaProps } from "../index-Upg2KRlh.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../SegmentedControl-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../SegmentedControl-DjruBeFm.js";
|
|
2
2
|
export { _sfc_main as SegmentedControl, _sfc_main$1 as SegmentedControlItem };
|
|
@@ -11,8 +11,8 @@ import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
|
11
11
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
12
12
|
import { n as createMotionEngine } from "./animator-D6Buqmbt.js";
|
|
13
13
|
import { d as springs, u as registerSpringsTable } from "./springs-BqW2WrS-.js";
|
|
14
|
-
import { t as getGestureHost } from "./GestureHost-
|
|
15
|
-
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-
|
|
14
|
+
import { t as getGestureHost } from "./GestureHost-DXlDxyns.js";
|
|
15
|
+
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-Crc0PhW0.js";
|
|
16
16
|
import { n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
17
17
|
import { n as readThemeTiming, t as easedProgress } from "./themeTiming-DOf0j6SM.js";
|
|
18
18
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as SelectableCardEmits, Dr as SelectableCardInput, Mr as SelectableCardSlots, Or as selectableCardInputKey, jr as SelectableCardProps, kr as _default } from "../index-
|
|
1
|
+
import { Ar as SelectableCardEmits, Dr as SelectableCardInput, Mr as SelectableCardSlots, Or as selectableCardInputKey, jr as SelectableCardProps, kr as _default } from "../index-Upg2KRlh.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardInput, type SelectableCardProps, type SelectableCardSlots, selectableCardInputKey };
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-DFlzXsvO.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|
package/dist/Selector/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Selector-
|
|
1
|
+
import { t as _sfc_main } from "../Selector-BV2L5xMI.js";
|
|
2
2
|
export { _sfc_main as Selector };
|
|
@@ -16,9 +16,9 @@ import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
|
16
16
|
import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
17
17
|
import { n as clampInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
18
18
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
19
|
-
import { t as _sfc_main$6 } from "./Spinner-
|
|
19
|
+
import { t as _sfc_main$6 } from "./Spinner-D6U81W87.js";
|
|
20
20
|
import { t as useIndicator } from "./useIndicator-Co1ERlg-.js";
|
|
21
|
-
import { t as _sfc_main$7 } from "./Field-
|
|
21
|
+
import { t as _sfc_main$7 } from "./Field-jM0Ithrd.js";
|
|
22
22
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
23
23
|
import { n as fieldStatusPlacement, r as _sfc_main$8, t as normalizeTriggerVariant } from "./triggerVariant-CRQoD-4F.js";
|
|
24
24
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-
|
|
1
|
+
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-Upg2KRlh.js";
|
|
2
2
|
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/SideNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as useSideNavCollapse } from "../context-CLCiYDtY.js";
|
|
2
|
-
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-
|
|
2
|
+
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-BYWNIIXT.js";
|
|
3
3
|
export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
|
|
@@ -2,14 +2,14 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
|
2
2
|
import { t as _sfc_main$5 } from "./Icon-BUSj1-Th.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { n as SizeProvider } from "./SizeContext-BbaF-SEx.js";
|
|
5
|
-
import { t as _sfc_main$6 } from "./Button-
|
|
5
|
+
import { t as _sfc_main$6 } from "./Button-D8vn_DnZ.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { S as layoutStartFor, _ as layoutMotion, c as areaOf, f as isRtl, h as changeStartIn, j as shownBoxAt, l as createAnimatedLayout, m as pxClip, x as beginChange } from "./reportChange-wIeU3q3y.js";
|
|
8
8
|
import { a as useSideNavCollapse, c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, n as sideNavDepthKey, o as useSideNavDepth, s as useSideNavRenderMode, t as sideNavCollapseKey, u as playLayoutSwap } from "./context-CLCiYDtY.js";
|
|
9
9
|
import { r as focusablesIn } from "./focusRegion-CmDg7_4b.js";
|
|
10
10
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
11
|
-
import { r as useHotkeys, t as useResizable } from "./useResizable-
|
|
12
|
-
import { t as _sfc_main$7 } from "./Tooltip-
|
|
11
|
+
import { r as useHotkeys, t as useResizable } from "./useResizable-Diq3vRVH.js";
|
|
12
|
+
import { t as _sfc_main$7 } from "./Tooltip-W32cHQH0.js";
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
14
14
|
import { i as useFocusLeavingChange, n as moveFocusLeftBehind, r as noteFocusWithin } from "./focusLeaving-Df0Dqr5v.js";
|
|
15
15
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
package/dist/Slider/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Slider-
|
|
1
|
+
import { t as _sfc_main } from "../Slider-pnFJ6MfZ.js";
|
|
2
2
|
export { _sfc_main as Slider };
|
|
@@ -9,17 +9,17 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
|
9
9
|
import { n as createMotionEngine } from "./animator-D6Buqmbt.js";
|
|
10
10
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
11
11
|
import { c as SLIDER_RELEASE_SPRING, o as SLIDER_DROP_SPRING, s as SLIDER_LIFT_SPRING, u as registerSpringsTable } from "./springs-BqW2WrS-.js";
|
|
12
|
-
import { t as getGestureHost } from "./GestureHost-
|
|
13
|
-
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-
|
|
12
|
+
import { t as getGestureHost } from "./GestureHost-DXlDxyns.js";
|
|
13
|
+
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-Crc0PhW0.js";
|
|
14
14
|
import { n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
15
15
|
import { t as isRtlElement } from "./isRtlElement-NHuH48AA.js";
|
|
16
16
|
import { n as projectDistance } from "./projection-BafBD5NP.js";
|
|
17
17
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
18
18
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
19
19
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
20
|
-
import { t as TapGestureRecognizer } from "./TapGestureRecognizer-
|
|
20
|
+
import { t as TapGestureRecognizer } from "./TapGestureRecognizer-Cv0y3c02.js";
|
|
21
21
|
import { a as useAriaRequired } from "./context-CrVCeUUK.js";
|
|
22
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
22
|
+
import { t as _sfc_main$4 } from "./Field-jM0Ithrd.js";
|
|
23
23
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
24
24
|
import { n as playHaptic } from "./haptics-DaX2u-jB.js";
|
|
25
25
|
import { t as sliderMessages } from "./slider-6ZlGhyPD.js";
|
package/dist/Spinner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Spinner-
|
|
1
|
+
import { t as _sfc_main } from "../Spinner-D6U81W87.js";
|
|
2
2
|
export { _sfc_main as Spinner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
2
2
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
3
|
-
import { t as useAnnounceRenderedText } from "./announceRenderedText-
|
|
3
|
+
import { t as useAnnounceRenderedText } from "./announceRenderedText-pHs_kfQB.js";
|
|
4
4
|
import { t as useIndicator } from "./useIndicator-Co1ERlg-.js";
|
|
5
5
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeStyle, onBeforeUnmount, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef } from "vue";
|
|
6
6
|
import "../styles/spinner.css";
|
package/dist/StatusDot/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../StatusDot-
|
|
1
|
+
import { t as _sfc_main } from "../StatusDot-CdtauWfk.js";
|
|
2
2
|
export { _sfc_main as StatusDot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Tooltip-W32cHQH0.js";
|
|
2
2
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toRaw, useSlots, withCtx } from "vue";
|
|
3
3
|
import "../styles/status-dot.css";
|
|
4
4
|
//#region src/StatusDot/StatusDot.vue
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-
|
|
1
|
+
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-Upg2KRlh.js";
|
|
2
2
|
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Switch-
|
|
1
|
+
import { t as _sfc_main } from "../Switch-BJ9skC9r.js";
|
|
2
2
|
export { _sfc_main as Switch };
|
|
@@ -11,7 +11,7 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
|
11
11
|
import { n as createMotionEngine } from "./animator-D6Buqmbt.js";
|
|
12
12
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
13
13
|
import { l as SWITCH_THUMB_MOVE_SPRING } from "./springs-BqW2WrS-.js";
|
|
14
|
-
import { t as getGestureHost } from "./GestureHost-
|
|
14
|
+
import { t as getGestureHost } from "./GestureHost-DXlDxyns.js";
|
|
15
15
|
import "./touchQueries-xy5IeZfe.js";
|
|
16
16
|
import { n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
17
17
|
import { r as watchCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
@@ -21,7 +21,7 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
|
21
21
|
import { a as rubberBandUnclamp, n as rubberBandClamp } from "./rubberBand-CE3LYEUx.js";
|
|
22
22
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
23
23
|
import { t as ariaRequired } from "./context-CrVCeUUK.js";
|
|
24
|
-
import { t as _sfc_main$3 } from "./FieldLabel-
|
|
24
|
+
import { t as _sfc_main$3 } from "./FieldLabel-BmjvZVOQ.js";
|
|
25
25
|
import { t as _sfc_main$4 } from "./FieldStatus-QjwGygl3.js";
|
|
26
26
|
import { n as clickForLift, t as awaitBrowserClick } from "./browserClickWait-Cb550_M2.js";
|
|
27
27
|
import { t as switchMessages } from "./switch-B9xwxdOU.js";
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-
|
|
2
|
-
import { $ as useTableSelectionState, A as TableLoadingState, B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowMenuItem, G as TableTextOverflow, H as TableSortDirection, I as TableRowModel, J as TableSelectedKeysSetter, K as TableVerticalAlign, L as TableRowPatch, M as TablePlugin, N as TableProps, O as TableGroupPatch, P as TableRowListeners, Q as useTableSelection, R as TableRowProps, S as TableDividers, T as TableFilterState, U as TableSortEntry, W as TableSortState, X as UseTableSelectionConfig, Y as TableSelectionState, Z as UseTableSelectionStateConfig, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePanelPatch, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as TableVirtualizationContribution, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign, z as TableSelectionToolbarProps } from "../useResizable-
|
|
1
|
+
import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-Upg2KRlh.js";
|
|
2
|
+
import { $ as useTableSelectionState, A as TableLoadingState, B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowMenuItem, G as TableTextOverflow, H as TableSortDirection, I as TableRowModel, J as TableSelectedKeysSetter, K as TableVerticalAlign, L as TableRowPatch, M as TablePlugin, N as TableProps, O as TableGroupPatch, P as TableRowListeners, Q as useTableSelection, R as TableRowProps, S as TableDividers, T as TableFilterState, U as TableSortEntry, W as TableSortState, X as UseTableSelectionConfig, Y as TableSelectionState, Z as UseTableSelectionStateConfig, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePanelPatch, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as TableVirtualizationContribution, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign, z as TableSelectionToolbarProps } from "../useResizable-CJFVvx_2.js";
|
|
3
3
|
export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TableLoadingState, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowModel, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type TableVirtualizationContribution, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableColumnsVirtualizationConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTableInfiniteScrollConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableRowsVirtualizationConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
package/dist/Table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-
|
|
1
|
+
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-Dsf4UU08.js";
|
|
2
2
|
export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
|
@@ -1,30 +1,35 @@
|
|
|
1
|
+
import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
1
2
|
import { t as _sfc_main$16 } from "./Icon-BUSj1-Th.js";
|
|
2
|
-
import { i as _sfc_main$18, r as useCutTextOnKeyboardFocus, t as _sfc_main$17 } from "./Button-
|
|
3
|
+
import { i as _sfc_main$18, r as useCutTextOnKeyboardFocus, t as _sfc_main$17 } from "./Button-D8vn_DnZ.js";
|
|
3
4
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
|
|
5
|
+
import { n as cutTextDirection } from "./textDirection-DJl_tYja.js";
|
|
4
6
|
import { t as _sfc_main$19 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
7
|
import { n as firstCharacter } from "./characters-wTnzjkkR.js";
|
|
8
|
+
import { n as isDevBuild } from "./devBuild-G249YcdZ.js";
|
|
6
9
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
7
10
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
11
|
+
import { t as createDevWarnings } from "./devWarnings-DI1R0rGp.js";
|
|
8
12
|
import { k as glideOf, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-wIeU3q3y.js";
|
|
9
13
|
import { t as applyLayoutChangeTransition } from "./landing-DjJvKu3c.js";
|
|
10
14
|
import { r as isFocusDetached } from "./focusReturn-BeSRm0xD.js";
|
|
11
15
|
import { t as useScrollableArea } from "./useScrollableArea-i2X5vvTv.js";
|
|
12
16
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
13
|
-
import { t as _sfc_main$20 } from "./Tooltip-
|
|
17
|
+
import { t as _sfc_main$20 } from "./Tooltip-W32cHQH0.js";
|
|
14
18
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
15
|
-
import { t as
|
|
19
|
+
import { t as useAnnounceRenderedText } from "./announceRenderedText-pHs_kfQB.js";
|
|
20
|
+
import { t as _sfc_main$21 } from "./CheckboxInput-CiSb9VDk.js";
|
|
16
21
|
import { t as _sfc_main$22 } from "./ComponentIcon-B67QcA-d.js";
|
|
17
|
-
import { t as _sfc_main$23 } from "./Popover-
|
|
18
|
-
import { t as _sfc_main$24 } from "./DateInput-
|
|
22
|
+
import { t as _sfc_main$23 } from "./Popover-VGJEMOBl.js";
|
|
23
|
+
import { t as _sfc_main$24 } from "./DateInput-BQ_q7nbT.js";
|
|
19
24
|
import { s as tableMessages } from "./loadCatalog-DXx3soG1.js";
|
|
20
25
|
import { r as useCollator } from "./locale-5NXEHp0U.js";
|
|
21
|
-
import { t as _sfc_main$25 } from "./MultiSelector-
|
|
22
|
-
import { t as _sfc_main$26 } from "./NumberInput-
|
|
23
|
-
import { t as _sfc_main$27 } from "./Pagination-
|
|
24
|
-
import { t as _sfc_main$28 } from "./Selector-
|
|
25
|
-
import { t as _sfc_main$29 } from "./TextInput-
|
|
26
|
+
import { t as _sfc_main$25 } from "./MultiSelector-s09q_Lot.js";
|
|
27
|
+
import { t as _sfc_main$26 } from "./NumberInput-DIgfEtYW.js";
|
|
28
|
+
import { t as _sfc_main$27 } from "./Pagination-CvPQ6Xvk.js";
|
|
29
|
+
import { t as _sfc_main$28 } from "./Selector-BV2L5xMI.js";
|
|
30
|
+
import { t as _sfc_main$29 } from "./TextInput-BGsRns-X.js";
|
|
26
31
|
import { t as _sfc_main$30 } from "./Toolbar-BHkPxDxA.js";
|
|
27
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, h, inject, isVNode, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, provide, reactive, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, useId, watch, withCtx, withModifiers } from "vue";
|
|
32
|
+
import { Comment, Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, h, inject, isVNode, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, provide, reactive, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, useId, useTemplateRef, watch, withCtx, withModifiers } from "vue";
|
|
28
33
|
import "../styles/layer.css";
|
|
29
34
|
import "../styles/table.css";
|
|
30
35
|
function proportional(value = 1, options) {
|
|
@@ -877,6 +882,7 @@ function useTablePagination(config) {
|
|
|
877
882
|
//#endregion
|
|
878
883
|
//#region src/Table/TableExpansionChevron.vue
|
|
879
884
|
const _hoisted_1$11 = ["aria-expanded", "aria-label"];
|
|
885
|
+
const _hoisted_2$4 = { class: "astryx-table__chevron-glyph" };
|
|
880
886
|
const _sfc_main$14 = /*@__PURE__*/ defineComponent({
|
|
881
887
|
name: "AstryxTableExpansionChevron",
|
|
882
888
|
__name: "TableExpansionChevron",
|
|
@@ -901,14 +907,14 @@ const _sfc_main$14 = /*@__PURE__*/ defineComponent({
|
|
|
901
907
|
"aria-expanded": __props.expanded ? "true" : "false",
|
|
902
908
|
"aria-label": label.value,
|
|
903
909
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emit("toggle"), ["stop"]))
|
|
904
|
-
}, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon astryx-table__chevron-icon--slot", { "is-expanded": __props.expanded }]) }, [createVNode(_sfc_main$22, {
|
|
910
|
+
}, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon astryx-table__chevron-icon--slot", { "is-expanded": __props.expanded }]) }, [createElementVNode("span", _hoisted_2$4, [createVNode(_sfc_main$22, {
|
|
905
911
|
"icon-slot": "table-row-expand",
|
|
906
912
|
state: { expanded: __props.expanded },
|
|
907
913
|
fallback: {
|
|
908
914
|
icon: "chevronRight",
|
|
909
915
|
size: "xsm"
|
|
910
916
|
}
|
|
911
|
-
}, null, 8, ["state"])], 2)], 8, _hoisted_1$11);
|
|
917
|
+
}, null, 8, ["state"])])], 2)], 8, _hoisted_1$11);
|
|
912
918
|
};
|
|
913
919
|
}
|
|
914
920
|
});
|
|
@@ -1355,6 +1361,20 @@ function registerFixedHeightColumn(column) {
|
|
|
1355
1361
|
function isFixedHeightColumn(column) {
|
|
1356
1362
|
return column.renderCell == null || fixedHeightColumns.has(column);
|
|
1357
1363
|
}
|
|
1364
|
+
/** 内置列自己说明为什么挡住了行窗口化,开发期警告用。 */
|
|
1365
|
+
const fallbackReasons = /* @__PURE__ */ new WeakMap();
|
|
1366
|
+
/** 给一个挡住窗口化的内置列登记原因。没登记的列,警告按调用方自己的 renderCell 来写。 */
|
|
1367
|
+
function registerWindowFallbackReason(column, reason) {
|
|
1368
|
+
fallbackReasons.set(column, reason);
|
|
1369
|
+
return column;
|
|
1370
|
+
}
|
|
1371
|
+
/**
|
|
1372
|
+
* 某一列让表格不能窗口化时,开发期警告里的原因:内置列用它登记的原因,
|
|
1373
|
+
* 调用方的 renderCell 点名那一列,并说明哪些列照样窗口化、怎么改。
|
|
1374
|
+
*/
|
|
1375
|
+
function describeCustomCellFallback(column) {
|
|
1376
|
+
return fallbackReasons.get(column) ?? `column "${column.key}" has a custom renderCell, which Table cannot check keeps the fixed row height. Columns without renderCell, the selection column and the useTableRowIndex column stay windowed; render this column's value without renderCell to window the rows`;
|
|
1377
|
+
}
|
|
1358
1378
|
/**
|
|
1359
1379
|
* 插件合起来的行结构。声明了 `flat` 以外的结构,或者改行、改单元格却没声明 `flat` 的插件,
|
|
1360
1380
|
* 决定了整张表的结构。
|
|
@@ -1491,7 +1511,7 @@ function statusMark(status) {
|
|
|
1491
1511
|
function useTableRowStatus(config) {
|
|
1492
1512
|
const messages = useComponentMessages({ table: tableMessages });
|
|
1493
1513
|
return { transformColumns(columns) {
|
|
1494
|
-
return [{
|
|
1514
|
+
return [registerWindowFallbackReason({
|
|
1495
1515
|
key: "__rowStatus",
|
|
1496
1516
|
header: messages.value.table.rowStatus,
|
|
1497
1517
|
headerHidden: true,
|
|
@@ -1508,7 +1528,7 @@ function useTableRowStatus(config) {
|
|
|
1508
1528
|
"style": customColor ? { color: customColor } : void 0
|
|
1509
1529
|
}, [statusMark(status)]) });
|
|
1510
1530
|
}
|
|
1511
|
-
}, ...columns];
|
|
1531
|
+
}, "the useTableRowStatus column is not one Table checks for a fixed row height"), ...columns];
|
|
1512
1532
|
} };
|
|
1513
1533
|
}
|
|
1514
1534
|
//#endregion
|
|
@@ -1727,6 +1747,42 @@ function resolveStickySide(columns, columnKey, startKeys, endKeys) {
|
|
|
1727
1747
|
};
|
|
1728
1748
|
return null;
|
|
1729
1749
|
}
|
|
1750
|
+
/**
|
|
1751
|
+
* 按列数组读固定列偏移的读取器。偏移只取决于列和固定的 key,一次渲染里每个格子读同一份结果,
|
|
1752
|
+
* 列数组或固定的 key 变了才重算。
|
|
1753
|
+
*/
|
|
1754
|
+
function createPinnedOffsetsReader() {
|
|
1755
|
+
let lastColumns;
|
|
1756
|
+
let lastStart = [];
|
|
1757
|
+
let lastEnd = [];
|
|
1758
|
+
let last;
|
|
1759
|
+
return (columns, startKeys, endKeys) => {
|
|
1760
|
+
if (last === void 0 || columns !== lastColumns || !sameKeys(startKeys, lastStart) || !sameKeys(endKeys, lastEnd)) {
|
|
1761
|
+
lastColumns = columns;
|
|
1762
|
+
lastStart = [...startKeys];
|
|
1763
|
+
lastEnd = [...endKeys];
|
|
1764
|
+
last = {
|
|
1765
|
+
start: stickyOffsets(columns, startKeys, "start"),
|
|
1766
|
+
end: stickyOffsets(columns, endKeys, "end")
|
|
1767
|
+
};
|
|
1768
|
+
}
|
|
1769
|
+
return last;
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
function sameKeys(a, b) {
|
|
1773
|
+
return a.length === b.length && a.every((key, index) => key === b[index]);
|
|
1774
|
+
}
|
|
1775
|
+
function sideFromOffsets(offsets, columnKey) {
|
|
1776
|
+
if (offsets.start?.has(columnKey)) return {
|
|
1777
|
+
edge: "start",
|
|
1778
|
+
offset: offsets.start.get(columnKey) ?? 0
|
|
1779
|
+
};
|
|
1780
|
+
if (offsets.end?.has(columnKey)) return {
|
|
1781
|
+
edge: "end",
|
|
1782
|
+
offset: offsets.end.get(columnKey) ?? 0
|
|
1783
|
+
};
|
|
1784
|
+
return null;
|
|
1785
|
+
}
|
|
1730
1786
|
function patchFor(side, kind) {
|
|
1731
1787
|
const style = side.edge === "start" ? {
|
|
1732
1788
|
position: "sticky",
|
|
@@ -1744,6 +1800,7 @@ function patchFor(side, kind) {
|
|
|
1744
1800
|
}
|
|
1745
1801
|
function useTableStickyColumns(config) {
|
|
1746
1802
|
let detach = null;
|
|
1803
|
+
const readOffsets = createPinnedOffsetsReader();
|
|
1747
1804
|
function bindScrollRoot(element) {
|
|
1748
1805
|
detach?.();
|
|
1749
1806
|
detach = null;
|
|
@@ -1792,7 +1849,7 @@ function useTableStickyColumns(config) {
|
|
|
1792
1849
|
const start = current.startKeys ?? [];
|
|
1793
1850
|
const end = current.endKeys ?? [];
|
|
1794
1851
|
if (start.length === 0 && end.length === 0) return null;
|
|
1795
|
-
const side =
|
|
1852
|
+
const side = sideFromOffsets(readOffsets(columns, start, end), column.key);
|
|
1796
1853
|
return side == null ? null : patchFor(side, kind);
|
|
1797
1854
|
}
|
|
1798
1855
|
};
|
|
@@ -2144,6 +2201,46 @@ function useTableColumnsVirtualization(config) {
|
|
|
2144
2201
|
};
|
|
2145
2202
|
}
|
|
2146
2203
|
//#endregion
|
|
2204
|
+
//#region src/Table/cutHeading.ts
|
|
2205
|
+
/** 手写行列的表格把自己的 `textOverflow` 交给表头单元格。 */
|
|
2206
|
+
const TABLE_TEXT_OVERFLOW_KEY = Symbol("astryx-table-text-overflow");
|
|
2207
|
+
/** 插槽内容全是纯文字时返回这段文字,否则返回 null。 */
|
|
2208
|
+
function plainSlotText(nodes) {
|
|
2209
|
+
let text = "";
|
|
2210
|
+
for (const node of nodes) {
|
|
2211
|
+
if (node.type === Comment) continue;
|
|
2212
|
+
if (node.type === Fragment && Array.isArray(node.children)) {
|
|
2213
|
+
const inner = plainSlotText(node.children);
|
|
2214
|
+
if (inner == null) return null;
|
|
2215
|
+
text += inner;
|
|
2216
|
+
continue;
|
|
2217
|
+
}
|
|
2218
|
+
if (node.type !== Text || typeof node.children !== "string") return null;
|
|
2219
|
+
text += node.children;
|
|
2220
|
+
}
|
|
2221
|
+
return text === "" ? null : text;
|
|
2222
|
+
}
|
|
2223
|
+
/**
|
|
2224
|
+
* 截短的纯文字表头标题放进自己的盒子里截,盒子带着文字的方向(cutTextDirection),
|
|
2225
|
+
* 省略号截在结尾。不截短、不是纯文字或两种文字混排的标题原样渲染。
|
|
2226
|
+
*/
|
|
2227
|
+
const CutHeading = defineComponent({
|
|
2228
|
+
name: "AstryxTableCutHeading",
|
|
2229
|
+
setup(_, { slots }) {
|
|
2230
|
+
const textOverflow = inject(TABLE_TEXT_OVERFLOW_KEY, () => "wrap");
|
|
2231
|
+
return () => {
|
|
2232
|
+
const nodes = slots.default?.() ?? [];
|
|
2233
|
+
if (textOverflow() !== "truncate") return nodes;
|
|
2234
|
+
const text = plainSlotText(nodes);
|
|
2235
|
+
const dir = text == null ? void 0 : cutTextDirection(text.trim());
|
|
2236
|
+
return dir == null ? nodes : h("span", {
|
|
2237
|
+
class: "astryx-table__cut-heading",
|
|
2238
|
+
dir
|
|
2239
|
+
}, nodes);
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
});
|
|
2243
|
+
//#endregion
|
|
2147
2244
|
//#region src/Table/headerText.ts
|
|
2148
2245
|
/**
|
|
2149
2246
|
* 从渲染结果里收集能直接读到的文字:字符串、数字、元素的文本子节点和数组。
|
|
@@ -2169,6 +2266,14 @@ function columnHeaderText(column) {
|
|
|
2169
2266
|
const trimmed = (typeof header === "function" ? vnodeText(header()) : header ?? "").replace(/\s+/g, " ").trim();
|
|
2170
2267
|
return trimmed === "" ? column.key : trimmed;
|
|
2171
2268
|
}
|
|
2269
|
+
/**
|
|
2270
|
+
* 截短的纯文字列标题自己的方向:只有一种文字时取那种文字的方向,省略号截在结尾,
|
|
2271
|
+
* 右到左页面上的拉丁标题、左到右页面上的希伯来文标题都保留开头。函数式列头和不截短的表格不设。
|
|
2272
|
+
*/
|
|
2273
|
+
function columnHeaderCutDirection(column, textOverflow) {
|
|
2274
|
+
if (textOverflow !== "truncate" || typeof column.header === "function") return void 0;
|
|
2275
|
+
return cutTextDirection(columnHeaderText(column));
|
|
2276
|
+
}
|
|
2172
2277
|
//#endregion
|
|
2173
2278
|
//#region src/composables/internal/listWindow/listWindowGeometry.ts
|
|
2174
2279
|
const UNMEASURED_LIST_GEOMETRY = Object.freeze({
|
|
@@ -2929,12 +3034,12 @@ function useTableWindowing(options) {
|
|
|
2929
3034
|
const rowsConfig = computed(() => contributions.value.find((item) => item.rows)?.rows?.());
|
|
2930
3035
|
const columnsConfig = computed(() => contributions.value.find((item) => item.columns)?.columns?.());
|
|
2931
3036
|
const identity = computed(() => resolveTableIdentity(options.rows(), options.idKey()));
|
|
2932
|
-
const
|
|
3037
|
+
const customCellColumn = computed(() => options.layoutColumns().find((column) => !isFixedHeightColumn(column)));
|
|
2933
3038
|
const shared = computed(() => sharedFallbackReason({
|
|
2934
3039
|
plugins: options.plugins(),
|
|
2935
3040
|
identity: identity.value,
|
|
2936
3041
|
textOverflow: options.textOverflow()
|
|
2937
|
-
}) ?? (
|
|
3042
|
+
}) ?? (customCellColumn.value == null ? void 0 : describeCustomCellFallback(customCellColumn.value)));
|
|
2938
3043
|
const sizedColumns = computed(() => options.layoutColumns().map((column) => {
|
|
2939
3044
|
const override = options.widthOverride(column);
|
|
2940
3045
|
return override == null ? column : {
|
|
@@ -3132,6 +3237,22 @@ function mergeRowPatches(plugins, row, index, columnCount) {
|
|
|
3132
3237
|
return merged;
|
|
3133
3238
|
}
|
|
3134
3239
|
//#endregion
|
|
3240
|
+
//#region src/Table/sortHeaderControl.ts
|
|
3241
|
+
/** 标题里嵌着的控件:core 认定的可交互元素,或者进 Tab 顺序的元素。 */
|
|
3242
|
+
const HEADER_CONTROL_SELECTOR = `${INTERACTIVE_SELECTORS},[tabindex]:not([tabindex="-1"])`;
|
|
3243
|
+
/**
|
|
3244
|
+
* 可排序列的整个标题包在排序按钮里,标题里自带的控件就嵌在按钮里,读屏和别的辅助技术操作不到
|
|
3245
|
+
* (WCAG 4.1.2)。Table 还没有排序按钮以外放表头控件的位置,所以开发构建里每列警告一次。
|
|
3246
|
+
* 返回给排序标题用的 ref 回调。
|
|
3247
|
+
*/
|
|
3248
|
+
function createSortHeaderControlCheck() {
|
|
3249
|
+
const warn = createDevWarnings();
|
|
3250
|
+
return (label, columnKey) => {
|
|
3251
|
+
if (!isDevBuild() || !(label instanceof Element) || label.querySelector(HEADER_CONTROL_SELECTOR) == null) return;
|
|
3252
|
+
warn("useTableSortable", `the header of sortable column "${columnKey}" holds its own control. Its control nests in the Sort button, which assistive technology cannot operate; this column cannot hold a header control while it is sortable.`, columnKey);
|
|
3253
|
+
};
|
|
3254
|
+
}
|
|
3255
|
+
//#endregion
|
|
3135
3256
|
//#region src/Table/TableDataRenderers.ts
|
|
3136
3257
|
/**
|
|
3137
3258
|
* 渲染单元格内容:优先走列自己的 renderCell,没给就回退成纯文本。
|
|
@@ -4116,10 +4237,7 @@ const _hoisted_7 = [
|
|
|
4116
4237
|
"aria-describedby",
|
|
4117
4238
|
"onClick"
|
|
4118
4239
|
];
|
|
4119
|
-
const _hoisted_8 =
|
|
4120
|
-
key: 1,
|
|
4121
|
-
class: "astryx-table__header-label"
|
|
4122
|
-
};
|
|
4240
|
+
const _hoisted_8 = ["dir"];
|
|
4123
4241
|
const _hoisted_9 = ["data-active"];
|
|
4124
4242
|
const _hoisted_10 = {
|
|
4125
4243
|
key: 2,
|
|
@@ -4127,10 +4245,7 @@ const _hoisted_10 = {
|
|
|
4127
4245
|
"aria-hidden": "true"
|
|
4128
4246
|
};
|
|
4129
4247
|
const _hoisted_11 = ["id"];
|
|
4130
|
-
const _hoisted_12 =
|
|
4131
|
-
key: 2,
|
|
4132
|
-
class: "astryx-table__header-label"
|
|
4133
|
-
};
|
|
4248
|
+
const _hoisted_12 = ["dir"];
|
|
4134
4249
|
const _hoisted_13 = [
|
|
4135
4250
|
"aria-label",
|
|
4136
4251
|
"aria-valuenow",
|
|
@@ -4193,6 +4308,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
4193
4308
|
setup(__props) {
|
|
4194
4309
|
const props = __props;
|
|
4195
4310
|
const headerCutText = useHeaderCutText();
|
|
4311
|
+
const checkSortHeaderControl = createSortHeaderControlCheck();
|
|
4196
4312
|
const attrs = useAttrs();
|
|
4197
4313
|
const messages = useComponentMessages({ table: tableMessages });
|
|
4198
4314
|
const headerIdPrefix = useId();
|
|
@@ -4412,7 +4528,13 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
4412
4528
|
slot.column.headerHidden ? (openBlock(), createBlock(_sfc_main$19, { key: 0 }, {
|
|
4413
4529
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(columnHeaderText)(slot.column)), 1)]),
|
|
4414
4530
|
_: 2
|
|
4415
|
-
}, 1024)) : (openBlock(), createElementBlock("span",
|
|
4531
|
+
}, 1024)) : (openBlock(), createElementBlock("span", {
|
|
4532
|
+
key: 1,
|
|
4533
|
+
ref_for: true,
|
|
4534
|
+
ref: (label) => unref(checkSortHeaderControl)(label, slot.column.key),
|
|
4535
|
+
class: "astryx-table__header-label",
|
|
4536
|
+
dir: unref(columnHeaderCutDirection)(slot.column, unref(resolvedTextOverflow))
|
|
4537
|
+
}, [createVNode(HeaderContent, { column: slot.column }, null, 8, ["column"])], 8, _hoisted_8)),
|
|
4416
4538
|
createElementVNode("span", {
|
|
4417
4539
|
class: "astryx-table__sort-icon",
|
|
4418
4540
|
"data-active": unref(sortFor)(slot.column)?.direction != null || void 0
|
|
@@ -4432,7 +4554,11 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
4432
4554
|
}, toDisplayString(unref(sortFor)(slot.column)?.description), 9, _hoisted_11)) : createCommentVNode("v-if", true)], 64)) : slot.column.headerHidden ? (openBlock(), createBlock(_sfc_main$19, { key: 1 }, {
|
|
4433
4555
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(columnHeaderText)(slot.column)), 1)]),
|
|
4434
4556
|
_: 2
|
|
4435
|
-
}, 1024)) : (openBlock(), createElementBlock("span",
|
|
4557
|
+
}, 1024)) : (openBlock(), createElementBlock("span", {
|
|
4558
|
+
key: 2,
|
|
4559
|
+
class: "astryx-table__header-label",
|
|
4560
|
+
dir: unref(columnHeaderCutDirection)(slot.column, unref(resolvedTextOverflow))
|
|
4561
|
+
}, [createVNode(HeaderContent, { column: slot.column }, null, 8, ["column"])], 8, _hoisted_12)),
|
|
4436
4562
|
unref(filterAt)(slot.column, "line") ? (openBlock(), createBlock(_sfc_main$12, {
|
|
4437
4563
|
key: 3,
|
|
4438
4564
|
filter: unref(filterAt)(slot.column, "line")
|
|
@@ -4671,6 +4797,7 @@ const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
|
4671
4797
|
const columns = computed(() => props.columns ?? []);
|
|
4672
4798
|
provide(TABLE_STRIPED_KEY, () => props.isStriped);
|
|
4673
4799
|
provide(TABLE_SECTION_KEY, null);
|
|
4800
|
+
provide(TABLE_TEXT_OVERFLOW_KEY, () => props.textOverflow ?? "wrap");
|
|
4674
4801
|
return (_ctx, _cache) => {
|
|
4675
4802
|
return dataMode.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
4676
4803
|
key: 0,
|
|
@@ -4820,7 +4947,10 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
4820
4947
|
onFocusout: _cache[1] || (_cache[1] = (...args) => unref(headerCutText).onFocusout && unref(headerCutText).onFocusout(...args)),
|
|
4821
4948
|
onPointerdown: _cache[2] || (_cache[2] = (...args) => unref(headerCutText).onPointerdown && unref(headerCutText).onPointerdown(...args)),
|
|
4822
4949
|
onKeydown: _cache[3] || (_cache[3] = (...args) => unref(headerCutText).onKeydown && unref(headerCutText).onKeydown(...args))
|
|
4823
|
-
}, [
|
|
4950
|
+
}, [createVNode(unref(CutHeading), null, {
|
|
4951
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
4952
|
+
_: 3
|
|
4953
|
+
}), unref(headerCutText).cutText.value != null ? (openBlock(), createBlock(_sfc_main$18, {
|
|
4824
4954
|
key: 0,
|
|
4825
4955
|
anchor: unref(headerCutText).cell.value,
|
|
4826
4956
|
text: unref(headerCutText).cutText.value
|
|
@@ -4849,7 +4979,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
4849
4979
|
});
|
|
4850
4980
|
//#endregion
|
|
4851
4981
|
//#region src/Table/TableSelectionToolbar.vue
|
|
4852
|
-
const _hoisted_1 = {
|
|
4982
|
+
const _hoisted_1 = {
|
|
4983
|
+
ref: "count",
|
|
4984
|
+
class: "astryx-table-selection-toolbar__label"
|
|
4985
|
+
};
|
|
4853
4986
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
4854
4987
|
name: "AstryxTableSelectionToolbar",
|
|
4855
4988
|
__name: "TableSelectionToolbar",
|
|
@@ -4873,6 +5006,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
4873
5006
|
const resolvedLabel = computed(() => props.label ?? messages.value.table.bulkActionsLabel);
|
|
4874
5007
|
const resolvedClearLabel = computed(() => props.clearLabel ?? messages.value.table.clearAll);
|
|
4875
5008
|
const resolvedCountLabel = computed(() => messages.value.table.selectedCount(effectiveCount.value));
|
|
5009
|
+
const countRef = useTemplateRef("count");
|
|
5010
|
+
useAnnounceRenderedText(countRef, isVisible, {
|
|
5011
|
+
skipFirstRender: true,
|
|
5012
|
+
hasReplace: true,
|
|
5013
|
+
trigger: effectiveCount
|
|
5014
|
+
});
|
|
4876
5015
|
function clearSelection() {
|
|
4877
5016
|
props.selection?.clearSelection();
|
|
4878
5017
|
emit("clear");
|
|
@@ -4885,7 +5024,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
4885
5024
|
size: __props.size,
|
|
4886
5025
|
variant: __props.variant
|
|
4887
5026
|
}, createSlots({
|
|
4888
|
-
end: withCtx(() => [createElementVNode("span", _hoisted_1, [renderSlot(_ctx.$slots, "label", { count: effectiveCount.value }, () => [createTextVNode(toDisplayString(resolvedCountLabel.value), 1)])]), createVNode(_sfc_main$17, {
|
|
5027
|
+
end: withCtx(() => [createElementVNode("span", _hoisted_1, [renderSlot(_ctx.$slots, "label", { count: effectiveCount.value }, () => [createTextVNode(toDisplayString(resolvedCountLabel.value), 1)])], 512), createVNode(_sfc_main$17, {
|
|
4889
5028
|
class: "astryx-table-selection-toolbar__clear",
|
|
4890
5029
|
label: resolvedClearLabel.value,
|
|
4891
5030
|
size: __props.size,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as UIKIT_TAP } from "./gestures-BpGkqgpV.js";
|
|
2
|
-
import { a as MANIPULATION } from "./GestureHost-
|
|
3
|
-
import { n as GestureRecognizer } from "./PanGestureRecognizer-
|
|
2
|
+
import { a as MANIPULATION } from "./GestureHost-DXlDxyns.js";
|
|
3
|
+
import { n as GestureRecognizer } from "./PanGestureRecognizer-Crc0PhW0.js";
|
|
4
4
|
import { n as distance, r as travel } from "./geometry-BDCUnbgh.js";
|
|
5
5
|
//#region src/gestures/TapGestureRecognizer.ts
|
|
6
6
|
const TAP = UIKIT_TAP;
|
package/dist/Text/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as TextProps, c as TextType, d as TextWrap, i as TextJustify, l as TextWeight, n as TextColor, o as TextSize, r as TextDisplay, s as TextTruncateTooltip, t as TextAs, u as TextWordBreak } from "../types-B8suOGP8.js";
|
|
2
|
-
import { n as useTruncation, r as _default, t as Truncation } from "../index-
|
|
2
|
+
import { n as useTruncation, r as _default, t as Truncation } from "../index-CtYlR9Cu.js";
|
|
3
3
|
export { _default as Text, type TextAs, type TextColor, type TextDisplay, type TextJustify, type TextProps, type TextSize, type TextTruncateTooltip, type TextType, type TextWeight, type TextWordBreak, type TextWrap, type Truncation, useTruncation };
|
package/dist/Text/index.js
CHANGED