@astryx-vue/core 0.7.25 → 0.7.27
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--9IcMdY3.js → AlertDialog-DZpJzvOC.js} +30 -15
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell--izaf9Fx.js → AppShell-D7ik41g-.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CqPpL59Q.js → Avatar-D_C9RBJb.js} +6 -5
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-lmO-a3Eq.js → AvatarGroup-CFvNDgU-.js} +3 -3
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-DByZSDmu.js → Badge-BbPS_49c.js} +7 -3
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-BpiQjQvG.js → Banner-C1B7DsHS.js} +3 -3
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-BKeyoL9N.js → BottomSheet-BECeWtEy.js} +2 -2
- package/dist/{BottomSheet-CMukh1iI.js → BottomSheet-CgOzQHaA.js} +4 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CH-rcc_-.js → Breadcrumbs-BgiZY7un.js} +8 -7
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-7W3G5gok.js → Button-DsjdehLZ.js} +179 -17
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-UgiGP61q.js → ButtonGroup-CSW7a9vq.js} +14 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DjhwshS8.js → Calendar-Bzgi-XyF.js} +12 -3
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-H4571ZKi.js → Card-BbKFHWuD.js} +2 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-RN3BV6qj.js → Carousel--VycM-Sa.js} +3 -3
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-D5cXLYlh.js → Chat-C1DlnlCQ.js} +30 -28
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-GFjf15n3.js → CheckboxInput-uk8nuCEf.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CJzRo5vd.js → CheckboxList-Dr4kQ-BC.js} +6 -6
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C_XMPOpv.js → Citation-BAFsn6N1.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-qeVRS9dw.js → ClickableCard-CvxSKkXh.js} +3 -2
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-9NMYGL48.js → CodeBlock-PSnUWX57.js} +5 -3
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-CifnTLlc.js → Collapsible-C_tl5-L0.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BbGFrwAI.js → CommandPalette-lewtyQrO.js} +7 -7
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DMnzBMY1.js → ComplexSelector-BUnqjeW5.js} +14 -6
- package/dist/{ComponentIcon-hPmWTSXE.js → ComponentIcon-BRXBBKeG.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BD3pObnQ.js → ContextMenu-IDkvorRp.js} +10 -9
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CYFPGd__.js → DateInput-DTxxFz9-.js} +10 -10
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BOdKqQUw.js → DateRangeInput-D4Us58KW.js} +8 -8
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Bs4T8KWb.js → DateTimeInput-CliLnI7P.js} +9 -9
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-vPGLWE3o.js → Dialog-B_s-w66_.js} +1 -1
- package/dist/{Dialog-D4V2ZnuS.js → Dialog-BtPktuiy.js} +3 -1
- package/dist/{DialogHeader-Dii5B7vE.js → DialogHeader-Hk419KW1.js} +4 -4
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-CtuxdSAd.js → Drawer-DoQ9hjKz.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CXyECszu.js → DropdownMenu-B2iga1fe.js} +18 -13
- package/dist/{DropdownMenu-BmAeVIu5.js → DropdownMenu-BF2Z5T4h.js} +9 -9
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DaVNSbYi.js → EmptyState-v1cvHKav.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-CdrGdY7U.js → Field-if5a58LO.js} +2 -2
- package/dist/{FieldIcon-BB08VXf7.js → FieldIcon-DMtfe1Ne.js} +1 -1
- package/dist/{FieldInfoTip-CPhFmGaY.js → FieldInfoTip-BJAaKJjM.js} +2 -2
- package/dist/{FieldLabel-lJ1exgvq.js → FieldLabel-C-IaUcP4.js} +3 -3
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-CR-cK1rW.js → FieldStatus-DSUCli4W.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-C85funO_.js → FileInput-0zBWfO8h.js} +8 -8
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Grid/index.js +1 -1
- package/dist/{Grid-D1onTzyC.js → Grid-C0mp7fha.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/Heading-C10qO8wg.js +114 -0
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-B9uadAzT.js → HoverCard-CLcbBLBN.js} +4 -3
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-DAcZMgiJ.js → Icon-BCHo7W0x.js} +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-Cn4re9lo.js → IconButton-Crtfruc0.js} +1 -1
- package/dist/Indicator/index.js +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CQmrs5nz.js → InfoTip-DNQy7wqB.js} +3 -3
- package/dist/{InputClearButton-gGlttFrg.js → InputClearButton-DhvxPkK6.js} +3 -3
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-DQpDwkjF.js → InputGroup-B1kG0rBN.js} +22 -5
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-CWJDt7Qb.js → InternationalizationProvider-CUEIHCf4.js} +3 -3
- package/dist/{Item-Dbf2g0Ee.js → Item-Cfv4ALls.js} +5 -2
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-Dn1LTcNY.js → Kbd-DyxKNYtE.js} +41 -30
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-mHcy28k7.js → Layout-OHKb6r7D.js} +8 -5
- package/dist/{LayoutPanel-DpbBk6rj.js → LayoutPanel-D-rpTtC-.js} +6 -3
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Duz-OrsN.js → Lightbox-B8uMFPOS.js} +96 -17
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-C0NPH_Zy.js → Link-Kc2RQFHc.js} +4 -4
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-C8F4r-3e.js → ListItem-2evjQQ7n.js} +1 -1
- package/dist/Markdown/index.js +2 -2
- package/dist/{Markdown-B0K6WhMg.js → Markdown-NVkHi_tk.js} +6 -6
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-wOngshS5.js → MetadataList-4GnMi6s9.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-C8KAzhRl.js → MobileNavToggle-TMDrnXfG.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CPp7nRqq.js → MoreMenu-CpGEXWCd.js} +10 -10
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-EuMT3jk8.js → MultiSelector-Baca6xNx.js} +12 -12
- package/dist/{NavDisclosure-BbRWuyhq.js → NavDisclosure-DG4jls5z.js} +1 -1
- package/dist/{NavHeadingSurface-DemUziLF.js → NavHeadingSurface-j2gzMVKt.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-B_c92jqW.js → NavItem-BZLN0U5a.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-mZVfqNxt.js → NavMenu-t7WN2bcq.js} +1 -1
- package/dist/{NavMenuItem-Crc0y9_s.js → NavMenuItem-DIMQohIa.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-nhsOtHSM.js → NumberInput-BBFGZ4Fg.js} +17 -8
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-CXQKfopf.js → Outline-BgDOI3ar.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-BGHiFBEV.js → OverflowList-D4fC5s_q.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DtItBecM.js → Pagination-Do_MIlo4.js} +16 -4
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DE_a8vx0.js → Popover-Bd93LlDd.js} +7 -7
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BPqinhNg.js → PowerSearch-DyqItMHo.js} +110 -41
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dt5AS0GY.js → ProgressBar-gsm2A_cR.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DgD_qw8h.js → RadioGroup-Dzp4qSgm.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-BTfVjABV.js → RadioList-CAIgB1j_.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-5JnYYMyi.js → ResizeHandle-GAmiHb0-.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BOFsp4zL.js → SegmentedControl-Bs74LlvS.js} +3 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-DkAtLqr0.js → SelectableCard-BFCwgtWf.js} +3 -2
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-Bb0Tw0IX.js → Selector-B9lINQRM.js} +11 -10
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-woP0TsbV.js → SideNav-DzZ12DIq.js} +8 -8
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DPNiq0HG.js → Slider-Cuk2ul9w.js} +3 -3
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-CTWLR75x.js → Spinner-ke63bQPv.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Bu_nCu0I.js → StatusDot-DF5wK42f.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-Ca1DQGyG.js → Stepper-C68f_iJG.js} +3 -3
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-yKKscO-i.js → Switch-bnxiN6Qe.js} +4 -4
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-cg8Mrbs_.js → TabList-8dlO0Ws6.js} +12 -7
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-rUgNSJgQ.js → Table-j_DCDbcI.js} +93 -44
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +3 -2
- package/dist/{Text-BShV9dky.js → Text-WB-fpFne.js} +32 -29
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-D8703Iin.js → TextArea-Bzz_KcKT.js} +10 -10
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-C3TcHG4h.js → TextInput-givkH9HQ.js} +9 -9
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-DkFv7FGK.js → Theme-BQe--DY6.js} +19 -6
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-7hvPR8TA.js → Thumbnail-CZOWP5HN.js} +6 -6
- package/dist/{TimeField-D2vnhUvT.js → TimeField-ByoS5s_I.js} +8 -8
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D31lgw-s.js → TimeInput-D9kvMQso.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-D0A9hh4O.js → Timer-BD2gSoQ3.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BCYaQaDQ.js → Timestamp-CEdNhKc5.js} +5 -5
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BpumSIBN.js → Toast-CnZrcU-G.js} +4 -4
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DYGsPjtx.js → ToggleButton-BMn4yJXe.js} +27 -8
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DV53YBsy.js → Token-DWCDMawn.js} +96 -28
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DlptPLpP.js → Tokenizer-R0eC1BOk.js} +92 -9
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-D5UI1JLe.js → Toolbar-BH_E0F0G.js} +4 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BfKegFfq.js → Tooltip-CGHpFMnc.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-ZTKVEADp.js → TopNav-DHunql9h.js} +7 -7
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CLWHRRDM.js → TreeList-Dg5gtkOu.js} +6 -4
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-Dd8pq0fI.js → Typeahead-BkmCC6DX.js} +47 -24
- package/dist/{TypeaheadMenu-Bu9HO-wZ.js → TypeaheadMenu-CFeJCv-6.js} +1 -1
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +12 -9
- package/dist/{composables-DamLUqw3.js → composables-DqJzanJ5.js} +5 -24
- package/dist/{context-BLSiTojH.js → context-CV6TrhJY.js} +57 -3
- package/dist/context-CZP3jfy-.js +125 -0
- package/dist/{context-Bv6lAoqu.js → context-CjX2RSDn.js} +14 -2
- package/dist/{index-mkbGYz8f.d.ts → index-3t5RAfNP.d.ts} +2 -2
- package/dist/{index-CO9GW-ik.d.ts → index-B-3EGjfQ.d.ts} +1 -1
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
- package/dist/{index-EvhMa33P.d.ts → index-BSlzqFzV.d.ts} +10 -5
- package/dist/{index-DEQ5cnUV.d.ts → index-BTljzczH.d.ts} +4 -1
- package/dist/{index-D4BeRDzX.d.ts → index-Be7N3B5F.d.ts} +3 -3
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-CFm1rPma.d.ts → index-BjbPK91B.d.ts} +1 -1
- package/dist/{index-UFlyBbRd.d.ts → index-C3f1zsJR.d.ts} +2 -2
- package/dist/{index-D97pQbua.d.ts → index-C89cIh4E.d.ts} +3 -5
- package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
- package/dist/{index--uIQXVJ7.d.ts → index-CM8KfpBL.d.ts} +2 -2
- package/dist/{index-BMCjAlq6.d.ts → index-CfPGC9aW.d.ts} +1 -1
- package/dist/index-CtYlR9Cu.d.ts +46 -0
- package/dist/{index-Uh-ddE5F.d.ts → index-D21zdEgS.d.ts} +1 -1
- package/dist/{index-CCYGMtZy.d.ts → index-D4zmrP2a.d.ts} +65 -65
- package/dist/{index-DX4HQToB.d.ts → index-D6pP-H_N.d.ts} +1 -1
- package/dist/{index-DAs54mND.d.ts → index-DCU6dy7n.d.ts} +12 -2
- package/dist/{index-MEix_m1o.d.ts → index-DaXzQxos.d.ts} +2 -2
- package/dist/{index-Ds4OafGN.d.ts → index-DkF8wxHr.d.ts} +4 -4
- package/dist/{index-BnEhvmdR.d.ts → index-DyALKpjX.d.ts} +6 -4
- package/dist/{index-DZKv1WNB.d.ts → index-IfiA8CSr.d.ts} +3 -3
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-CEHqYyz5.d.ts → index-_VG-Bc2K.d.ts} +4 -4
- package/dist/{index-HLkEFNeu.d.ts → index-gw92L7ZG.d.ts} +13 -3
- package/dist/{index-GksCg4a4.d.ts → index-rbhycKiu.d.ts} +4 -4
- package/dist/{index-Cy1rEWC-.d.ts → index-rszZajcw.d.ts} +1 -1
- package/dist/index.d.ts +31 -31
- package/dist/index.js +128 -124
- package/dist/layerSurfacePress-C3PjPpJP.js +29 -0
- package/dist/{loadCatalog-85MyL2bm.js → loadCatalog-Bulk4H7U.js} +2 -2
- package/dist/{loadCatalog-DSRSkHnY.d.ts → loadCatalog-D_uf2uX1.d.ts} +36 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-C7RSY-JG.js → locale-BA52q_fh.js} +1 -1
- package/dist/{usePressFeedback-Dt76SpLj.js → pressFeedback-Bwwpex9q.js} +11 -49
- package/dist/{searchResultMessage-U_4q8zX3.js → searchResultMessage-CFmIy2Da.js} +2 -2
- package/dist/{sharedResizeObserver-9EFWnSWH.js → sharedResizeObserver-BekhnB3E.js} +5 -1
- package/dist/slotContent-CNWOrGOr.js +14 -0
- package/dist/{slug-DAK6hdbr.js → slug-D6ln5PTq.js} +3 -1
- package/dist/strayClick-CY-_ImKv.js +60 -0
- package/dist/textDirection-D4ObTwbB.js +32 -0
- package/dist/tooltipTriggerRules-Bg4tG8w2.js +53 -0
- package/dist/unicodeRegExp-B7yQnpFC.js +14 -0
- package/dist/{upstreamMap-CZUPxbc9.js → upstreamMap-DrkVNtXW.js} +2 -0
- package/dist/useActionGroupTracking-BncJjk1A.js +131 -0
- package/dist/{useAnchoredListbox-6t5zSSz1.js → useAnchoredListbox-9Gn8asBR.js} +3 -2
- package/dist/useCoarsePointer-GItEMrjX.js +21 -0
- package/dist/{usePositionedLayer-psKf3ano.js → useDismiss-0-Z-9D0A.js} +52 -52
- package/dist/{useFileSelection-BPtaegqK.js → useFileSelection-B44UpbvF.js} +14 -4
- package/dist/{useIndicator-DGWEjVpB.js → useIndicator--9mGGlT2.js} +2 -2
- package/dist/{useInputContainer-BP3u3hGz.js → useInputContainer-BpLtCA-U.js} +1 -1
- package/dist/{useInputStatusIcon-CTF4yF3e.js → useInputStatusIcon-DCnx00BM.js} +2 -2
- package/dist/{useLayer-Byjda3dD.js → useLayer-CED-g4Q2.js} +1 -1
- package/dist/{useMenuDrillIn-DJ4U_hF7.js → useMenuDrillIn-C5eJCuO1.js} +2 -2
- package/dist/{useMenuPress-8foxY8z4.js → useMenuPress-BLPwY_m1.js} +2 -59
- package/dist/usePressFeedback-Bcjsw9vv.js +49 -0
- package/dist/{useTooltip-BKsCTWdb.js → useTooltip-D8Tq7-yd.js} +36 -22
- package/dist/{useTranslator-BDUOzbP_.js → useTranslator-Q85hi4qz.js} +2 -2
- package/dist/useTruncation-C4pdlaXa.js +135 -0
- package/dist/useTruncationTooltip-BNk2xslw.js +106 -0
- package/dist/utils/index.js +1 -1
- package/dist/{utils-DsFqXaGf.js → utils-BTkg5Ie9.js} +2 -1
- package/locales/en.json +8 -0
- package/package.json +1 -1
- package/styles/alert-dialog.css +19 -0
- package/styles/badge.css +7 -2
- package/styles/banner.css +6 -0
- package/styles/button-group.css +17 -0
- package/styles/button.css +13 -4
- package/styles/calendar.css +38 -0
- package/styles/chat.css +4 -0
- package/styles/checkbox-indicator.css +9 -9
- package/styles/checkbox-input.css +4 -1
- package/styles/code.css +4 -1
- package/styles/context-menu.css +4 -0
- package/styles/dialog-header.css +2 -0
- package/styles/dropdown-menu.css +2 -0
- package/styles/empty-state.css +2 -0
- package/styles/field.css +2 -0
- package/styles/heading.css +4 -0
- package/styles/hover-card.css +2 -0
- package/styles/input-group.css +1 -0
- package/styles/layer.css +2 -0
- package/styles/lightbox.css +78 -0
- package/styles/link.css +5 -0
- package/styles/list.css +10 -1
- package/styles/markdown.css +1 -0
- package/styles/metadata-list.css +1 -1
- package/styles/more-menu.css +7 -0
- package/styles/multi-selector.css +2 -0
- package/styles/pagination.css +1 -0
- package/styles/power-search.css +2 -0
- package/styles/radio-indicator.css +21 -4
- package/styles/segmented-control.css +1 -0
- package/styles/side-nav.css +1 -0
- package/styles/slider.css +3 -0
- package/styles/stepper.css +1 -0
- package/styles/switch.css +2 -1
- package/styles/tab-list.css +3 -0
- package/styles/table.css +4 -1
- package/styles/text-area.css +1 -0
- package/styles/text-input.css +1 -0
- package/styles/text.css +8 -0
- package/styles/theme.css +5 -1
- package/styles/toast.css +2 -0
- package/styles/toggle-button.css +17 -0
- package/styles/token.css +14 -9
- package/styles/tokenizer.css +1 -0
- package/styles/toolbar.css +19 -0
- package/dist/Heading-D0zL1j5T.js +0 -99
- package/dist/context-B6UElI5X.js +0 -5
- package/dist/index-LySSG_PR.d.ts +0 -27
- package/dist/useTruncation-C02rA1-c.js +0 -102
- package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
- package/dist/{useRestoreFocus-XEKs5-gp.js → useRestoreFocus-CEG0n2AK.js} +1 -1
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-
|
|
1
|
+
import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-D4zmrP2a.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-bnxiN6Qe.js";
|
|
2
2
|
export { _sfc_main as Switch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
|
|
2
2
|
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
4
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
5
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
6
|
-
import { s as useAstryxMessages } from "./context-
|
|
6
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
7
7
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
8
|
-
import { t as _sfc_main$3 } from "./FieldLabel-
|
|
9
|
-
import { t as _sfc_main$4 } from "./FieldStatus-
|
|
8
|
+
import { t as _sfc_main$3 } from "./FieldLabel-C-IaUcP4.js";
|
|
9
|
+
import { t as _sfc_main$4 } from "./FieldStatus-DSUCli4W.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
11
11
|
import "../styles/switch.css";
|
|
12
12
|
//#region src/Switch/useSwitchAction.ts
|
package/dist/TabList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index
|
|
1
|
+
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-CM8KfpBL.js";
|
|
2
2
|
export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
|
package/dist/TabList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-8dlO0Ws6.js";
|
|
2
2
|
export { _sfc_main as Tab, _sfc_main$1 as TabList, _sfc_main$2 as TabMenu };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
|
|
2
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
3
|
-
import { t as _sfc_main$3 } from "./Icon-
|
|
4
|
+
import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
|
|
4
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
6
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
7
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
|
|
6
8
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
7
|
-
import {
|
|
8
|
-
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
9
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
9
10
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
10
11
|
import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
|
|
11
12
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
12
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, watch, withCtx, withModifiers } from "vue";
|
|
13
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, watch, withCtx, withModifiers } from "vue";
|
|
13
14
|
import "../styles/layer.css";
|
|
14
15
|
import "../styles/visually-hidden-utility.css";
|
|
15
16
|
import "../styles/tab-list.css";
|
|
@@ -62,11 +63,15 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
62
63
|
},
|
|
63
64
|
setup(__props) {
|
|
64
65
|
const props = __props;
|
|
66
|
+
const slots = useSlots();
|
|
65
67
|
const context = useTabListContext();
|
|
66
68
|
const linkComponent = useLinkComponent();
|
|
67
69
|
const rootRef = ref();
|
|
68
70
|
const isTabsPattern = computed(() => context.isTabsPattern.value);
|
|
69
71
|
const isSelected = computed(() => context.value.value === props.value);
|
|
72
|
+
function iconSlot() {
|
|
73
|
+
return isSelected.value && hasSlotContent(slots.selectedIcon) ? "selectedIcon" : "icon";
|
|
74
|
+
}
|
|
70
75
|
const tabIndex = computed(() => isSelected.value && !props.disabled ? 0 : -1);
|
|
71
76
|
const { pressableProps } = usePressFeedback({ hasOverlay: false });
|
|
72
77
|
const isLink = computed(() => !isTabsPattern.value && isNavigableHref(props.href, props.disabled));
|
|
@@ -142,9 +147,9 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
142
147
|
onKeydown: handleKeydown
|
|
143
148
|
}), {
|
|
144
149
|
default: withCtx(() => [
|
|
145
|
-
_ctx.$slots
|
|
150
|
+
unref(hasSlotContent)(_ctx.$slots[iconSlot()]) ? (openBlock(), createElementBlock("span", _hoisted_1$1, [renderSlot(_ctx.$slots, iconSlot())])) : createCommentVNode("v-if", true),
|
|
146
151
|
createElementVNode("span", { class: normalizeClass(["astryx-tab__label", { "astryx-visually-hidden": __props.isLabelHidden }]) }, [createElementVNode("span", _hoisted_2$1, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])]), !__props.isLabelHidden ? (openBlock(), createElementBlock("span", _hoisted_3$1, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])) : createCommentVNode("v-if", true)], 2),
|
|
147
|
-
_ctx.$slots.endContent ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "endContent")])) : createCommentVNode("v-if", true)
|
|
152
|
+
unref(hasSlotContent)(_ctx.$slots.endContent) ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "endContent")])) : createCommentVNode("v-if", true)
|
|
148
153
|
]),
|
|
149
154
|
_: 3
|
|
150
155
|
}, 16, [
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-
|
|
1
|
+
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-D4zmrP2a.js";
|
|
2
2
|
import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-fEGAFziz.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 TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, 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 UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, 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, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
package/dist/Table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-
|
|
1
|
+
import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-j_DCDbcI.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, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { t as _sfc_main$15 } from "./Icon-
|
|
2
|
-
import { t as _sfc_main$16 } from "./
|
|
3
|
-
import { t as _sfc_main$17 } from "./Button-7W3G5gok.js";
|
|
1
|
+
import { t as _sfc_main$15 } from "./Icon-BCHo7W0x.js";
|
|
2
|
+
import { i as _sfc_main$17, r as useCutTextOnKeyboardFocus, t as _sfc_main$16 } from "./Button-DsjdehLZ.js";
|
|
4
3
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
4
|
+
import { t as _sfc_main$18 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
5
|
import { n as firstCharacter } from "./characters-wTnzjkkR.js";
|
|
6
|
-
import { s as useAstryxMessages } from "./context-
|
|
7
|
-
import { n as useCollator } from "./locale-
|
|
6
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
7
|
+
import { n as useCollator } from "./locale-BA52q_fh.js";
|
|
8
8
|
import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
|
|
9
|
-
import { t as _sfc_main$
|
|
9
|
+
import { t as _sfc_main$19 } from "./Tooltip-CGHpFMnc.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
|
-
import { t as _sfc_main$
|
|
12
|
-
import { t as _sfc_main$
|
|
13
|
-
import { t as _sfc_main$
|
|
14
|
-
import { t as _sfc_main$
|
|
15
|
-
import { t as _sfc_main$
|
|
16
|
-
import { t as _sfc_main$
|
|
17
|
-
import { t as _sfc_main$
|
|
18
|
-
import { t as _sfc_main$
|
|
19
|
-
import { t as _sfc_main$
|
|
20
|
-
import { t as _sfc_main$
|
|
11
|
+
import { t as _sfc_main$20 } from "./CheckboxInput-uk8nuCEf.js";
|
|
12
|
+
import { t as _sfc_main$21 } from "./ComponentIcon-BRXBBKeG.js";
|
|
13
|
+
import { t as _sfc_main$22 } from "./Popover-Bd93LlDd.js";
|
|
14
|
+
import { t as _sfc_main$23 } from "./DateInput-DTxxFz9-.js";
|
|
15
|
+
import { t as _sfc_main$24 } from "./MultiSelector-Baca6xNx.js";
|
|
16
|
+
import { t as _sfc_main$25 } from "./NumberInput-BBFGZ4Fg.js";
|
|
17
|
+
import { t as _sfc_main$26 } from "./Pagination-Do_MIlo4.js";
|
|
18
|
+
import { t as _sfc_main$27 } from "./Selector-B9lINQRM.js";
|
|
19
|
+
import { t as _sfc_main$28 } from "./TextInput-givkH9HQ.js";
|
|
20
|
+
import { t as _sfc_main$29 } from "./Toolbar-BH_E0F0G.js";
|
|
21
21
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, watch, withCtx, withModifiers } from "vue";
|
|
22
22
|
import "../styles/layer.css";
|
|
23
23
|
import "../styles/table.css";
|
|
@@ -679,7 +679,7 @@ function useTablePagination(config) {
|
|
|
679
679
|
"class": "astryx-table__pagination",
|
|
680
680
|
"data-align": current.align ?? "center",
|
|
681
681
|
"data-place": place
|
|
682
|
-
}, [h(_sfc_main$
|
|
682
|
+
}, [h(_sfc_main$26, {
|
|
683
683
|
"page": current.page,
|
|
684
684
|
pageSize,
|
|
685
685
|
"total": current.totalItems ?? 0,
|
|
@@ -725,7 +725,7 @@ const _sfc_main$14 = /*@__PURE__*/ defineComponent({
|
|
|
725
725
|
"aria-expanded": __props.expanded ? "true" : "false",
|
|
726
726
|
"aria-label": __props.expanded ? unref(messages).table.collapseRow : unref(messages).table.expandRow,
|
|
727
727
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emit("toggle"), ["stop"]))
|
|
728
|
-
}, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon astryx-table__chevron-icon--slot", { "is-expanded": __props.expanded }]) }, [createVNode(_sfc_main$
|
|
728
|
+
}, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon astryx-table__chevron-icon--slot", { "is-expanded": __props.expanded }]) }, [createVNode(_sfc_main$21, {
|
|
729
729
|
"icon-slot": "table-row-expand",
|
|
730
730
|
state: { expanded: __props.expanded },
|
|
731
731
|
fallback: {
|
|
@@ -889,7 +889,7 @@ function useTableRowStatus(config) {
|
|
|
889
889
|
const status = toValue(config).getStatus(item);
|
|
890
890
|
if (status == null) return null;
|
|
891
891
|
const customColor = status.status == null && status.icon != null && NAMED_ICON_COLOR[status.color] == null ? status.color : void 0;
|
|
892
|
-
return h(_sfc_main$
|
|
892
|
+
return h(_sfc_main$19, { content: status.label }, { default: () => h("span", {
|
|
893
893
|
"class": "astryx-table__status",
|
|
894
894
|
"role": "img",
|
|
895
895
|
"aria-label": status.label,
|
|
@@ -1650,7 +1650,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1650
1650
|
return openBlock(), createElementBlock("div", {
|
|
1651
1651
|
class: "astryx-table__filter",
|
|
1652
1652
|
"data-variant": __props.filter.variant
|
|
1653
|
-
}, [__props.filter.variant === "inline" || __props.filter.variant === "inline-compact" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$
|
|
1653
|
+
}, [__props.filter.variant === "inline" || __props.filter.variant === "inline-compact" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$28, {
|
|
1654
1654
|
key: 0,
|
|
1655
1655
|
"model-value": textValue(draft.value),
|
|
1656
1656
|
label: __props.filter.field.label,
|
|
@@ -1662,7 +1662,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1662
1662
|
"model-value",
|
|
1663
1663
|
"label",
|
|
1664
1664
|
"placeholder"
|
|
1665
|
-
])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$
|
|
1665
|
+
])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$25, {
|
|
1666
1666
|
key: 1,
|
|
1667
1667
|
"model-value": numberValue(draft.value),
|
|
1668
1668
|
label: __props.filter.field.label,
|
|
@@ -1683,7 +1683,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1683
1683
|
"max",
|
|
1684
1684
|
"step",
|
|
1685
1685
|
"is-integer-only"
|
|
1686
|
-
])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$
|
|
1686
|
+
])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$23, {
|
|
1687
1687
|
key: 2,
|
|
1688
1688
|
"model-value": dateValue(draft.value),
|
|
1689
1689
|
label: __props.filter.field.label,
|
|
@@ -1696,7 +1696,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1696
1696
|
"model-value",
|
|
1697
1697
|
"label",
|
|
1698
1698
|
"placeholder"
|
|
1699
|
-
])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$
|
|
1699
|
+
])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$24, {
|
|
1700
1700
|
key: 3,
|
|
1701
1701
|
"model-value": listValue(draft.value),
|
|
1702
1702
|
label: __props.filter.field.label,
|
|
@@ -1714,7 +1714,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1714
1714
|
"options",
|
|
1715
1715
|
"placeholder",
|
|
1716
1716
|
"searchable"
|
|
1717
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
1717
|
+
])) : (openBlock(), createBlock(_sfc_main$27, {
|
|
1718
1718
|
key: 4,
|
|
1719
1719
|
"model-value": textValue(draft.value) || null,
|
|
1720
1720
|
label: __props.filter.field.label,
|
|
@@ -1728,13 +1728,13 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1728
1728
|
"label",
|
|
1729
1729
|
"placeholder",
|
|
1730
1730
|
"options"
|
|
1731
|
-
]))], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
1731
|
+
]))], 64)) : (openBlock(), createBlock(_sfc_main$22, {
|
|
1732
1732
|
key: 1,
|
|
1733
1733
|
label: triggerLabel.value,
|
|
1734
1734
|
"has-close-button": false,
|
|
1735
1735
|
width: 240
|
|
1736
1736
|
}, {
|
|
1737
|
-
content: withCtx(() => [createElementVNode("div", _hoisted_3$2, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$
|
|
1737
|
+
content: withCtx(() => [createElementVNode("div", _hoisted_3$2, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$28, {
|
|
1738
1738
|
key: 0,
|
|
1739
1739
|
"model-value": textValue(draft.value),
|
|
1740
1740
|
label: __props.filter.field.label,
|
|
@@ -1746,7 +1746,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1746
1746
|
"model-value",
|
|
1747
1747
|
"label",
|
|
1748
1748
|
"placeholder"
|
|
1749
|
-
])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$
|
|
1749
|
+
])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$25, {
|
|
1750
1750
|
key: 1,
|
|
1751
1751
|
"model-value": numberValue(draft.value),
|
|
1752
1752
|
label: __props.filter.field.label,
|
|
@@ -1766,7 +1766,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1766
1766
|
"max",
|
|
1767
1767
|
"step",
|
|
1768
1768
|
"is-integer-only"
|
|
1769
|
-
])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$
|
|
1769
|
+
])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$23, {
|
|
1770
1770
|
key: 2,
|
|
1771
1771
|
"model-value": dateValue(draft.value),
|
|
1772
1772
|
label: __props.filter.field.label,
|
|
@@ -1778,7 +1778,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1778
1778
|
"model-value",
|
|
1779
1779
|
"label",
|
|
1780
1780
|
"placeholder"
|
|
1781
|
-
])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$
|
|
1781
|
+
])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$24, {
|
|
1782
1782
|
key: 3,
|
|
1783
1783
|
"model-value": listValue(draft.value),
|
|
1784
1784
|
label: __props.filter.field.label,
|
|
@@ -1793,7 +1793,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1793
1793
|
"label",
|
|
1794
1794
|
"options",
|
|
1795
1795
|
"placeholder"
|
|
1796
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
1796
|
+
])) : (openBlock(), createBlock(_sfc_main$27, {
|
|
1797
1797
|
key: 4,
|
|
1798
1798
|
"model-value": textValue(draft.value) || null,
|
|
1799
1799
|
label: __props.filter.field.label,
|
|
@@ -1807,7 +1807,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1807
1807
|
"label",
|
|
1808
1808
|
"placeholder",
|
|
1809
1809
|
"options"
|
|
1810
|
-
])), createElementVNode("div", _hoisted_4$2, [createVNode(_sfc_main$
|
|
1810
|
+
])), createElementVNode("div", _hoisted_4$2, [createVNode(_sfc_main$16, {
|
|
1811
1811
|
variant: "ghost",
|
|
1812
1812
|
size: "sm",
|
|
1813
1813
|
label: unref(messages).table.reset,
|
|
@@ -1818,7 +1818,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1818
1818
|
}, {
|
|
1819
1819
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(messages).table.reset), 1)]),
|
|
1820
1820
|
_: 1
|
|
1821
|
-
}, 8, ["label"]), createVNode(_sfc_main$
|
|
1821
|
+
}, 8, ["label"]), createVNode(_sfc_main$16, {
|
|
1822
1822
|
variant: "primary",
|
|
1823
1823
|
size: "sm",
|
|
1824
1824
|
label: unref(messages).table.apply,
|
|
@@ -2028,6 +2028,36 @@ const _sfc_main$9 = /*@__PURE__*/ defineComponent({
|
|
|
2028
2028
|
}
|
|
2029
2029
|
});
|
|
2030
2030
|
//#endregion
|
|
2031
|
+
//#region src/Table/useHeaderCutText.ts
|
|
2032
|
+
/**
|
|
2033
|
+
* 表头标题被列宽截短时,键盘焦点到达单元格里的东西(可排序表头的排序按钮)
|
|
2034
|
+
* 就在提示里显示完整标题。鼠标悬停不显示。只在表格里的表头单元格上生效。
|
|
2035
|
+
* 监听挂在表头行或单元格上都行:焦点从哪个 `<th>` 里来,就量哪个。
|
|
2036
|
+
*/
|
|
2037
|
+
function useHeaderCutText() {
|
|
2038
|
+
const cell = shallowRef(null);
|
|
2039
|
+
const cut = useCutTextOnKeyboardFocus({
|
|
2040
|
+
anchor: () => cell.value,
|
|
2041
|
+
isEnabled: () => cell.value?.closest(".astryx-table") != null
|
|
2042
|
+
});
|
|
2043
|
+
return {
|
|
2044
|
+
cell,
|
|
2045
|
+
cutText: cut.cutText,
|
|
2046
|
+
onFocusin(event) {
|
|
2047
|
+
const target = event.target;
|
|
2048
|
+
const next = target instanceof Element ? target.closest("th") : null;
|
|
2049
|
+
if (next !== cell.value) cut.hide();
|
|
2050
|
+
cell.value = next;
|
|
2051
|
+
cut.onFocusin(event);
|
|
2052
|
+
},
|
|
2053
|
+
onFocusout: cut.onFocusout,
|
|
2054
|
+
onPointerdown: cut.hide,
|
|
2055
|
+
onKeydown(event) {
|
|
2056
|
+
if (event.key === "Escape") cut.hide();
|
|
2057
|
+
}
|
|
2058
|
+
};
|
|
2059
|
+
}
|
|
2060
|
+
//#endregion
|
|
2031
2061
|
//#region src/Table/useTableColumnResizeSession.ts
|
|
2032
2062
|
/**
|
|
2033
2063
|
* 表头列宽把手的指针拖动和键盘步进。
|
|
@@ -2253,6 +2283,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2253
2283
|
},
|
|
2254
2284
|
setup(__props) {
|
|
2255
2285
|
const props = __props;
|
|
2286
|
+
const headerCutText = useHeaderCutText();
|
|
2256
2287
|
const attrs = useAttrs();
|
|
2257
2288
|
const messages = useAstryxMessages();
|
|
2258
2289
|
const scrollRoot = ref(null);
|
|
@@ -2480,11 +2511,16 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2480
2511
|
"data-row-highlight": selection.value?.hasRowHighlight === false ? "off" : void 0,
|
|
2481
2512
|
"aria-rowcount": ariaRowCount.value,
|
|
2482
2513
|
style: normalizeStyle(tableStyle.value)
|
|
2483
|
-
}, [createElementVNode("thead",
|
|
2514
|
+
}, [createElementVNode("thead", {
|
|
2515
|
+
onFocusin: _cache[1] || (_cache[1] = (...args) => unref(headerCutText).onFocusin && unref(headerCutText).onFocusin(...args)),
|
|
2516
|
+
onFocusout: _cache[2] || (_cache[2] = (...args) => unref(headerCutText).onFocusout && unref(headerCutText).onFocusout(...args)),
|
|
2517
|
+
onPointerdown: _cache[3] || (_cache[3] = (...args) => unref(headerCutText).onPointerdown && unref(headerCutText).onPointerdown(...args)),
|
|
2518
|
+
onKeydown: _cache[4] || (_cache[4] = (...args) => unref(headerCutText).onKeydown && unref(headerCutText).onKeydown(...args))
|
|
2519
|
+
}, [createElementVNode("tr", null, [selection.value ? (openBlock(), createElementBlock("th", mergeProps({
|
|
2484
2520
|
key: 0,
|
|
2485
2521
|
class: ["astryx-table__select", selectCellPatch("header", null).class],
|
|
2486
2522
|
scope: "col"
|
|
2487
|
-
}, selectCellPatch("header", null).attrs, { style: selectCellPatch("header", null).style }), [createVNode(_sfc_main$
|
|
2523
|
+
}, selectCellPatch("header", null).attrs, { style: selectCellPatch("header", null).style }), [createVNode(_sfc_main$20, {
|
|
2488
2524
|
"model-value": selection.value.isIndeterminate() ? "indeterminate" : selection.value.isAllSelected(),
|
|
2489
2525
|
label: unref(messages).table.selectAllRows,
|
|
2490
2526
|
"is-label-hidden": "",
|
|
@@ -2514,7 +2550,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2514
2550
|
"aria-label": sortFor(column)?.label,
|
|
2515
2551
|
onClick: ($event) => sortFor(column)?.onClick($event)
|
|
2516
2552
|
}, [
|
|
2517
|
-
column.headerHidden ? (openBlock(), createBlock(_sfc_main$
|
|
2553
|
+
column.headerHidden ? (openBlock(), createBlock(_sfc_main$18, { key: 0 }, {
|
|
2518
2554
|
default: withCtx(() => [createTextVNode(toDisplayString(headerText(column)), 1)]),
|
|
2519
2555
|
_: 2
|
|
2520
2556
|
}, 1024)) : (openBlock(), createBlock(HeaderContent, {
|
|
@@ -2524,7 +2560,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2524
2560
|
createElementVNode("span", {
|
|
2525
2561
|
class: "astryx-table__sort-icon",
|
|
2526
2562
|
"data-active": sortFor(column)?.direction != null || void 0
|
|
2527
|
-
}, [createVNode(_sfc_main$
|
|
2563
|
+
}, [createVNode(_sfc_main$21, {
|
|
2528
2564
|
"icon-slot": "table-sort-indicator",
|
|
2529
2565
|
state: { direction: sortFor(column)?.direction ?? "none" },
|
|
2530
2566
|
fallback: {
|
|
@@ -2533,7 +2569,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2533
2569
|
}
|
|
2534
2570
|
}, null, 8, ["state", "fallback"])], 8, _hoisted_6),
|
|
2535
2571
|
sortFor(column)?.rank ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(sortFor(column)?.rank), 1)) : createCommentVNode("v-if", true)
|
|
2536
|
-
], 8, _hoisted_5)) : column.headerHidden ? (openBlock(), createBlock(_sfc_main$
|
|
2572
|
+
], 8, _hoisted_5)) : column.headerHidden ? (openBlock(), createBlock(_sfc_main$18, { key: 1 }, {
|
|
2537
2573
|
default: withCtx(() => [createTextVNode(toDisplayString(headerText(column)), 1)]),
|
|
2538
2574
|
_: 2
|
|
2539
2575
|
}, 1024)) : (openBlock(), createBlock(HeaderContent, {
|
|
@@ -2563,7 +2599,11 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2563
2599
|
onKeydown: ($event) => unref(onResizeKeydown)($event, column)
|
|
2564
2600
|
}, null, 40, _hoisted_8)) : createCommentVNode("v-if", true)
|
|
2565
2601
|
], 16, _hoisted_2);
|
|
2566
|
-
}), 128))])
|
|
2602
|
+
}), 128))]), unref(headerCutText).cutText.value != null ? (openBlock(), createBlock(_sfc_main$17, {
|
|
2603
|
+
key: 0,
|
|
2604
|
+
anchor: unref(headerCutText).cell.value,
|
|
2605
|
+
text: unref(headerCutText).cutText.value
|
|
2606
|
+
}, null, 8, ["anchor", "text"])) : createCommentVNode("v-if", true)], 32), createElementVNode("tbody", null, [__props.rows.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_9, [createElementVNode("td", {
|
|
2567
2607
|
class: "astryx-table__empty",
|
|
2568
2608
|
colspan: columnCount.value
|
|
2569
2609
|
}, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(unref(messages).table.noData), 1)])], 8, _hoisted_10)])) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(entries.value, (entry) => {
|
|
@@ -2605,7 +2645,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2605
2645
|
])], 8, _hoisted_12)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [selection.value && !entry.patch.suppressSelection ? (openBlock(), createElementBlock("td", mergeProps({
|
|
2606
2646
|
key: 0,
|
|
2607
2647
|
class: ["astryx-table__select", selectCellPatch("body", entry.row).class]
|
|
2608
|
-
}, { ref_for: true }, selectCellPatch("body", entry.row).attrs, { style: selectCellPatch("body", entry.row).style }), [selection.value.isSelectable?.(entry.row) !== false ? (openBlock(), createBlock(_sfc_main$
|
|
2648
|
+
}, { ref_for: true }, selectCellPatch("body", entry.row).attrs, { style: selectCellPatch("body", entry.row).style }), [selection.value.isSelectable?.(entry.row) !== false ? (openBlock(), createBlock(_sfc_main$20, {
|
|
2609
2649
|
key: 0,
|
|
2610
2650
|
"model-value": selection.value.isSelected(entry.row),
|
|
2611
2651
|
label: selection.value.rowLabel?.(entry.row) ? unref(messages).table.selectRowNamed(selection.value.rowLabel(entry.row)) : unref(messages).table.selectRow,
|
|
@@ -2655,7 +2695,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2655
2695
|
x: menu.value.x,
|
|
2656
2696
|
y: menu.value.y,
|
|
2657
2697
|
items: menu.value.items,
|
|
2658
|
-
onClose: _cache[
|
|
2698
|
+
onClose: _cache[5] || (_cache[5] = ($event) => menu.value = null)
|
|
2659
2699
|
}, null, 8, [
|
|
2660
2700
|
"x",
|
|
2661
2701
|
"y",
|
|
@@ -2855,13 +2895,22 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
2855
2895
|
headers: {}
|
|
2856
2896
|
},
|
|
2857
2897
|
setup(__props) {
|
|
2898
|
+
const headerCutText = useHeaderCutText();
|
|
2858
2899
|
return (_ctx, _cache) => {
|
|
2859
2900
|
return openBlock(), createElementBlock("th", {
|
|
2860
2901
|
scope: "col",
|
|
2861
2902
|
"data-align": __props.align,
|
|
2862
2903
|
colspan: __props.colSpan,
|
|
2863
|
-
rowspan: __props.rowSpan
|
|
2864
|
-
|
|
2904
|
+
rowspan: __props.rowSpan,
|
|
2905
|
+
onFocusin: _cache[0] || (_cache[0] = (...args) => unref(headerCutText).onFocusin && unref(headerCutText).onFocusin(...args)),
|
|
2906
|
+
onFocusout: _cache[1] || (_cache[1] = (...args) => unref(headerCutText).onFocusout && unref(headerCutText).onFocusout(...args)),
|
|
2907
|
+
onPointerdown: _cache[2] || (_cache[2] = (...args) => unref(headerCutText).onPointerdown && unref(headerCutText).onPointerdown(...args)),
|
|
2908
|
+
onKeydown: _cache[3] || (_cache[3] = (...args) => unref(headerCutText).onKeydown && unref(headerCutText).onKeydown(...args))
|
|
2909
|
+
}, [renderSlot(_ctx.$slots, "default"), unref(headerCutText).cutText.value != null ? (openBlock(), createBlock(_sfc_main$17, {
|
|
2910
|
+
key: 0,
|
|
2911
|
+
anchor: unref(headerCutText).cell.value,
|
|
2912
|
+
text: unref(headerCutText).cutText.value
|
|
2913
|
+
}, null, 8, ["anchor", "text"])) : createCommentVNode("v-if", true)], 40, _hoisted_1$2);
|
|
2865
2914
|
};
|
|
2866
2915
|
}
|
|
2867
2916
|
});
|
|
@@ -2909,14 +2958,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2909
2958
|
emit("clear");
|
|
2910
2959
|
}
|
|
2911
2960
|
return (_ctx, _cache) => {
|
|
2912
|
-
return isVisible.value ? (openBlock(), createBlock(_sfc_main$
|
|
2961
|
+
return isVisible.value ? (openBlock(), createBlock(_sfc_main$29, {
|
|
2913
2962
|
key: 0,
|
|
2914
2963
|
class: "astryx-table-selection-toolbar",
|
|
2915
2964
|
label: resolvedLabel.value,
|
|
2916
2965
|
size: __props.size,
|
|
2917
2966
|
variant: __props.variant
|
|
2918
2967
|
}, createSlots({
|
|
2919
|
-
end: withCtx(() => [createElementVNode("span", _hoisted_1, [renderSlot(_ctx.$slots, "label", { count: effectiveCount.value }, () => [createTextVNode(toDisplayString(resolvedCountLabel.value), 1)])]), createVNode(_sfc_main$
|
|
2968
|
+
end: withCtx(() => [createElementVNode("span", _hoisted_1, [renderSlot(_ctx.$slots, "label", { count: effectiveCount.value }, () => [createTextVNode(toDisplayString(resolvedCountLabel.value), 1)])]), createVNode(_sfc_main$16, {
|
|
2920
2969
|
class: "astryx-table-selection-toolbar__clear",
|
|
2921
2970
|
label: resolvedClearLabel.value,
|
|
2922
2971
|
size: __props.size,
|
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 {
|
|
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 };
|
|
2
|
+
import { n as useTruncation, r as _default, t as Truncation } from "../index-CtYlR9Cu.js";
|
|
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
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as useTruncation } from "../useTruncation-C4pdlaXa.js";
|
|
2
|
+
import { t as _sfc_main } from "../Text-WB-fpFne.js";
|
|
3
|
+
export { _sfc_main as Text, useTruncation };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { n as
|
|
3
|
-
import { t as _sfc_main$1 } from "./Tooltip-BfKegFfq.js";
|
|
2
|
+
import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-BNk2xslw.js";
|
|
4
3
|
import { t as TextClampContext } from "./textClampContext-o3-nLErq.js";
|
|
5
|
-
import { computed, createBlock, defineComponent, mergeProps, openBlock, provide, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
|
|
4
|
+
import { computed, createBlock, createCommentVNode, defineComponent, mergeProps, openBlock, provide, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
|
|
6
5
|
import "../styles/text.css";
|
|
7
6
|
//#region src/Text/Text.vue
|
|
8
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -37,8 +36,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
37
36
|
const weight = computed(() => props.weight === "normal" ? "regular" : props.weight);
|
|
38
37
|
const isBlock = computed(() => props.display === "block" || props.maxLines > 0 || props.hasCapsize);
|
|
39
38
|
const wordBreak = computed(() => props.wordBreak ?? (props.maxLines === 1 ? "break-all" : props.maxLines > 1 ? "break-word" : void 0));
|
|
40
|
-
const
|
|
41
|
-
const
|
|
39
|
+
const tooltip = useTruncationTooltip(() => props.maxLines, () => props.hasTruncateTooltip);
|
|
40
|
+
const { interest } = tooltip;
|
|
42
41
|
const attrs = useAttrs();
|
|
43
42
|
/** 只有 capsize 会把多行截断取消掉(它把 display 改回 block);单行截断不受影响。 */
|
|
44
43
|
const isClamped = computed(() => props.maxLines === 1 || props.maxLines > 1 && !props.hasCapsize);
|
|
@@ -65,33 +64,37 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
65
64
|
return {};
|
|
66
65
|
});
|
|
67
66
|
return (_ctx, _cache) => {
|
|
68
|
-
return
|
|
69
|
-
key: 0,
|
|
70
|
-
"anchors-on-self": "",
|
|
71
|
-
"has-hover-indication": false,
|
|
72
|
-
content: unref(truncation).fullText.value,
|
|
73
|
-
"is-enabled": unref(truncation).isTruncated.value,
|
|
74
|
-
placement: placement.value
|
|
75
|
-
}, {
|
|
76
|
-
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ ref: unref(truncation).bind }, unref(attrs), {
|
|
77
|
-
class: ["astryx-text", classes.value],
|
|
78
|
-
style: style.value
|
|
79
|
-
}), {
|
|
80
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
81
|
-
_: 3
|
|
82
|
-
}, 16, ["class", "style"]))]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 8, [
|
|
85
|
-
"content",
|
|
86
|
-
"is-enabled",
|
|
87
|
-
"placement"
|
|
88
|
-
])) : (openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ key: 1 }, unref(attrs), {
|
|
67
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ ref: unref(tooltip).bind }, unref(attrs), {
|
|
89
68
|
class: ["astryx-text", classes.value],
|
|
90
|
-
style: style.value
|
|
69
|
+
style: style.value,
|
|
70
|
+
onPointerenter: unref(interest).onPointerenter,
|
|
71
|
+
onPointerleave: unref(interest).onPointerleave,
|
|
72
|
+
onPointerdown: unref(interest).onPointerdown,
|
|
73
|
+
onFocusin: unref(interest).onFocusin,
|
|
74
|
+
onFocusout: unref(interest).onFocusout
|
|
91
75
|
}), {
|
|
92
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")
|
|
76
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default"), unref(tooltip).isMounted.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
77
|
+
key: 0,
|
|
78
|
+
anchor: unref(tooltip).element.value,
|
|
79
|
+
content: unref(tooltip).truncation.fullText.value,
|
|
80
|
+
placement: unref(tooltip).placement.value,
|
|
81
|
+
interest: unref(interest).state
|
|
82
|
+
}, null, 8, [
|
|
83
|
+
"anchor",
|
|
84
|
+
"content",
|
|
85
|
+
"placement",
|
|
86
|
+
"interest"
|
|
87
|
+
])) : createCommentVNode("v-if", true)]),
|
|
93
88
|
_: 3
|
|
94
|
-
}, 16, [
|
|
89
|
+
}, 16, [
|
|
90
|
+
"class",
|
|
91
|
+
"style",
|
|
92
|
+
"onPointerenter",
|
|
93
|
+
"onPointerleave",
|
|
94
|
+
"onPointerdown",
|
|
95
|
+
"onFocusin",
|
|
96
|
+
"onFocusout"
|
|
97
|
+
]);
|
|
95
98
|
};
|
|
96
99
|
}
|
|
97
100
|
});
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-
|
|
1
|
+
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-D4zmrP2a.js";
|
|
2
2
|
export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
|
package/dist/TextArea/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextArea-
|
|
1
|
+
import { t as _sfc_main } from "../TextArea-Bzz_KcKT.js";
|
|
2
2
|
export { _sfc_main as TextArea };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { n as _sfc_main$2 } from "./Button-DsjdehLZ.js";
|
|
4
|
+
import { t as _sfc_main$3 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
6
6
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
7
7
|
import { t as characterCount } from "./characters-wTnzjkkR.js";
|
|
8
8
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
9
|
-
import { t as useInputContainer } from "./useInputContainer-
|
|
10
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
11
|
-
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-
|
|
9
|
+
import { t as useInputContainer } from "./useInputContainer-BpLtCA-U.js";
|
|
10
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-BJAaKJjM.js";
|
|
11
|
+
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
12
12
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
13
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$6 } from "./Field-if5a58LO.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
15
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
15
|
+
import { t as _sfc_main$7 } from "./InputClearButton-DhvxPkK6.js";
|
|
16
16
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
17
17
|
import "../styles/text-area.css";
|
|
18
18
|
//#region src/TextArea/useTextAreaAction.ts
|
|
@@ -410,7 +410,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
410
410
|
label: resolvedClearLabel.value,
|
|
411
411
|
onClick: clear
|
|
412
412
|
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
413
|
-
busy.value ? (openBlock(), createBlock(_sfc_main$
|
|
413
|
+
busy.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
414
414
|
key: 4,
|
|
415
415
|
class: "astryx-text-area-spinner",
|
|
416
416
|
label: __props.loadingLabel
|
|
@@ -444,7 +444,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
444
444
|
"class",
|
|
445
445
|
"style"
|
|
446
446
|
]),
|
|
447
|
-
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$
|
|
447
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
448
448
|
key: 0,
|
|
449
449
|
id: disabledDescriptionId
|
|
450
450
|
}, {
|