@astryx-vue/core 0.25.0 → 0.26.1
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-Cub9_aPC.js → AlertDialog-CGGkPG4T.js} +192 -6
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-D62A7lqZ.js → AppShell-DGJgCvS6.js} +6 -6
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BKoSK75s.js → Avatar-DpFHPRlE.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +1 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-cg2nXT_4.js → Banner-DVU5-fWC.js} +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DGhRZLw4.js → BottomSheet-Dn8gpT4m.js} +9 -6
- package/dist/{BottomSheet-CpLYy3vb.js → BottomSheet-gctYQ3sV.js} +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D-nHDHV8.js → Breadcrumbs-BZsjHn_5.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-D8AGK5oT.js → Button-yJiHoWps.js} +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DrCG9wbP.js → Carousel-DPhwOTjx.js} +1 -1
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-U1qq8gkF.js → Chat-RE_6Ez79.js} +206 -44
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-qm6lkjAw.js → CheckboxInput-C-UseBJo.js} +5 -5
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DuCKhJHJ.js → CheckboxList-CWHlG8Jq.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-PMZd9dQ9.js → CodeBlock-3QLhu3jZ.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BmUloCSR.js → Collapsible-BSRdsb6w.js} +3 -3
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-Cy7trpD3.js → CommandPalette-CtY5ZCR7.js} +50 -20
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DMBiVQWp.js → ComplexSelector-DI3J30Ho.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-63ay7EE-.js → ContextMenu-CVf4OqJP.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-B3Q91FDT.js → DateInput-DK-FI37x.js} +14 -33
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B6Z66OsH.js → DateRangeInput-ClriBc4F.js} +6 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B_7cn7ze.js → DateTimeInput-BdXkBBYi.js} +7 -7
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CBPD5b-S.js → Dialog-CKDlXonX.js} +1 -1
- package/dist/{Dialog-C4FZ7p7Q.js → Dialog-DjhG_vpE.js} +3 -3
- package/dist/{DialogHeader-CQ3pnLYi.js → DialogHeader-C1Bz4Knk.js} +2 -2
- 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-BOwQLKm9.js → Drawer-BqcPP0z7.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-9CR9TiKG.js → DropdownMenu-CdwEvDld.js} +3 -3
- package/dist/{DropdownMenu-DwIfoTnV.js → DropdownMenu-q5euMYv-.js} +40 -11
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BG5g2jwJ.js → EmptyState-DNjqNAT3.js} +4 -50
- package/dist/Field/index.d.ts +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-eAowUUMX.js → Field-DrUMz0oj.js} +2 -2
- package/dist/{FieldInfoTip-Dwl9HNp1.js → FieldInfoTip-DmDOcxU1.js} +1 -1
- package/dist/{FieldLabel-CgYk-ORu.js → FieldLabel-DsFZnW1l.js} +3 -3
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-B7zeePbM.js → FileInput-0u4zjJfx.js} +135 -85
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-CGJVeNsL.js → FormLayout-0_X9o-L4.js} +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-B1dNZQtu.js → Heading-BG1PBVkf.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-CZhfsvP4.js → HoverCard-Fr6RLRR8.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-D9ZRJ7vD.js → IconButton-CEjiXpUg.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-LJi9llxi.js → InfoTip-CKRaCO6I.js} +1 -1
- package/dist/{InputClearButton-C-j9Nf1s.js → InputClearButton-ByUJXRmY.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-B8PGJZKH.js → InputGroup-H8DP0TAG.js} +6 -6
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DaZS5Dch.js → InternationalizationProvider-8qllKdVk.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DOIeCgs4.js → Layout-094k14rN.js} +1 -1
- package/dist/{LayoutPanel-C7Wsid2W.js → LayoutPanel-BPboQAJj.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-BOWTHnTb.js → Lightbox-LI6h7LFn.js} +3 -3
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B75ygGzG.js → Link-Dx2ql41g.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cqrcj-ct.js → Markdown-BHWf2IOO.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DLpEONfs.js → MobileNavToggle-Dx7rmb-V.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-aR88r9xp.js → MoreMenu-DAq29azZ.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-UTaDe-YT.js → MultiSelector-BUXFzIla.js} +8 -8
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-DS6y8ZAY.js → NavMenu-BoKuJq-K.js} +1 -1
- package/dist/{NavMenuItem-BqIi3o3D.js → NavMenuItem-Ez3_K8iI.js} +1 -1
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-ClkOGF5j.js → NumberInput-lqUmTsqB.js} +386 -99
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-UnVXBDIW.js → OverflowList-B6En7wIj.js} +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-CTCLE02h.js → Pagination-CRrou1P-.js} +60 -49
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/Popover-sERt08TR.js +1247 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BBOum0TP.js → PowerSearch-CiVIW13b.js} +230 -143
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Bgg6zsKR.js → ProgressBar-yw2BCtB_.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DPy5JQhm.js → RadioGroup-B8QoJyJu.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-UN7IxQg8.js → RadioList-BEv82wbs.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- 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-CCtsUveZ.js → Selector-Bj4q6aT5.js} +6 -6
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-COl5ApOz.js → SideNav-CHSwzwTt.js} +7 -7
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CYie9hWm.js → Slider-Bmksx8ng.js} +4 -4
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-CHfgSYmv.js → StatusDot-Bz4l43St.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-D24CvhDS.js → Switch-CeNEvvTn.js} +5 -5
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DToCh5JW.js → TabList-BLLxHXwu.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D3mzxBr0.js → Table-DEqfIA3q.js} +16 -16
- package/dist/Text/index.js +1 -1
- package/dist/{Text-5p-eZodt.js → Text-DkSHitKh.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bp6D-riO.js → TextArea-CAcjMvls.js} +56 -22
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BYslwBDZ.js → TextInput-BvQQTG75.js} +78 -34
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-B_a8tOS7.js → Thumbnail-Bv-M13fy.js} +2 -2
- package/dist/{TimeField-MDSJny9m.js → TimeField-hB88chlQ.js} +13 -32
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-B19amuxi.js → TimeInput-JrTs9r66.js} +3 -3
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-BD3tfzrF.js → Timer-qjI_QrCz.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CqWoZUKM.js → Timestamp-CJ_HUcek.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BKPl8iIr.js → Toast-CFpOSuAr.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DfpsuhMa.js → ToggleButton-BtXMvoOA.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-C-eorFsF.js → Tokenizer-2zj57yDt.js} +4 -4
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-88zhGfzF.js → Tooltip-ByLqPCP7.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-DMFIsFwy.js → TopNav-Ce79A3zT.js} +3 -3
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-nU2gSmQm.js → TreeList-BEPHdVYu.js} +2 -2
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-DUQfmy_r.js → Typeahead-CBrUdbHv.js} +4 -4
- package/dist/{types-fRasDCe4.d.ts → adaptationTypes-Cn_pfrsw.d.ts} +155 -155
- package/dist/animator-BooLoGyI.js +3164 -0
- package/dist/announceRenderedText-CslZ0cev.js +50 -0
- package/dist/{assertOptions-DVRsfCk1.js → assertOptions-CJgNig1l.js} +2 -2
- package/dist/{batch-DR5SgbnX.js → batch-CM-vJhQg.js} +2 -278
- package/dist/{handle-ma1yF_B_.js → bezier-Cts7gENO.js} +1 -21
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +7 -7
- package/dist/{composables-Do86VAmM.js → composables-BtqijTIO.js} +5 -3163
- package/dist/{context-DsNhYm5O.js → context-CrVCeUUK.js} +1 -1
- package/dist/context-DH8E-qjm.js +173 -0
- package/dist/{edge-qfeek_VV.js → edge-BYXwSggM.js} +1 -1
- package/dist/{edgeRide-iWUNdlxe.js → edgeRide-B5mlN2Q4.js} +3 -3
- package/dist/escape-DzSxSmez.js +10 -0
- package/dist/{field-CehUqCe0.js → field-BaUBjqf5.js} +4 -2
- package/dist/{fieldParts-CbWvZLhH.js → fieldParts-CuE5V12i.js} +1 -1
- package/dist/{focusLeaving-Dqm8Yj4T.js → focusLeaving-DMkbxFkF.js} +1 -1
- package/dist/{focusReturn-C1cFL3WM.js → focusReturn-DfZS7TCp.js} +1 -1
- package/dist/handle-BazRxHwq.js +22 -0
- package/dist/holdEntranceInput-DMCOeRqu.js +37 -0
- package/dist/{index-CsYDrQ9R.d.ts → index-668zPVsH.d.ts} +1 -1
- package/dist/{index-CnVjgLP5.d.ts → index-B5aHF0Ml.d.ts} +1 -2
- package/dist/{index-CuW4AQ7M.d.ts → index-BD-Pxni9.d.ts} +3 -3
- package/dist/{index-DDAcxZAP.d.ts → index-BZUVNr2c.d.ts} +1 -1
- package/dist/{index-B52PMrO7.d.ts → index-BdhQpERn.d.ts} +7 -7
- package/dist/{index-CEjvYAUZ.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-Qdbssopn.d.ts → index-BjqoHLMq.d.ts} +4 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-0RIgvtdm.d.ts → index-C2zWUiJ1.d.ts} +2 -2
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-CB6VQETg.d.ts} +2 -2
- package/dist/{index-BfoazhEu.d.ts → index-CTXG-KKT.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-_FjbcSgD.d.ts → index-CnOH43-f.d.ts} +1 -2
- package/dist/index-CuFLztiI.d.ts +49 -0
- package/dist/{index-QnlWyUxN.d.ts → index-D14kSf-g.d.ts} +4 -4
- package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
- package/dist/index-DHUCHxn2.d.ts +69 -0
- package/dist/{index-GmoeIuhl.d.ts → index-DMZ5SKJJ.d.ts} +35 -3
- package/dist/{index-CO9GW-ik.d.ts → index-DPklTi3o.d.ts} +1 -1
- package/dist/{index-Dcxqzk_d.d.ts → index-DSMv6W8s.d.ts} +8 -8
- package/dist/{index-BjmMJ_4E.d.ts → index-DY1kpap1.d.ts} +1657 -275
- package/dist/{index-DxR6cZBf.d.ts → index-DZCpswvp.d.ts} +1 -1
- package/dist/{index-BhdxP-OG.d.ts → index-DeZ11MNP.d.ts} +2 -2
- package/dist/{index-lmd9LZKB.d.ts → index-DlKz3dB1.d.ts} +6 -3
- package/dist/{index-CbA8rR_b.d.ts → index-FeZXsFO-.d.ts} +2 -2
- package/dist/{index-CH-xSiJz.d.ts → index-LqFjvL4C.d.ts} +4 -4
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-Otl047R1.d.ts} +1 -1
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
- package/dist/{index-DGXCnzOL.d.ts → index-aHC2C89h.d.ts} +1 -1
- package/dist/{index-DYabo8TI.d.ts → index-eCp-ElSp.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-0pBqcQXV.d.ts → index-tpkJfk6X.d.ts} +6 -1
- package/dist/index.d.ts +49 -52
- package/dist/index.js +90 -90
- package/dist/{holdEntranceInput-DjEzfGRU.js → inputHold-BmChuR9x.js} +87 -85
- package/dist/inputHoldState-pblUT4oh.js +39 -0
- package/dist/{interactionModality-CedLz5PC.js → interactionModality-4Km2ibsq.js} +4 -3
- package/dist/{landing-qVsYAZ-v.js → landing-B9Uvex6x.js} +3 -2
- package/dist/{layerFocusReturn-KvH6DMFT.js → layerFocusReturn-CEvrMbxH.js} +1 -1
- package/dist/lazyBottomSheet-CxEu25bK.js +16 -0
- package/dist/{loadCatalog-BeQt6Uq-.js → loadCatalog-BRd5XCbW.js} +24 -1
- package/dist/{loadCatalog-C8mRnC0E.d.ts → loadCatalog-CLm4V7mm.d.ts} +100 -2
- package/dist/locale/index.d.ts +2 -3
- package/dist/locale/index.js +3 -3
- package/dist/{locale-B4FpGKpc.js → locale-BkAezFog.js} +1 -1
- package/dist/{useHeldPresentation-fQsuYFhz.js → presentationHold-7IkbR4d8.js} +14 -22
- package/dist/progress-FQfSgLZC.js +38 -0
- package/dist/renderedText-BwJdmps3.js +32 -0
- package/dist/textEntryTraits-cb0LZSNl.js +11 -0
- package/dist/themeTiming-CWEvdh31.js +287 -0
- package/dist/{tooltipFocusRules-CFNKWzYn.js → tooltipFocusRules-DvVDuqZI.js} +1 -1
- package/dist/{context-WY1ippwe.js → transientCopy-VAsg2a46.js} +1 -172
- package/dist/{types-OGMYGejX.d.ts → types-BA1veIoa.d.ts} +25 -2
- package/dist/{types-bAQk3F8G.d.ts → types-Cvh2VwQZ.d.ts} +4 -2
- package/dist/{types-C1ydeFiu.d.ts → types-DL-hRibg.d.ts} +1 -1
- package/dist/{useChatStreamScroll-BIMKffDA.js → useChatStreamScroll-Cv51kRT0.js} +91 -30
- package/dist/useEntryErrorReport-Wee3N8IA.js +51 -0
- package/dist/{useFocusTrap-DTz_d7IP.js → useFocusTrap-BD9POtMp.js} +2 -2
- package/dist/useHeldPresentation-7MH-RlSF.js +24 -0
- package/dist/{useInputStatusIcon-B6m_t8cK.d.ts → useInputStatusIcon-CFkOmDS4.d.ts} +1 -1
- package/dist/{useInputStatusIcon-BFw-EXjJ.js → useInputStatusIcon-CGj9gMj8.js} +1 -1
- package/dist/{useMenuDrillIn-CDn2na4X.js → useMenuDrillIn-CP0P49ej.js} +1 -1
- package/dist/{useMenuPress-CxUqSUZ9.js → useMenuPress-DU6pAIHy.js} +4 -2
- package/dist/{useRestoreFocus-BxooFhas.js → useRestoreFocus-AeZABFZN.js} +2 -2
- package/dist/{useTooltip-CJHbG8Pv.js → useTooltip-Bsm43vbi.js} +5 -35
- package/dist/{useTouchTriggerInternal-Bdm_M4aa.js → useTouchTriggerInternal-Bl602PtA.js} +1 -1
- package/dist/{useTruncationTooltip-BTcr1LCR.js → useTruncationTooltip-wc6Lzz34.js} +3 -3
- package/package.json +1 -1
- package/styles/alert-dialog.css +5 -0
- package/styles/chat.css +45 -17
- package/styles/command-palette.css +9 -6
- package/styles/dropdown-menu.css +47 -38
- package/styles/file-input.css +8 -1
- package/styles/input-group.css +0 -15
- package/styles/number-input.css +49 -4
- package/styles/pagination.css +0 -22
- package/styles/popover.css +13 -0
- package/styles/text-area.css +16 -1
- package/styles/text-input.css +26 -5
- package/dist/Popover-CZvRSqqD.js +0 -374
- package/dist/index-B63NOJRc.d.ts +0 -957
- package/dist/index-B9WzWqzk.d.ts +0 -18
- package/dist/index-BtgkNd0Q.d.ts +0 -446
- package/dist/power-search-CuMzfLwW.d.ts +0 -87
- package/dist/types-DIYwbkpe.d.ts +0 -33
- package/dist/{index-CHx33xGa.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-C7_S7qUA.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./LayerContentBoundary-LCQLyxBT.js";
|
|
4
|
-
import { a as isMenuPressActivation } from "./useMenuPress-
|
|
4
|
+
import { a as isMenuPressActivation } from "./useMenuPress-DU6pAIHy.js";
|
|
5
5
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./Item-DUI1Qnnd.js";
|
|
7
|
-
import { n as useDropdownMenuMessages, s as useDropdownMenuContext } from "./useMenuDrillIn-
|
|
8
|
-
import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-
|
|
7
|
+
import { n as useDropdownMenuMessages, s as useDropdownMenuContext } from "./useMenuDrillIn-CP0P49ej.js";
|
|
8
|
+
import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-q5euMYv-.js";
|
|
9
9
|
import { n as clampInlineSize, r as isIntrinsicInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
10
10
|
import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
|
|
11
11
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
2
|
import { t as _sfc_main$7 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
|
-
import { t as _sfc_main$8 } from "./Button-
|
|
4
|
+
import { t as _sfc_main$8 } from "./Button-yJiHoWps.js";
|
|
5
5
|
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-C7_S7qUA.js";
|
|
6
6
|
import { t as _sfc_main$9 } from "./LayerContentBoundary-LCQLyxBT.js";
|
|
7
|
-
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-
|
|
7
|
+
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
8
8
|
import { r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
9
|
-
import { a as isMenuPressActivation, t as useMenuPress } from "./useMenuPress-
|
|
9
|
+
import { a as isMenuPressActivation, t as useMenuPress } from "./useMenuPress-DU6pAIHy.js";
|
|
10
10
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
11
11
|
import { t as useTypeahead } from "./useTypeahead-BGpvWkzm.js";
|
|
12
|
+
import { t as holdEntranceInput } from "./holdEntranceInput-DMCOeRqu.js";
|
|
12
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
13
14
|
import { t as _sfc_main$10 } from "./Item-DUI1Qnnd.js";
|
|
14
|
-
import { a as _sfc_main$12, i as _sfc_main$13, n as useDropdownMenuMessages, o as dropdownMenuContextKey, r as _sfc_main$11, s as useDropdownMenuContext, t as useMenuDrillIn } from "./useMenuDrillIn-
|
|
15
|
+
import { a as _sfc_main$12, i as _sfc_main$13, n as useDropdownMenuMessages, o as dropdownMenuContextKey, r as _sfc_main$11, s as useDropdownMenuContext, t as useMenuDrillIn } from "./useMenuDrillIn-CP0P49ej.js";
|
|
15
16
|
import { n as clampInlineSize, r as isIntrinsicInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
|
|
16
|
-
import { t as useHeldPresentation } from "./useHeldPresentation-
|
|
17
|
+
import { t as useHeldPresentation } from "./useHeldPresentation-7MH-RlSF.js";
|
|
18
|
+
import { t as LazyBottomSheet } from "./lazyBottomSheet-CxEu25bK.js";
|
|
17
19
|
import { t as _sfc_main$14 } from "./Divider-mOZ6vIQw.js";
|
|
18
20
|
import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BqiaK6ot.js";
|
|
19
|
-
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode,
|
|
21
|
+
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, inject, markRaw, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useSlots, vShow, watch, withCtx, withDirectives } from "vue";
|
|
20
22
|
import "../styles/dropdown-menu.css";
|
|
21
23
|
//#region src/composables/internal/useFocusReturnVisibility.ts
|
|
22
24
|
/**
|
|
@@ -58,10 +60,6 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
58
60
|
//#region src/DropdownMenu/frame.ts
|
|
59
61
|
const dropdownMenuFrameKey = Symbol("astryx-dropdown-menu-frame");
|
|
60
62
|
//#endregion
|
|
61
|
-
//#region src/DropdownMenu/lazyMenuBottomSheet.ts
|
|
62
|
-
/** 只在底部面板真正进入组件树时请求;普通 popover 菜单不会触发这次 import。 */
|
|
63
|
-
const MenuBottomSheet = defineAsyncComponent(() => import("./BottomSheet-DGhRZLw4.js").then((n) => n.t));
|
|
64
|
-
//#endregion
|
|
65
63
|
//#region src/DropdownMenu/DropdownMenuDivider.vue
|
|
66
64
|
const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
67
65
|
name: "AstryxDropdownMenuDivider",
|
|
@@ -420,7 +418,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
420
418
|
isClient.value = true;
|
|
421
419
|
});
|
|
422
420
|
return (_ctx, _cache) => {
|
|
423
|
-
return unref(frame).isSheet && isClient.value ? (openBlock(), createBlock(unref(
|
|
421
|
+
return unref(frame).isSheet && isClient.value ? (openBlock(), createBlock(unref(LazyBottomSheet), {
|
|
424
422
|
key: 0,
|
|
425
423
|
"is-open": unref(frame).sheetOpen,
|
|
426
424
|
"onUpdate:isOpen": _cache[3] || (_cache[3] = ($event) => unref(frame).sheetOpen = $event),
|
|
@@ -586,6 +584,36 @@ function activateFocusedMenuItem(key) {
|
|
|
586
584
|
if (focused instanceof HTMLElement && MENU_ITEM_ROLES.has(focused.getAttribute("role") ?? "")) activateMenuItem(focused, key);
|
|
587
585
|
}
|
|
588
586
|
//#endregion
|
|
587
|
+
//#region src/DropdownMenu/useMenuEntranceHold.ts
|
|
588
|
+
/**
|
|
589
|
+
* 浮层一显示就开始暂挡,直到它的 CSS 进场播完,和 UIMenu 一样:这期间落下的手指
|
|
590
|
+
* 关不掉菜单、滚不动页面、也挪不走焦点。键盘和辅助技术照常。只在主指针是粗略
|
|
591
|
+
* 指针时挡;打开菜单的那根手指照样能选中一行(按压模型的命中测试看穿挡板)。
|
|
592
|
+
*/
|
|
593
|
+
function useMenuEntranceHold(layer, isShown) {
|
|
594
|
+
let release = null;
|
|
595
|
+
let isUnmounted = false;
|
|
596
|
+
const stop = () => {
|
|
597
|
+
release?.();
|
|
598
|
+
release = null;
|
|
599
|
+
};
|
|
600
|
+
watch([isShown, layer], ([shown, element], [wasShown, previous]) => {
|
|
601
|
+
if (!shown) {
|
|
602
|
+
stop();
|
|
603
|
+
return;
|
|
604
|
+
}
|
|
605
|
+
if (element == null || wasShown && element === previous) return;
|
|
606
|
+
stop();
|
|
607
|
+
nextTick(() => {
|
|
608
|
+
if (!isUnmounted && release == null && isShown.value && layer.value === element) release = holdEntranceInput(element);
|
|
609
|
+
});
|
|
610
|
+
}, { flush: "post" });
|
|
611
|
+
onBeforeUnmount(() => {
|
|
612
|
+
isUnmounted = true;
|
|
613
|
+
stop();
|
|
614
|
+
});
|
|
615
|
+
}
|
|
616
|
+
//#endregion
|
|
589
617
|
//#region src/DropdownMenu/useMenuFocus.ts
|
|
590
618
|
function isDisabled(el) {
|
|
591
619
|
return el.getAttribute("aria-disabled") === "true" || el.hasAttribute("disabled");
|
|
@@ -961,6 +989,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
961
989
|
watch(isOpen, (nowOpen) => {
|
|
962
990
|
layerIsOpen.value = nowOpen && !isSheet.value;
|
|
963
991
|
});
|
|
992
|
+
useMenuEntranceHold(positionedEl, layerIsOpen);
|
|
964
993
|
const surfaceStyle = computed(() => {
|
|
965
994
|
if (isSheet.value) return {};
|
|
966
995
|
const style = {
|
package/dist/EmptyState/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../EmptyState-
|
|
1
|
+
import { t as _sfc_main } from "../EmptyState-DNjqNAT3.js";
|
|
2
2
|
export { _sfc_main as EmptyState };
|
|
@@ -1,54 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, onMounted, onUpdated, openBlock, renderSlot, toDisplayString, toValue, useSlots, useTemplateRef, withCtx } from "vue";
|
|
1
|
+
import { t as _sfc_main$1 } from "./Heading-BG1PBVkf.js";
|
|
2
|
+
import { t as _sfc_main$2 } from "./Text-DkSHitKh.js";
|
|
3
|
+
import { t as useAnnounceRenderedText } from "./announceRenderedText-CslZ0cev.js";
|
|
4
|
+
import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, renderSlot, toDisplayString, useSlots, useTemplateRef, withCtx } from "vue";
|
|
6
5
|
import "../styles/empty-state.css";
|
|
7
|
-
//#region src/composables/internal/announceRenderedText.ts
|
|
8
|
-
/** 里面的东西自己会被读出来的容器:它们送出的内容不用再播一遍。 */
|
|
9
|
-
const LIVE_CONTAINER = "[aria-live=\"polite\"], [aria-live=\"assertive\"], [role=\"status\"], [role=\"alert\"], [role=\"log\"]";
|
|
10
|
-
function isShown(element) {
|
|
11
|
-
if (!element.isConnected) return false;
|
|
12
|
-
const probe = element;
|
|
13
|
-
return typeof probe.checkVisibility === "function" ? probe.checkVisibility() : true;
|
|
14
|
-
}
|
|
15
|
-
function isDocumentLoaded(element) {
|
|
16
|
-
return element.ownerDocument.readyState === "complete";
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* 把元素渲染出来的文字(读屏会念到的那些)通过共用的播报通道念一次。
|
|
20
|
-
* 元素挂载后、以及它的文字之后变了才播报;相同的文字不重复念。
|
|
21
|
-
* 需要在组件的 setup 里调用:用组件自己的挂载和更新钩子来看内容。
|
|
22
|
-
*/
|
|
23
|
-
function useAnnounceRenderedText(target, enabled, options = {}) {
|
|
24
|
-
const announce = useAnnouncer();
|
|
25
|
-
let lastText = null;
|
|
26
|
-
function check() {
|
|
27
|
-
const element = target.value;
|
|
28
|
-
if (element == null || !toValue(enabled)) {
|
|
29
|
-
lastText = null;
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (options.skipFirstRender === true) {
|
|
33
|
-
if (!isDocumentLoaded(element) || !isShown(element) || element.parentElement?.closest(LIVE_CONTAINER) != null) {
|
|
34
|
-
lastText = null;
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
let text = renderedText(element);
|
|
39
|
-
if (text === "") text = toValue(options.fallbackText) ?? "";
|
|
40
|
-
if (text === "") {
|
|
41
|
-
lastText = null;
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (text === lastText) return;
|
|
45
|
-
lastText = text;
|
|
46
|
-
announce(text, toValue(options.politeness) ?? "polite", { within: element });
|
|
47
|
-
}
|
|
48
|
-
onMounted(check);
|
|
49
|
-
onUpdated(check);
|
|
50
|
-
}
|
|
51
|
-
//#endregion
|
|
52
6
|
//#region src/EmptyState/EmptyState.vue
|
|
53
7
|
const _hoisted_1 = ["data-variant"];
|
|
54
8
|
const _hoisted_2 = {
|
package/dist/Field/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as EnterKeyHint, i as AutoCapitalize, n as _default$1, o as InputMode, r as _default, t as _default$2 } from "../index-DMZ5SKJJ.js";
|
|
2
|
+
import { a as FieldSlots, c as FieldStatusProps, i as FieldSlotProps, l as FieldStatusType, n as FieldLabelSlots, o as FieldStatusInput, r as FieldProps, s as FieldStatusPlacement, t as FieldLabelProps, u as FieldStatusVariant } from "../types-Cvh2VwQZ.js";
|
|
2
3
|
import { t as FieldPartStylingProps } from "../fieldParts-LXpQMKE8.js";
|
|
3
|
-
|
|
4
|
-
export { _default as Field, _default$1 as FieldLabel, type FieldLabelProps, type FieldLabelSlots, type FieldPartStylingProps, type FieldProps, type FieldSlotProps, type FieldSlots, type FieldStatusInput, type FieldStatusProps, type FieldStatusType, type FieldStatusVariant, _default$2 as InputClearButton };
|
|
4
|
+
export { type AutoCapitalize, type EnterKeyHint, _default as Field, _default$1 as FieldLabel, type FieldLabelProps, type FieldLabelSlots, type FieldPartStylingProps, type FieldProps, type FieldSlotProps, type FieldSlots, type FieldStatusInput, type FieldStatusPlacement, type FieldStatusProps, type FieldStatusType, type FieldStatusVariant, _default$2 as InputClearButton, type InputMode };
|
package/dist/Field/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "../FieldLabel-
|
|
2
|
-
import { t as _sfc_main } from "../Field-
|
|
3
|
-
import { t as _sfc_main$2 } from "../InputClearButton-
|
|
1
|
+
import { t as _sfc_main$1 } from "../FieldLabel-DsFZnW1l.js";
|
|
2
|
+
import { t as _sfc_main } from "../Field-DrUMz0oj.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "../InputClearButton-ByUJXRmY.js";
|
|
4
4
|
export { _sfc_main as Field, _sfc_main$1 as FieldLabel, _sfc_main$2 as InputClearButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldLabel-
|
|
1
|
+
import { s as useFormLayout } from "./context-CrVCeUUK.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldLabel-DsFZnW1l.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./FieldStatus-DmCWPT6U.js";
|
|
4
4
|
import { computed, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
5
5
|
import "../styles/field.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
2
2
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./FieldIcon-BU1ZWAuo.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./IconButton-
|
|
4
|
+
import { t as _sfc_main$3 } from "./IconButton-CEjiXpUg.js";
|
|
5
5
|
import { Fragment, computed, createElementBlock, createVNode, defineComponent, onScopeDispose, openBlock, shallowRef, unref, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
6
6
|
//#region src/Field/FieldInfoTip.vue
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as _sfc_main$2 } from "./InfoTip-
|
|
5
|
-
import { t as fieldMessages } from "./field-
|
|
3
|
+
import { i as showsRequiredIndicator, r as showsOptionalIndicator, s as useFormLayout } from "./context-CrVCeUUK.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./InfoTip-CKRaCO6I.js";
|
|
5
|
+
import { t as fieldMessages } from "./field-BaUBjqf5.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useTemplateRef, withCtx } from "vue";
|
|
7
7
|
import "../styles/field.css";
|
|
8
8
|
//#region src/Field/FieldLabel.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "../index-
|
|
1
|
+
import { t as _default } from "../index-BZUVNr2c.js";
|
|
2
2
|
export { _default as FieldStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as FileInputSize, i as FileInputProps, n as FileInputEmits, o as FileInputStatus, r as FileInputMode, s as FileInputValue, t as _default } from "../index-DHUCHxn2.js";
|
|
2
2
|
export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
|
package/dist/FileInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../FileInput-
|
|
1
|
+
import { t as _sfc_main } from "../FileInput-0u4zjJfx.js";
|
|
2
2
|
export { _sfc_main as FileInput };
|
|
@@ -5,13 +5,16 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
|
5
5
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
6
6
|
import { t as fileInputMessages } from "./file-input-CzK0qCvm.js";
|
|
7
7
|
import { n as selectFiles, t as formatFileSize } from "./useFileSelection-Cfcbh8XI.js";
|
|
8
|
-
import { t as
|
|
8
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-CGj9gMj8.js";
|
|
9
9
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
10
|
+
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
11
|
+
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
12
|
+
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
13
|
+
import { a as useAriaRequired } from "./context-CrVCeUUK.js";
|
|
14
|
+
import { t as _sfc_main$5 } from "./Field-DrUMz0oj.js";
|
|
15
|
+
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
16
|
+
import { t as _sfc_main$6 } from "./InputClearButton-ByUJXRmY.js";
|
|
17
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
15
18
|
import "../styles/bordered-control.css";
|
|
16
19
|
import "../styles/file-input.css";
|
|
17
20
|
//#region src/locale/useListFormatter.ts
|
|
@@ -38,17 +41,17 @@ const _hoisted_1 = [
|
|
|
38
41
|
"data-size",
|
|
39
42
|
"data-status",
|
|
40
43
|
"data-disabled",
|
|
44
|
+
"data-busy",
|
|
41
45
|
"data-drag"
|
|
42
46
|
];
|
|
43
47
|
const _hoisted_2 = [
|
|
44
48
|
"id",
|
|
45
49
|
"accept",
|
|
46
50
|
"multiple",
|
|
47
|
-
"
|
|
51
|
+
"form"
|
|
48
52
|
];
|
|
49
53
|
const _hoisted_3 = [
|
|
50
54
|
"id",
|
|
51
|
-
"disabled",
|
|
52
55
|
"aria-disabled",
|
|
53
56
|
"aria-invalid",
|
|
54
57
|
"aria-busy",
|
|
@@ -81,7 +84,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
81
84
|
isLoading: { type: Boolean },
|
|
82
85
|
disabledMessage: {},
|
|
83
86
|
status: {},
|
|
84
|
-
statusVariant: {
|
|
87
|
+
statusVariant: {},
|
|
85
88
|
width: {},
|
|
86
89
|
clearLabel: {},
|
|
87
90
|
changeAction: {},
|
|
@@ -140,20 +143,28 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
140
143
|
"tabindex",
|
|
141
144
|
"aria-disabled",
|
|
142
145
|
"aria-invalid",
|
|
146
|
+
"aria-busy",
|
|
143
147
|
"aria-describedby"
|
|
144
148
|
]
|
|
145
149
|
});
|
|
146
|
-
const messages = useComponentMessages({
|
|
150
|
+
const messages = useComponentMessages({
|
|
151
|
+
fileInput: fileInputMessages,
|
|
152
|
+
spinner: spinnerMessages
|
|
153
|
+
});
|
|
147
154
|
const formatList = useListFormatter();
|
|
148
155
|
const announce = useAnnounce();
|
|
149
156
|
const generatedId = `astryx-file-input-${useId()}`;
|
|
150
157
|
const inputId = computed(() => props.id ?? generatedId);
|
|
151
158
|
const requiredId = `${generatedId}-required`;
|
|
152
159
|
const fileInput = useTemplateRef("file");
|
|
160
|
+
const triggerRef = useTemplateRef("trigger");
|
|
153
161
|
const controlRef = useTemplateRef("control");
|
|
154
162
|
const validationError = shallowRef(null);
|
|
155
163
|
const pendingCount = shallowRef(0);
|
|
156
164
|
const isPending = computed(() => pendingCount.value > 0);
|
|
165
|
+
const isBusy = computed(() => props.isLoading || isPending.value);
|
|
166
|
+
/** 禁用或忙碌时,不再接受新的选择:点击、键盘、拖放都一样。 */
|
|
167
|
+
const isSelectionDisabled = computed(() => props.isDisabled || isBusy.value);
|
|
157
168
|
const dragOver = shallowRef(false);
|
|
158
169
|
const disabledMessageId = `${generatedId}-disabled`;
|
|
159
170
|
const disabledMessage = computed(() => props.disabledMessage?.trim() || void 0);
|
|
@@ -173,7 +184,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
173
184
|
if (files.length === 1) return files[0]?.name ?? "";
|
|
174
185
|
return files.map((file) => file.name).join(", ");
|
|
175
186
|
});
|
|
176
|
-
const conveysRequired =
|
|
187
|
+
const conveysRequired = useAriaRequired(props);
|
|
188
|
+
const statusVariant = computed(() => props.statusVariant ?? (props.mode === "dropzone" ? "detached" : "attached"));
|
|
189
|
+
const { statusIcon, statusIconProps } = useInputStatusIcon({
|
|
190
|
+
status,
|
|
191
|
+
statusVariant
|
|
192
|
+
});
|
|
193
|
+
const isPickAnnounced = shallowRef(false);
|
|
194
|
+
watch([isPickAnnounced, isBusy], ([announced, busy]) => {
|
|
195
|
+
if (announced && !busy) isPickAnnounced.value = false;
|
|
196
|
+
}, { flush: "post" });
|
|
197
|
+
useBusyAnnouncement(() => isBusy.value && !isPickAnnounced.value, () => messages.value.spinner.loading, () => controlRef.value);
|
|
177
198
|
function commit(value) {
|
|
178
199
|
model.value = value;
|
|
179
200
|
emit("change", value);
|
|
@@ -214,7 +235,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
214
235
|
});
|
|
215
236
|
}
|
|
216
237
|
function applyFiles(list) {
|
|
217
|
-
if (
|
|
238
|
+
if (isSelectionDisabled.value) return;
|
|
218
239
|
const result = selectFiles(list, {
|
|
219
240
|
accept: props.accept,
|
|
220
241
|
maxSize: props.maxSize,
|
|
@@ -230,39 +251,62 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
230
251
|
const selected = Array.isArray(files) ? files : [files];
|
|
231
252
|
if (selected.length === 1 && selected[0]) announce(messages.value.fileInput.fileSelected(selected[0].name));
|
|
232
253
|
else if (selected.length > 1) announce(messages.value.fileInput.filesSelected(selected.length));
|
|
254
|
+
isPickAnnounced.value = true;
|
|
233
255
|
}
|
|
234
256
|
if (fileInput.value) fileInput.value.value = "";
|
|
235
257
|
}
|
|
258
|
+
function describedBy(fieldIds) {
|
|
259
|
+
return [
|
|
260
|
+
attrs["aria-describedby"],
|
|
261
|
+
fieldIds,
|
|
262
|
+
conveysRequired.value ? requiredId : void 0,
|
|
263
|
+
showsDisabledMessage.value ? disabledMessageId : void 0
|
|
264
|
+
].filter(Boolean).join(" ") || void 0;
|
|
265
|
+
}
|
|
236
266
|
function openPicker() {
|
|
237
|
-
if (!
|
|
267
|
+
if (!isSelectionDisabled.value) fileInput.value?.click();
|
|
268
|
+
}
|
|
269
|
+
/** 禁用或忙碌的触发按钮仍能聚焦,但回车和空格不做任何事。 */
|
|
270
|
+
function onTriggerKeydown(event) {
|
|
271
|
+
if (isSelectionDisabled.value && (event.key === "Enter" || event.key === " ")) event.preventDefault();
|
|
238
272
|
}
|
|
239
273
|
function onChange(event) {
|
|
240
274
|
applyFiles(event.target.files);
|
|
241
275
|
}
|
|
276
|
+
/** 标签或说明点到隐藏的原生输入时也会直接激活它,禁用或忙碌时取消,选择框不会打开。 */
|
|
277
|
+
function onNativeClick(event) {
|
|
278
|
+
if (isSelectionDisabled.value) event.preventDefault();
|
|
279
|
+
}
|
|
242
280
|
function clear() {
|
|
243
281
|
if (props.isDisabled) return;
|
|
244
282
|
validationError.value = null;
|
|
245
283
|
commit(null);
|
|
246
284
|
runChangeAction(null);
|
|
247
285
|
if (fileInput.value) fileInput.value.value = "";
|
|
286
|
+
triggerRef.value?.focus({ preventScroll: true });
|
|
248
287
|
}
|
|
249
288
|
function onDragOver(event) {
|
|
250
|
-
if (props.mode !== "dropzone" || props.isDisabled) return;
|
|
251
289
|
event.preventDefault();
|
|
252
|
-
|
|
290
|
+
if (isSelectionDisabled.value) {
|
|
291
|
+
if (event.dataTransfer) event.dataTransfer.dropEffect = "none";
|
|
292
|
+
dragOver.value = false;
|
|
293
|
+
} else if (props.mode === "dropzone") dragOver.value = true;
|
|
253
294
|
}
|
|
254
|
-
function onDragLeave() {
|
|
295
|
+
function onDragLeave(event) {
|
|
296
|
+
event.preventDefault();
|
|
297
|
+
const related = event.relatedTarget;
|
|
298
|
+
if (related instanceof Node && controlRef.value?.contains(related)) return;
|
|
255
299
|
dragOver.value = false;
|
|
256
300
|
}
|
|
257
301
|
function onDrop(event) {
|
|
258
|
-
if (props.mode !== "dropzone" || props.isDisabled) return;
|
|
259
302
|
event.preventDefault();
|
|
260
303
|
dragOver.value = false;
|
|
304
|
+
if (props.mode !== "dropzone") return;
|
|
261
305
|
applyFiles(event.dataTransfer?.files);
|
|
262
306
|
}
|
|
263
307
|
return (_ctx, _cache) => {
|
|
264
308
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
265
|
-
createVNode(_sfc_main$
|
|
309
|
+
createVNode(_sfc_main$5, {
|
|
266
310
|
label: __props.label,
|
|
267
311
|
"input-id": inputId.value,
|
|
268
312
|
description: __props.description,
|
|
@@ -273,79 +317,85 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
273
317
|
"is-required": __props.isRequired,
|
|
274
318
|
"label-tooltip": __props.labelTooltip,
|
|
275
319
|
status: status.value,
|
|
276
|
-
"status-variant":
|
|
320
|
+
"status-variant": statusVariant.value,
|
|
277
321
|
class: normalizeClass(unref(parts).containerClass.value),
|
|
278
322
|
style: normalizeStyle(unref(parts).containerStyle.value)
|
|
279
323
|
}, {
|
|
280
|
-
default: withCtx((field) => [
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
class: "astryx-file-input-native",
|
|
296
|
-
type: "file",
|
|
297
|
-
accept: __props.accept,
|
|
298
|
-
multiple: __props.isMultiple || void 0,
|
|
299
|
-
disabled: __props.isDisabled,
|
|
300
|
-
tabindex: "-1",
|
|
301
|
-
onChange
|
|
302
|
-
}, null, 40, _hoisted_2),
|
|
303
|
-
createElementVNode("button", mergeProps(unref(parts).forwardedAttrs(), {
|
|
304
|
-
id: inputId.value,
|
|
305
|
-
type: "button",
|
|
306
|
-
class: "astryx-file-input-trigger",
|
|
307
|
-
disabled: __props.isDisabled && !showsDisabledMessage.value,
|
|
308
|
-
"aria-disabled": showsDisabledMessage.value || void 0,
|
|
309
|
-
"aria-invalid": status.value?.type === "error" || void 0,
|
|
310
|
-
"aria-busy": isPending.value || props.isLoading || void 0,
|
|
311
|
-
"aria-describedby": [
|
|
312
|
-
field.describedBy,
|
|
313
|
-
conveysRequired.value ? requiredId : void 0,
|
|
314
|
-
showsDisabledMessage.value ? disabledMessageId : void 0
|
|
315
|
-
].filter(Boolean).join(" ") || void 0,
|
|
316
|
-
onClick: openPicker,
|
|
324
|
+
default: withCtx((field) => [
|
|
325
|
+
createCommentVNode(" eslint-disable-next-line vue-a11y/no-static-element-interactions -- 拖放目标不是交互元素,键盘操作走里面的触发按钮。 "),
|
|
326
|
+
createElementVNode("div", {
|
|
327
|
+
ref: "control",
|
|
328
|
+
class: normalizeClass(["astryx-file-input astryx-bordered-control", unref(parts).controlClass()]),
|
|
329
|
+
style: normalizeStyle(unref(parts).controlStyle()),
|
|
330
|
+
"data-mode": __props.mode,
|
|
331
|
+
"data-size": __props.size,
|
|
332
|
+
"data-status": status.value?.type,
|
|
333
|
+
"data-disabled": __props.isDisabled || void 0,
|
|
334
|
+
"data-busy": isBusy.value || void 0,
|
|
335
|
+
"data-drag": dragOver.value || void 0,
|
|
336
|
+
onPointerenter: _cache[2] || (_cache[2] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
|
|
337
|
+
onPointerleave: _cache[3] || (_cache[3] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args)),
|
|
338
|
+
onDragenter: onDragOver,
|
|
317
339
|
onDragover: onDragOver,
|
|
318
340
|
onDragleave: onDragLeave,
|
|
319
|
-
onDrop
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
341
|
+
onDrop
|
|
342
|
+
}, [
|
|
343
|
+
createCommentVNode(" 禁用时脱离表单:选中的文件不提交,也不会因为 required 拦住提交。 "),
|
|
344
|
+
createElementVNode("input", {
|
|
345
|
+
id: `${inputId.value}-file`,
|
|
346
|
+
ref: "file",
|
|
347
|
+
class: "astryx-file-input-native",
|
|
348
|
+
type: "file",
|
|
349
|
+
"aria-hidden": "true",
|
|
350
|
+
accept: __props.accept,
|
|
351
|
+
multiple: __props.isMultiple || void 0,
|
|
352
|
+
form: __props.isDisabled ? "" : void 0,
|
|
353
|
+
tabindex: "-1",
|
|
354
|
+
onClick: onNativeClick,
|
|
355
|
+
onChange
|
|
356
|
+
}, null, 40, _hoisted_2),
|
|
357
|
+
createElementVNode("button", mergeProps(unref(parts).forwardedAttrs(), {
|
|
358
|
+
id: inputId.value,
|
|
359
|
+
ref: "trigger",
|
|
360
|
+
type: "button",
|
|
361
|
+
class: "astryx-file-input-trigger",
|
|
362
|
+
"aria-disabled": isSelectionDisabled.value || void 0,
|
|
363
|
+
"aria-invalid": status.value?.type === "error" || void 0,
|
|
364
|
+
"aria-busy": isBusy.value || void 0,
|
|
365
|
+
"aria-describedby": describedBy(field.describedBy),
|
|
366
|
+
onClick: openPicker,
|
|
367
|
+
onKeydown: onTriggerKeydown,
|
|
368
|
+
onFocus: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onFocus && unref(disabledTooltip).onFocus(...args)),
|
|
369
|
+
onBlur: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args))
|
|
370
|
+
}), [createVNode(_sfc_main$1, {
|
|
371
|
+
class: "astryx-file-input-icon",
|
|
372
|
+
icon: "upload",
|
|
373
|
+
size: __props.mode === "dropzone" ? "md" : "sm"
|
|
374
|
+
}, null, 8, ["size"]), createElementVNode("span", {
|
|
375
|
+
class: "astryx-file-input-text",
|
|
376
|
+
"data-placeholder": !fileLabel.value || void 0
|
|
377
|
+
}, toDisplayString(fileLabel.value || placeholder.value), 9, _hoisted_4)], 16, _hoisted_3),
|
|
378
|
+
fileLabel.value && !__props.isDisabled ? (openBlock(), createBlock(_sfc_main$6, {
|
|
379
|
+
key: 0,
|
|
380
|
+
label: clearLabel.value,
|
|
381
|
+
onClick: clear
|
|
382
|
+
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
383
|
+
isBusy.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
384
|
+
key: 1,
|
|
385
|
+
size: "sm",
|
|
386
|
+
"aria-hidden": "true"
|
|
387
|
+
})) : createCommentVNode("v-if", true),
|
|
388
|
+
createCommentVNode(" 提示气泡的状态按钮是这条说明唯一的住处,拖放模式和上传中也得留着它。 "),
|
|
389
|
+
unref(statusIcon) && (!isBusy.value || statusVariant.value === "tooltip") ? (openBlock(), createBlock(resolveDynamicComponent(unref(statusIcon)), normalizeProps(mergeProps({ key: 2 }, unref(statusIconProps))), null, 16)) : createCommentVNode("v-if", true)
|
|
390
|
+
], 46, _hoisted_1),
|
|
391
|
+
unref(conveysRequired) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
331
392
|
key: 0,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
})) : status.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
339
|
-
key: 2,
|
|
340
|
-
type: status.value.type
|
|
341
|
-
}, null, 8, ["type"])) : createCommentVNode("v-if", true)
|
|
342
|
-
], 46, _hoisted_1), conveysRequired.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
343
|
-
key: 0,
|
|
344
|
-
id: requiredId
|
|
345
|
-
}, {
|
|
346
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(messages).fileInput.required), 1)]),
|
|
347
|
-
_: 1
|
|
348
|
-
})) : createCommentVNode("v-if", true)]),
|
|
393
|
+
id: requiredId
|
|
394
|
+
}, {
|
|
395
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(messages).fileInput.required), 1)]),
|
|
396
|
+
_: 1
|
|
397
|
+
})) : createCommentVNode("v-if", true)
|
|
398
|
+
]),
|
|
349
399
|
_: 1
|
|
350
400
|
}, 8, [
|
|
351
401
|
"label",
|
package/dist/FormLayout/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../FormLayout-
|
|
1
|
+
import { t as _sfc_main } from "../FormLayout-0_X9o-L4.js";
|
|
2
2
|
export { _sfc_main as FormLayout };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as formLayoutKey } from "./context-CrVCeUUK.js";
|
|
2
2
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, provide, renderSlot, useAttrs, useTemplateRef } from "vue";
|
|
3
3
|
import "../styles/form-layout.css";
|
|
4
4
|
//#region src/FormLayout/FormLayout.vue
|
package/dist/Heading/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Heading-
|
|
1
|
+
import { t as _sfc_main } from "../Heading-BG1PBVkf.js";
|
|
2
2
|
export { _sfc_main as Heading };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
2
|
-
import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-
|
|
2
|
+
import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-wc6Lzz34.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, watch, withCtx } from "vue";
|
|
4
4
|
import "../styles/heading.css";
|
|
5
5
|
//#region src/Heading/level.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-
|
|
1
|
+
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-Otl047R1.js";
|
|
2
2
|
export { _default as HoverCard, type HoverCardAlignment, type HoverCardEmits, type HoverCardFocusTrigger, type HoverCardHoverIndication, type HoverCardPlacement, type HoverCardProps, type HoverCardSlots, type HoverCardTouchTrigger, type UseHoverCardOptions, type UseHoverCardReturn, useHoverCard };
|
package/dist/HoverCard/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useHoverCard, t as _sfc_main } from "../HoverCard-
|
|
1
|
+
import { n as useHoverCard, t as _sfc_main } from "../HoverCard-Fr6RLRR8.js";
|
|
2
2
|
export { _sfc_main as HoverCard, useHoverCard };
|
|
@@ -3,8 +3,8 @@ import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js
|
|
|
3
3
|
import { n as useLayer } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./LayerContentBoundary-LCQLyxBT.js";
|
|
5
5
|
import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
|
|
6
|
-
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-
|
|
7
|
-
import { r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-
|
|
6
|
+
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Bl602PtA.js";
|
|
7
|
+
import { r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-DvVDuqZI.js";
|
|
8
8
|
import { Fragment, Teleport, Transition, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
9
9
|
import "../styles/hover-card.css";
|
|
10
10
|
//#region src/HoverCard/hoverCardTrigger.ts
|