@astryx-vue/core 0.3.0 → 0.4.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-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-0wTvOo3H.js → AppShell-awAKicsc.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-pPZ4dI_s.js → Avatar-DXBjJ88C.js} +47 -34
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-kpAeKLNq.js} +57 -13
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-GbGxrqQO.js → Banner-BdvuyzAe.js} +71 -35
- package/dist/Blockquote/index.js +1 -1
- package/dist/Blockquote-DRoKdcxZ.js +27 -0
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
- package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Breadcrumbs-D4ZzHEB0.js +223 -0
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
- package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-B7vIowKq.js → Calendar-CjK-JUDM.js} +5 -5
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CA8zpD9v.js → Carousel-D262qigj.js} +8 -8
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bmna9EOA.js → Chat-DD_mlIP3.js} +165 -101
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-D8vTmAMZ.js} +20 -12
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-DCvHewHB.js} +155 -38
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Djgwa0ko.js → Citation-C69BgxW3.js} +8 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +3 -3
- package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
- package/dist/{CodeBlock-D0BFubut.js → CodeBlock-DsbwTBiT.js} +8 -8
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-CZ7CZglZ.js} +147 -67
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-CIz6DDmY.js} +114 -28
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-CxoiRh_h.js} +297 -179
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DT518j5E.js → DateInput-C67HCOU-.js} +563 -72
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Dsf5Tyf-.js} +91 -26
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/DateTimeInput-tfM1y5nZ.js +562 -0
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-BiOSKQso.js → Dialog-DT1GzCrB.js} +28 -11
- package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Divider/index.js +1 -1
- package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-C6wBC18g.js} +84 -56
- package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-G-pWSiBk.js} +479 -264
- package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
- package/dist/Field/index.d.ts +4 -3
- package/dist/Field/index.js +4 -3
- package/dist/{Field-D5gUEGw4.js → Field-JIxT3xCh.js} +5 -4
- package/dist/FieldIcon-BFSHZEs_.js +40 -0
- package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-BbgLt4ug.js} +4 -4
- package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-CHqp1y3z.js} +13 -8
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-MjY19ERl.js → FieldStatus-DaAB3TIt.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BpdiO1V8.js → FileInput-Bi1uty-F.js} +108 -31
- package/dist/FormLayout/index.d.ts +1 -1
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Indicator/index.js +2 -1
- package/dist/InputClearButton-CfSIqc-V.js +40 -0
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-CA03Smrs.js → InputGroup-D3F-QnET.js} +2 -2
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-CVV5QDgp.js} +5 -9
- package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
- package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
- package/dist/LayerProvider/index.js +1 -1
- package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
- package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DTF9EdTG.js → Lightbox-CjXhbDPc.js} +14 -12
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BqHCtiyt.js → Link-ClNkTN1Q.js} +29 -12
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
- package/dist/Markdown/index.d.ts +5 -2
- package/dist/Markdown/index.js +4 -2
- package/dist/Markdown/parser/index.d.ts +4 -0
- package/dist/Markdown/parser/index.js +2 -0
- package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
- package/dist/Markdown/plugin-protocol/index.js +107 -0
- package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
- package/dist/Markdown/plugin-renderer/index.js +42 -0
- package/dist/{Markdown-CvtN7HnF.js → Markdown-EIBrwQrb.js} +195 -524
- package/dist/MediaTheme-DlLqYhDy.js +433 -0
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-B-OelQlt.js → MetadataList-DLlSLX1n.js} +15 -7
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-DgJYyzT6.js} +52 -17
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-C8BEt6-O.js} +74 -61
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/MultiSelector-C7NCAtwW.js +1456 -0
- package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
- package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-DQXisuaX.js} +29 -26
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
- package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-3u3NZWnv.js +727 -0
- package/dist/Outline/index.d.ts +2 -2
- package/dist/Outline/index.js +2 -2
- package/dist/{Outline-755h-lMP.js → Outline-8szj9eXu.js} +91 -6
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BizpEwH8.js} +23 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DqwNQFRp.js → Pagination-Cihr1CjD.js} +2 -2
- package/dist/PickerWheel-CSwUYfes.js +69 -0
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BHx91ypY.js} +778 -590
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-DeSIRrgt.js} +94 -26
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-xY1cwLdZ.js → RadioList-Co2lmetC.js} +57 -8
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-DjLZ2pcq.js} +103 -50
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-swa3RNQI.js +1049 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BF8mYDxl.js → SideNav-BH6XKsW2.js} +56 -42
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DWobsPgm.js → Slider-DG2YXll8.js} +172 -46
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-BY8iQz--.js +200 -0
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
- package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CE8dHysu.js → Stepper-FtkTq5qR.js} +127 -113
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DaVPRxvN.js → Switch-0JKvJluV.js} +38 -22
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIkK9sgK.js → TabList-cpjvnbhx.js} +205 -63
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-fecqnm7P.js → Table-fWs_ZQBF.js} +735 -461
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Ab5Sw60T.js → TextArea-CwSfEjT1.js} +110 -50
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-zFT1_qgI.js → TextInput-CavITage.js} +71 -38
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -2
- package/dist/Theme-BbDT8B_C.js +2125 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-DpJnaNbg.js} +17 -14
- package/dist/{TimeField-CoHDGmsP.js → TimeField-DefNjDIT.js} +297 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-j5vzN8MG.js} +78 -9
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-xpQKCk0d.js → Timestamp-dtT4yADD.js} +9 -9
- package/dist/Toast/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toast-igtJYSw0.js +685 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DsntTYhQ.js → Token-DhsAtAH6.js} +32 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-BGdj78UK.js} +107 -23
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Ciq0l1w7.js → TopNav-Dw0m387B.js} +23 -22
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BUz-KZJd.js → TreeList-Bunn7u3T.js} +129 -46
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-JP9RT87x.js → Typeahead-DRyf2HEh.js} +123 -26
- package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BY5__sPC.js} +141 -51
- package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
- package/dist/characters-rcDbGt71.d.ts +29 -0
- package/dist/characters-wTnzjkkR.js +58 -0
- package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
- package/dist/composables/index.d.ts +5 -4
- package/dist/composables/index.js +23 -18
- package/dist/{composables-CbKx9C1Y.js → composables-CnsDaMuU.js} +167 -197
- package/dist/context-B6UElI5X.js +5 -0
- package/dist/context-CM-cjGg_.js +1425 -0
- package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
- package/dist/context-IvbU9c3T.js +8 -0
- package/dist/context-pjBxaMSh.js +28 -0
- package/dist/fieldParts--SyRZVQG.js +44 -0
- package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
- package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
- package/dist/hoverIntent-DMHGb85c.js +115 -0
- package/dist/{index-ClNU2Th8.d.ts → index-3t5RAfNP.d.ts} +6 -2
- package/dist/{index-B9e52paP.d.ts → index-5LVG3QyV.d.ts} +1 -1
- package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-Cn-sSds-.d.ts → index-B1t1oQWH.d.ts} +24 -1
- package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
- package/dist/{index-yT1yiiww.d.ts → index-BI6jikpA.d.ts} +23 -11
- package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
- package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
- package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
- package/dist/{index-Bu8NA2SD.d.ts → index-BaxM-pFP.d.ts} +12 -3
- package/dist/{index-BVKivP59.d.ts → index-Bgk1Rj2A.d.ts} +32 -3
- package/dist/index-BkUkm6Al.d.ts +11 -0
- package/dist/index-Bo-ofFyg.d.ts +166 -0
- package/dist/{index-B1WJxt-n.d.ts → index-C-tFz2Yx.d.ts} +17 -7
- package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
- package/dist/{index-CqE4Bf3Q.d.ts → index-C732aNMY.d.ts} +18 -4
- package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
- package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
- package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
- package/dist/index-CKUfpmFL.d.ts +375 -0
- package/dist/{index-CL1T2j4y.d.ts → index-CL8JvxHW.d.ts} +3 -3
- package/dist/{index-IBAInumL.d.ts → index-CMme-xmL.d.ts} +19 -6
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
- package/dist/{index-B42oE_F-.d.ts → index-CT5OEUxd.d.ts} +17 -4
- package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
- package/dist/{index-Cde5JvtX.d.ts → index-CUVmtB5-.d.ts} +13 -6
- package/dist/{index-DXpSFlPG.d.ts → index-CWaSYtk9.d.ts} +4 -4
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-Cyb9Du5Z.d.ts → index-CfR2Z0uG.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
- package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
- package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
- package/dist/{index-i0tNFWfz.d.ts → index-D8lv2BiD.d.ts} +3 -1
- package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
- package/dist/{index-0QGtSf3r.d.ts → index-DFLPv9io.d.ts} +4 -3
- package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
- package/dist/{index-D41_xqjs.d.ts → index-DTuhnqHb.d.ts} +16 -9
- package/dist/{index-B3Fomy15.d.ts → index-DbiZvj1P.d.ts} +4 -4
- package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
- package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
- package/dist/{index-BhpAUzUr.d.ts → index-Dy746dfn.d.ts} +1 -1
- package/dist/{index-GI9xIV9l.d.ts → index-JL4auphT.d.ts} +2 -2
- package/dist/{index-DVmgNb78.d.ts → index-TA1zVibb.d.ts} +4 -4
- package/dist/{index-DUaLJO7l.d.ts → index-UA93Im7H.d.ts} +155 -109
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
- package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
- package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
- package/dist/{index-B4OOtNP8.d.ts → index-pYh4gqgl.d.ts} +1 -1
- package/dist/index.d.ts +81 -75
- package/dist/index.js +150 -136
- package/dist/inlineSize-BNe8wggI.js +66 -0
- package/dist/inputPresentation-BOyHkCDr.js +62 -0
- package/dist/interactionModality-ACpTMhak.js +44 -0
- package/dist/isApplePlatform-B1ju6F5B.js +27 -0
- package/dist/isRenderable-BnKHIqfd.js +21 -0
- package/dist/layerDepth-CNDh-IHb.js +181 -0
- package/dist/link-DuuA2eCL.js +30 -0
- package/dist/loadCatalog-CsZFr9dg.js +424 -0
- package/dist/loadCatalog-opk5hs94.d.ts +803 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-D1Z3K290.js +343 -0
- package/dist/modalOutlet-CUOcrhIu.js +56 -0
- package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
- package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
- package/dist/protocol-DHxY0NI8.js +113 -0
- package/dist/protocol-DwUmpC5G.d.ts +240 -0
- package/dist/publicParser-B6XMcsB2.d.ts +141 -0
- package/dist/publicParser-DWUMCx7j.js +1437 -0
- package/dist/resizableChannel-3vivrEcT.js +20 -0
- package/dist/safeUrl-CsvfcZ9m.js +54 -0
- package/dist/scopedProvide-C-Df7c15.js +30 -0
- package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
- package/dist/scrollLock-C3aT4-0z.js +102 -0
- package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-DtyScdZs.js} +5 -14
- package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
- package/dist/slug-DAK6hdbr.js +17 -0
- package/dist/syntaxContext-DmIfNNtb.js +4 -0
- package/dist/triggerVariant-BsL8jMHs.js +16 -0
- package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
- package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
- package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
- package/dist/upstreamMap-ocuIRfI2.js +893 -0
- package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
- package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
- package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
- package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
- package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
- package/dist/{useIndicator-i1NORM7W.js → useIndicator-D9Y0dJsm.js} +5 -23
- package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
- package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-CWkCeMyX.js} +2 -2
- package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
- package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
- package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
- package/dist/useMenuHover-Djreu23i.js +170 -0
- package/dist/useMenuPress-8foxY8z4.js +764 -0
- package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
- package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
- package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
- package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
- package/dist/usePressFeedback-BJCpjEpv.js +319 -0
- package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
- package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
- package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
- package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
- package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
- package/dist/useScrollableArea-BE8b3qm7.js +222 -0
- package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
- package/dist/useTranslator-PEXMxDpv.js +35 -0
- package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +5 -0
- package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
- package/dist/utils-z3Q6BGIJ.js +819 -0
- package/locales/SOURCE.json +1 -1
- package/package.json +18 -2
- package/reset.css +364 -1
- package/styles/avatar-group.css +9 -1
- package/styles/badge.css +8 -5
- package/styles/banner.css +125 -26
- package/styles/blockquote.css +1 -0
- package/styles/bordered-control.css +1 -1
- package/styles/bottom-sheet.css +74 -6
- package/styles/breadcrumbs.css +16 -2
- package/styles/button-group.css +3 -1
- package/styles/button.css +53 -11
- package/styles/card.css +1 -1
- package/styles/chat.css +16 -6
- package/styles/checkbox-input.css +10 -0
- package/styles/clickable-card.css +10 -3
- package/styles/collapsible.css +12 -5
- package/styles/command-palette.css +29 -14
- package/styles/complex-selector.css +24 -5
- package/styles/context-menu.css +3 -3
- package/styles/date-input.css +111 -1
- package/styles/dialog-header.css +4 -1
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +12 -3
- package/styles/field.css +5 -0
- package/styles/form-layout.css +1 -0
- package/styles/heading.css +18 -8
- package/styles/icon.css +9 -9
- package/styles/kbd.css +1 -1
- package/styles/layer.css +72 -0
- package/styles/list.css +9 -2
- package/styles/metadata-list.css +1 -0
- package/styles/mobile-nav.css +4 -1
- package/styles/multi-selector.css +48 -1
- package/styles/nav-item.css +9 -2
- package/styles/nav-menu.css +12 -2
- package/styles/number-input.css +9 -1
- package/styles/overflow-list.css +1 -1
- package/styles/popover.css +2 -1
- package/styles/power-search.css +5 -3
- package/styles/pressable.css +63 -22
- package/styles/progress-bar.css +15 -3
- package/styles/radio.css +16 -0
- package/styles/resize-handle.css +42 -0
- package/styles/segmented-control.css +12 -4
- package/styles/selector.css +53 -1
- package/styles/side-nav.css +19 -0
- package/styles/slider.css +4 -3
- package/styles/spinner.css +48 -42
- package/styles/stepper.css +58 -4
- package/styles/switch.css +26 -0
- package/styles/tab-list.css +132 -3
- package/styles/table.css +88 -11
- package/styles/text-area.css +7 -1
- package/styles/text-input.css +1 -1
- package/styles/text.css +6 -6
- package/styles/thumbnail.css +11 -3
- package/styles/time-input.css +8 -0
- package/styles/toast.css +37 -3
- package/styles/token.css +2 -2
- package/styles/tokenizer.css +1 -1
- package/styles/toolbar.css +4 -1
- package/styles/tree-list.css +1 -1
- package/styles/typeahead.css +34 -1
- package/styles.css +1 -0
- package/dist/Blockquote-DFqBv_oJ.js +0 -18
- package/dist/Breadcrumbs-DIm4figq.js +0 -141
- package/dist/ButtonGroup-ySQWanDP.js +0 -125
- package/dist/DateTimeInput-A7m2O3bg.js +0 -268
- package/dist/FieldIcon--NTgW5IU.js +0 -44
- package/dist/MultiSelector-BtAUfQ3t.js +0 -990
- package/dist/NumberInput-AZ9x3oja.js +0 -473
- package/dist/Selector-DJ2BhUTV.js +0 -677
- package/dist/Spinner-9cYUCnDy.js +0 -84
- package/dist/Theme-CtaUWo4g.js +0 -1246
- package/dist/Toast-BuqIZV5z.js +0 -322
- package/dist/context-4PuqD1Ic.js +0 -4
- package/dist/context-D5-MwxnN.js +0 -4
- package/dist/context-iABt_ueM.js +0 -976
- package/dist/index-BH9PzQ1F.d.ts +0 -87
- package/dist/link-C4_WogdF.js +0 -18
- package/dist/loadCatalog-BGHKG_9N.d.ts +0 -457
- package/dist/loadCatalog-CXKqEB9s.js +0 -877
- package/dist/locale-DgkZEMTn.js +0 -105
- package/dist/platform-B_9W_aHW.js +0 -33
- package/dist/scrollLock-BzIvIimL.js +0 -42
- package/dist/useMenuPress-D-FRNrBW.js +0 -573
- package/dist/useScrollableArea-DDk_CluT.js +0 -172
- /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
//#region src/utils/chainEventHandlers.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* 把多个事件处理函数串成一个。每个函数都会按参数顺序执行。
|
|
4
|
+
*
|
|
5
|
+
* 和「前一个调用了 preventDefault 就跳过后面」不同:组件自己的处理函数
|
|
6
|
+
* 不能把事件藏起来,调用方也不能用 preventDefault 取消组件的行为。
|
|
7
|
+
*/
|
|
8
|
+
declare function chainEventHandlers<E>(...handlers: (((event: E) => void) | undefined)[]): (event: E) => void;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/utils/dateTypes.d.ts
|
|
11
|
+
/**
|
|
12
|
+
* ISO 8601 date string in YYYY-MM-DD format.
|
|
13
|
+
* Example: "2026-01-28"
|
|
14
|
+
*/
|
|
15
|
+
type ISODateString = `${number}${number}${number}${number}-${number}${number}-${number}${number}`;
|
|
16
|
+
/** Day of week: 0 = Sunday through 6 = Saturday */
|
|
17
|
+
type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
18
|
+
/**
|
|
19
|
+
* Three-letter lowercase weekday name, 'sun' through 'sat'.
|
|
20
|
+
* A more self-documenting alternative to the numeric {@link DayOfWeek}.
|
|
21
|
+
*/
|
|
22
|
+
type DayOfWeekName = 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat';
|
|
23
|
+
/**
|
|
24
|
+
* Normalize a weekday to its numeric {@link DayOfWeek}. Accepts either a
|
|
25
|
+
* number (0–6) or a three-letter day name ('sun'–'sat', case-insensitive),
|
|
26
|
+
* so APIs like `weekStartsOn` can take whichever is more readable at the
|
|
27
|
+
* call site. Unrecognized values fall back to 0 (Sunday).
|
|
28
|
+
*/
|
|
29
|
+
declare function normalizeDayOfWeek(value: DayOfWeek | DayOfWeekName): DayOfWeek;
|
|
30
|
+
/** Immutable date record with 1-based month. */
|
|
31
|
+
interface PlainDate {
|
|
32
|
+
readonly year: number;
|
|
33
|
+
/** 1-based (1 = January, 12 = December) */
|
|
34
|
+
readonly month: number;
|
|
35
|
+
readonly day: number;
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/utils/plainDate.d.ts
|
|
39
|
+
declare function plainDateCreate(year: number, month: number, day: number): PlainDate;
|
|
40
|
+
declare function plainDateFromISO(str: ISODateString): PlainDate;
|
|
41
|
+
declare function plainDateToISO(pd: PlainDate): ISODateString;
|
|
42
|
+
declare function plainDateToDate(pd: PlainDate): Date;
|
|
43
|
+
declare function plainDateFromDate(d: Date): PlainDate;
|
|
44
|
+
declare function plainDateToday(): PlainDate;
|
|
45
|
+
declare function getDaysInMonth(year: number, month: number): number;
|
|
46
|
+
declare function plainDateDayOfWeek(pd: PlainDate): number;
|
|
47
|
+
declare function plainDateAddMonths(pd: PlainDate, n: number): PlainDate;
|
|
48
|
+
declare function plainDateAddDays(pd: PlainDate, n: number): PlainDate;
|
|
49
|
+
/**
|
|
50
|
+
* Whole calendar days from `a` to `b`, ignoring time of day. Positive when
|
|
51
|
+
* `b` is after `a`, negative when before. Uses UTC midnight so DST shifts
|
|
52
|
+
* never add or drop a day.
|
|
53
|
+
*/
|
|
54
|
+
declare function plainDateDiffDays(a: PlainDate, b: PlainDate): number;
|
|
55
|
+
/**
|
|
56
|
+
* The wall-clock fields an instant reads as in a given zone.
|
|
57
|
+
*
|
|
58
|
+
* A fixed `'en-US'` locale with `hourCycle: 'h23'` keeps the parts numeric and
|
|
59
|
+
* stable whatever locale the viewer has, so callers can assemble machine
|
|
60
|
+
* shapes (`YYYY-MM-DD`, `HH:mm:ss`) from them. Exported for Timestamp, whose
|
|
61
|
+
* `system_*` formats are built from these fields rather than through `Intl`
|
|
62
|
+
* formatting.
|
|
63
|
+
*/
|
|
64
|
+
declare function getTimeZoneParts(instant: number, timezoneID: string): {
|
|
65
|
+
year: number;
|
|
66
|
+
month: number;
|
|
67
|
+
day: number;
|
|
68
|
+
hour: number;
|
|
69
|
+
minute: number;
|
|
70
|
+
second: number;
|
|
71
|
+
};
|
|
72
|
+
declare function plainDateToInstant(date: PlainDate, timezoneID: string, hour?: number, minute?: number): number;
|
|
73
|
+
declare function plainDateFromInstant(instant: number, timezoneID: string): PlainDate;
|
|
74
|
+
declare function plainDateIsBefore(a: PlainDate, b: PlainDate): boolean;
|
|
75
|
+
declare function plainDateIsAfter(a: PlainDate, b: PlainDate): boolean;
|
|
76
|
+
declare function plainDateIsEqual(a: PlainDate, b: PlainDate): boolean;
|
|
77
|
+
declare function plainDateMax(a: PlainDate, b: PlainDate): PlainDate;
|
|
78
|
+
declare function plainDateMin(a: PlainDate, b: PlainDate): PlainDate;
|
|
79
|
+
declare function plainDateIsInRange(pd: PlainDate, range: [PlainDate, PlainDate]): boolean;
|
|
80
|
+
declare function plainDateSetFirstOfMonth(pd: PlainDate): PlainDate;
|
|
81
|
+
declare function plainDateSetStartOfWeek(pd: PlainDate, weekStartsOn: number): PlainDate;
|
|
82
|
+
declare function plainDateSetEndOfWeekExclusive(pd: PlainDate, weekStartsOn: number): PlainDate;
|
|
83
|
+
declare function plainDateGetWeekNumber(pd: PlainDate): number;
|
|
84
|
+
declare const DATE_FORMAT_WITH_WEEKDAY: Intl.DateTimeFormatOptions;
|
|
85
|
+
declare const DATE_FORMAT_SHORT_WITH_WEEKDAY: Intl.DateTimeFormatOptions;
|
|
86
|
+
declare const DATE_FORMAT_LONG: Intl.DateTimeFormatOptions;
|
|
87
|
+
declare const DATE_FORMAT_MONTH_YEAR: Intl.DateTimeFormatOptions;
|
|
88
|
+
declare const DATE_FORMAT_WEEKDAY_ONLY: Intl.DateTimeFormatOptions;
|
|
89
|
+
declare const DATE_FORMAT_MONTH_ONLY: Intl.DateTimeFormatOptions;
|
|
90
|
+
declare const DATE_FORMAT_SHORT: Intl.DateTimeFormatOptions;
|
|
91
|
+
declare const DATE_FORMAT_SHORT_WITH_YEAR: Intl.DateTimeFormatOptions;
|
|
92
|
+
/**
|
|
93
|
+
* Format a `PlainDate` for display.
|
|
94
|
+
*
|
|
95
|
+
* The locale defaults to the same `'en'` fallback as `useLocale()`, avoiding
|
|
96
|
+
* runtime-dependent output when no provider locale is available. Astryx date
|
|
97
|
+
* APIs currently model Gregorian dates, so this helper defaults to Gregorian
|
|
98
|
+
* when `options.calendar` is omitted. The explicit option remains supported for
|
|
99
|
+
* compatibility with the public `Intl.DateTimeFormatOptions` signature; it is a
|
|
100
|
+
* display-only escape hatch and does not change PlainDate arithmetic, parsing,
|
|
101
|
+
* serialization, or any Astryx component's calendar semantics.
|
|
102
|
+
*/
|
|
103
|
+
declare function plainDateFormat(pd: PlainDate, options: Intl.DateTimeFormatOptions, locale?: string): string;
|
|
104
|
+
/**
|
|
105
|
+
* The locale's name for the "week of year" date field ("week", "Woche", "週"),
|
|
106
|
+
* from CLDR through `Intl.DisplayNames`. Calendar names its week-number
|
|
107
|
+
* column header with it, so no catalog string is needed for a word the
|
|
108
|
+
* platform already carries in every locale.
|
|
109
|
+
*
|
|
110
|
+
* `Intl.DisplayNames` with `type: 'dateTimeField'` is inside the Baseline − 2
|
|
111
|
+
* support tier (Chrome 106, Safari 15.4, Firefox 110). Should a host lack it
|
|
112
|
+
* or return nothing, the field's English CLDR name stands in rather than an
|
|
113
|
+
* empty header.
|
|
114
|
+
*/
|
|
115
|
+
declare function plainDateWeekFieldName(locale?: string): string;
|
|
116
|
+
/**
|
|
117
|
+
* The date-only members of Timestamp's `format` vocabulary that a
|
|
118
|
+
* calendar-date field (no time-of-day) can render. Both Timestamp and
|
|
119
|
+
* DateInput share these string literals and the mapping below so that the same
|
|
120
|
+
* literal renders the same date shape in either component.
|
|
121
|
+
*
|
|
122
|
+
* - `date`: locale short-month date, e.g. "Mar 21, 2026"
|
|
123
|
+
* - `date_long`: locale long-month date, e.g. "March 21, 2026"
|
|
124
|
+
* - `date_weekday`: short weekday + short-month date, e.g. "Wed, Mar 21, 2026"
|
|
125
|
+
* - `system_date`: ISO 8601 calendar date, e.g. "2026-03-21"
|
|
126
|
+
*/
|
|
127
|
+
type SharedDateFormat = 'date' | 'date_long' | 'date_weekday' | 'system_date';
|
|
128
|
+
/**
|
|
129
|
+
* Intl option bags for the locale-aware shared date members. `system_date` is
|
|
130
|
+
* intentionally absent — it is emitted as a fixed ISO `YYYY-MM-DD` string, not
|
|
131
|
+
* via `Intl` — and is handled directly by {@link formatSharedDate}.
|
|
132
|
+
*
|
|
133
|
+
* This is the single source of truth consumed by both Timestamp's
|
|
134
|
+
* `formatTimestamp` switch and DateInput's display path, so the two never
|
|
135
|
+
* drift for the members they share.
|
|
136
|
+
*/
|
|
137
|
+
declare const SHARED_DATE_FORMAT_OPTIONS: Record<Exclude<SharedDateFormat, 'system_date'>, Intl.DateTimeFormatOptions>;
|
|
138
|
+
/**
|
|
139
|
+
* Renders a {@link PlainDate} using one of the {@link SharedDateFormat}
|
|
140
|
+
* members. The shared entry point DateInput uses for the named-format path;
|
|
141
|
+
* Timestamp maps the same members onto {@link SHARED_DATE_FORMAT_OPTIONS} in
|
|
142
|
+
* its own `formatTimestamp` switch (its input is a `Date`, not a `PlainDate`).
|
|
143
|
+
*/
|
|
144
|
+
declare function formatSharedDate(pd: PlainDate, format: SharedDateFormat, locale?: string): string;
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/utils/dateParser.d.ts
|
|
147
|
+
/**
|
|
148
|
+
* Detects if the locale uses day-first date format (DD/MM/YYYY).
|
|
149
|
+
* US and a few others use month-first (MM/DD/YYYY).
|
|
150
|
+
*/
|
|
151
|
+
declare function isLocaleDayFirst(locale?: string): boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Parses user input into a PlainDate.
|
|
154
|
+
*
|
|
155
|
+
* Supports ISO dates, English month names, and ASCII numeric dates with or
|
|
156
|
+
* without a year. For ambiguous ASCII numeric input where both fields are at
|
|
157
|
+
* most 12, `locale` selects month-first versus day-first order. It does not
|
|
158
|
+
* localize month-name parsing, accept non-ASCII digits, or provide a general
|
|
159
|
+
* locale-aware parser.
|
|
160
|
+
*
|
|
161
|
+
* @returns PlainDate if valid, null if unparseable
|
|
162
|
+
*/
|
|
163
|
+
declare function parseDateInput(input: string, locale?: string): PlainDate | null;
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region src/utils/groupItems.d.ts
|
|
166
|
+
/**
|
|
167
|
+
* 能按组摆放的条目。分组标题写在 `auxiliaryData.group`。
|
|
168
|
+
*/
|
|
169
|
+
interface GroupableItem {
|
|
170
|
+
auxiliaryData?: unknown;
|
|
171
|
+
[extra: string]: unknown;
|
|
172
|
+
}
|
|
173
|
+
/** 一组条目。`heading` 为 null 表示这组没有标题。 */
|
|
174
|
+
interface ItemGroup<T> {
|
|
175
|
+
heading: string | null;
|
|
176
|
+
items: T[];
|
|
177
|
+
}
|
|
178
|
+
interface GroupItemsOptions {
|
|
179
|
+
/** 没有组名的条目放在有名字的组前面。默认放在最后。 */
|
|
180
|
+
ungroupedFirst?: boolean;
|
|
181
|
+
}
|
|
182
|
+
/** 读出条目上的组名。不是字符串就不算分组。空字符串仍算一个组名。 */
|
|
183
|
+
declare function getItemGroup(item: GroupableItem): string | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* 按 `auxiliaryData.group` 分组,组的先后跟它们第一次出现的顺序。
|
|
186
|
+
* 没有任何组名时,返回一组 `heading: null`。
|
|
187
|
+
*/
|
|
188
|
+
declare function groupItems<T extends GroupableItem>(items: readonly T[], { ungroupedFirst }?: GroupItemsOptions): ItemGroup<T>[];
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region src/utils/inputAria.d.ts
|
|
191
|
+
interface InputARIAInputGroup {
|
|
192
|
+
/** ID of the visible InputGroup label. */
|
|
193
|
+
labelID: string;
|
|
194
|
+
/** Space-separated IDs for InputGroup description/status text. */
|
|
195
|
+
describedByIDs?: string;
|
|
196
|
+
}
|
|
197
|
+
interface InputARIA {
|
|
198
|
+
/** Value for aria-labelledby on the input. */
|
|
199
|
+
ariaLabelledBy?: string;
|
|
200
|
+
/** Value for aria-describedby on the input. */
|
|
201
|
+
ariaDescribedBy?: string;
|
|
202
|
+
}
|
|
203
|
+
type AriaID = string | null | undefined | false;
|
|
204
|
+
declare function joinAriaIDs(...values: AriaID[]): string | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* Builds ARIA label/description wiring for an input.
|
|
207
|
+
*
|
|
208
|
+
* Standalone inputs keep their normal native label association. Grouped inputs
|
|
209
|
+
* are named by the visible InputGroup label plus their own input label, and
|
|
210
|
+
* inherit group description/status text in addition to input-local text.
|
|
211
|
+
*/
|
|
212
|
+
declare function getInputARIA(labelID: string, describedByIDs?: AriaID[], inputGroup?: InputARIAInputGroup | null): InputARIA;
|
|
213
|
+
//#endregion
|
|
214
|
+
//#region src/utils/inputPresentation.d.ts
|
|
215
|
+
/** Picker-surface policy for date/time inputs (`spec:AST-043` FR1). */
|
|
216
|
+
type InputPresentation = 'text-input' | 'popover' | 'bottom-sheet' | 'native' | 'adaptive-bottom-sheet' | 'adaptive-native';
|
|
217
|
+
/** `presentation` for components without a text-only surface: all except `TimeInput` exclude `text-input` (AST-043). */
|
|
218
|
+
type PickerPresentation = Exclude<InputPresentation, 'text-input'>;
|
|
219
|
+
/** The surface a resolved `InputPresentation` actually renders. */
|
|
220
|
+
type InputPresentationSurface = 'text-input' | 'desktop' | 'sheet' | 'native';
|
|
221
|
+
/** The surface a resolved `PickerPresentation` renders: one where a picker opens. */
|
|
222
|
+
type PickerPresentationSurface = Exclude<InputPresentationSurface, 'text-input'>;
|
|
223
|
+
/** Deprecated picker policy (`spec:AST-043` FR3). */
|
|
224
|
+
type LegacyNativePicker = 'touch' | 'always' | 'never';
|
|
225
|
+
/**
|
|
226
|
+
* Typed as the narrower policy because the default opens a picker for every
|
|
227
|
+
* component; it is still a valid `InputPresentation`.
|
|
228
|
+
*/
|
|
229
|
+
declare const DEFAULT_INPUT_PRESENTATION: PickerPresentation;
|
|
230
|
+
/**
|
|
231
|
+
* Map a deprecated `nativePicker` value to its `presentation` equivalent for
|
|
232
|
+
* a component whose every surface opens a picker (`DateInput`,
|
|
233
|
+
* `DateTimeInput`). Their released `never` was Astryx's own pickers on every
|
|
234
|
+
* pointer, so no value maps to `text-input` — which is what lets the return
|
|
235
|
+
* type exclude it.
|
|
236
|
+
*/
|
|
237
|
+
declare function pickerPresentationFromNativePicker(nativePicker: LegacyNativePicker): PickerPresentation;
|
|
238
|
+
/**
|
|
239
|
+
* Map a deprecated `nativePicker` value to its `presentation` equivalent.
|
|
240
|
+
* `TimeInput` differs: its released `never` is the typed field on every
|
|
241
|
+
* pointer, so it maps to `text-input`, not a sheet policy.
|
|
242
|
+
*/
|
|
243
|
+
declare function presentationFromNativePicker(nativePicker: LegacyNativePicker, component: 'date' | 'time'): InputPresentation;
|
|
244
|
+
/**
|
|
245
|
+
* The effective picker-only policy: explicit `presentation` wins over the
|
|
246
|
+
* deprecated prop. The narrow twin of {@link effectiveInputPresentation} for
|
|
247
|
+
* `DateInput` and `DateTimeInput`, whose `presentation` cannot be
|
|
248
|
+
* `text-input`.
|
|
249
|
+
*/
|
|
250
|
+
declare function effectivePickerPresentation(presentation: PickerPresentation | undefined, nativePicker: LegacyNativePicker | undefined): PickerPresentation;
|
|
251
|
+
/** The effective policy: explicit `presentation` wins over the deprecated prop. */
|
|
252
|
+
declare function effectiveInputPresentation(presentation: InputPresentation | undefined, nativePicker: LegacyNativePicker | undefined, component: 'date' | 'time'): InputPresentation;
|
|
253
|
+
/** Resolve a picker-only policy to the surface rendered for the current pointer. */
|
|
254
|
+
declare function resolvePickerPresentation(presentation: PickerPresentation, isCoarsePointer: boolean): PickerPresentationSurface;
|
|
255
|
+
/** Resolve a policy to the surface rendered for the current pointer. */
|
|
256
|
+
declare function resolveInputPresentation(presentation: InputPresentation, isCoarsePointer: boolean): InputPresentationSurface;
|
|
257
|
+
//#endregion
|
|
258
|
+
//#region src/utils/parseStyleKey.d.ts
|
|
259
|
+
/**
|
|
260
|
+
* 把组件样式键编成 data 属性选择器后缀。
|
|
261
|
+
*
|
|
262
|
+
* `prop:value` 选择 `[data-prop="value"]`。裸状态选择 `[data-state="state"]`。
|
|
263
|
+
* `+` 把多个条件接在同一个组件目标上。轴名留在选择器里,避免不同属性的相同值撞在一起。
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* parseStyleKey('base') // ''
|
|
267
|
+
* parseStyleKey('variant:secondary') // '[data-variant="secondary"]'
|
|
268
|
+
* parseStyleKey('checked+disabled') // '[data-checked="checked"][data-disabled="disabled"]'
|
|
269
|
+
*/
|
|
270
|
+
declare function parseStyleKey(key: string): string;
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region src/utils/safeUrl.d.ts
|
|
273
|
+
/**
|
|
274
|
+
* 导航地址的协议检查。
|
|
275
|
+
*
|
|
276
|
+
* 拦下 `javascript:`、`vbscript:` 和会当成页面打开的 `data:text/html`。
|
|
277
|
+
* 通过的字符串原样返回,不去掉调用方自己写的空白以外的内容。
|
|
278
|
+
* 图片、样式这类嵌入资源不走这里。
|
|
279
|
+
*/
|
|
280
|
+
/** 规范化后的导航地址。危险协议返回 null。 */
|
|
281
|
+
declare function sanitizeUrl(url: string): string | null;
|
|
282
|
+
/** 只判断,不改写调用方要交给浏览器的那个字符串。 */
|
|
283
|
+
declare function isSafeUrl(url: string): boolean;
|
|
284
|
+
/**
|
|
285
|
+
* 检查字符串,以及带 pathname / href / protocol 的路由对象。
|
|
286
|
+
* 空地址算安全(调用方本来就没有目的地)。不是字符串也不是对象的值算不安全。
|
|
287
|
+
*/
|
|
288
|
+
declare function isSafeDestination(destination: unknown): boolean;
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region src/utils/sharedResizeObserver.d.ts
|
|
291
|
+
type ResizeCallback = (entry: ResizeObserverEntry) => void;
|
|
292
|
+
/**
|
|
293
|
+
* Observe an element's size via a shared ResizeObserver singleton.
|
|
294
|
+
*
|
|
295
|
+
* Fires the callback once synchronously on registration (with a
|
|
296
|
+
* synthetic entry) so callers don't need separate initial-measurement
|
|
297
|
+
* logic. Subsequent callbacks fire on actual resizes.
|
|
298
|
+
*
|
|
299
|
+
* Returns an unsubscribe function that removes only this registration, leaving
|
|
300
|
+
* every other observer of the same element intact — prefer it over
|
|
301
|
+
* `unobserveResize(element)`, which drops them all. The shared observer is
|
|
302
|
+
* destroyed when the last element is unobserved.
|
|
303
|
+
*
|
|
304
|
+
* @example
|
|
305
|
+
* ```
|
|
306
|
+
* const unsubscribe = observeResize(element, (entry) => {
|
|
307
|
+
* console.log(entry.contentBoxSize);
|
|
308
|
+
* });
|
|
309
|
+
*
|
|
310
|
+
* // Cleanup:
|
|
311
|
+
* unsubscribe();
|
|
312
|
+
* ```
|
|
313
|
+
*/
|
|
314
|
+
declare function observeResize(element: Element, callback: ResizeCallback): () => void;
|
|
315
|
+
/**
|
|
316
|
+
* Stop observing an element.
|
|
317
|
+
*
|
|
318
|
+
* Pass the callback to remove only that registration — the unsubscribe returned
|
|
319
|
+
* by `observeResize` does this for you. Omitting it removes EVERY callback on
|
|
320
|
+
* the element, which silences peers that are still mounted, so it is only
|
|
321
|
+
* correct for a caller that owns the element outright.
|
|
322
|
+
*
|
|
323
|
+
* If no elements remain, the shared observer is disconnected and released for
|
|
324
|
+
* garbage collection.
|
|
325
|
+
*/
|
|
326
|
+
declare function unobserveResize(element: Element, callback?: ResizeCallback): void;
|
|
327
|
+
//#endregion
|
|
328
|
+
//#region src/utils/timeParser.d.ts
|
|
329
|
+
/**
|
|
330
|
+
* ISO time string in HH:MM or HH:MM:SS format (24-hour).
|
|
331
|
+
* Examples: "14:30", "09:15:00", "23:59:59"
|
|
332
|
+
*/
|
|
333
|
+
type ISOTimeString = string & {
|
|
334
|
+
readonly __brand: 'ISOTimeString';
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* Validates and creates an ISOTimeString from a string.
|
|
338
|
+
* Returns null if the string is not a valid time format.
|
|
339
|
+
*/
|
|
340
|
+
declare function createISOTimeString(value: string): ISOTimeString | null;
|
|
341
|
+
/**
|
|
342
|
+
* Formats a time for display in 12-hour format.
|
|
343
|
+
* Example: "14:30" -> "2:30 PM"
|
|
344
|
+
*/
|
|
345
|
+
declare function formatDisplayTime12h(time: ISOTimeString | undefined, includeSeconds?: boolean): string;
|
|
346
|
+
/**
|
|
347
|
+
* Formats a time for display in 24-hour format.
|
|
348
|
+
* Example: "14:30" -> "14:30"
|
|
349
|
+
*/
|
|
350
|
+
declare function formatDisplayTime24h(time: ISOTimeString | undefined, includeSeconds?: boolean): string;
|
|
351
|
+
/**
|
|
352
|
+
* Parses user input into an ISOTimeString.
|
|
353
|
+
* Accepts various formats:
|
|
354
|
+
* - "2:30 PM", "2:30pm", "2:30 pm"
|
|
355
|
+
* - "14:30", "1430"
|
|
356
|
+
* - "2pm", "2 PM"
|
|
357
|
+
*/
|
|
358
|
+
declare function parseTimeInput(input: string, includeSeconds?: boolean): ISOTimeString | null;
|
|
359
|
+
/**
|
|
360
|
+
* Compares two times. Returns:
|
|
361
|
+
* - negative if a < b
|
|
362
|
+
* - 0 if a === b
|
|
363
|
+
* - positive if a > b
|
|
364
|
+
*/
|
|
365
|
+
declare function compareTime(a: ISOTimeString | undefined, b: ISOTimeString | undefined): number;
|
|
366
|
+
/**
|
|
367
|
+
* Clamps a time to a min/max range.
|
|
368
|
+
*/
|
|
369
|
+
declare function clampTime(time: ISOTimeString, min?: ISOTimeString, max?: ISOTimeString, includeSeconds?: boolean): ISOTimeString;
|
|
370
|
+
/**
|
|
371
|
+
* Adjusts a time by adding/subtracting minutes.
|
|
372
|
+
*/
|
|
373
|
+
declare function adjustTime(time: ISOTimeString, deltaMinutes: number, includeSeconds?: boolean): ISOTimeString;
|
|
374
|
+
//#endregion
|
|
375
|
+
export { plainDateDayOfWeek as $, GroupItemsOptions as A, DATE_FORMAT_SHORT as B, presentationFromNativePicker as C, PlainDate as Ct, InputARIAInputGroup as D, InputARIA as E, isLocaleDayFirst as F, SHARED_DATE_FORMAT_OPTIONS as G, DATE_FORMAT_SHORT_WITH_YEAR as H, parseDateInput as I, getDaysInMonth as J, SharedDateFormat as K, DATE_FORMAT_LONG as L, ItemGroup as M, getItemGroup as N, getInputARIA as O, groupItems as P, plainDateCreate as Q, DATE_FORMAT_MONTH_ONLY as R, pickerPresentationFromNativePicker as S, ISODateString as St, resolvePickerPresentation as T, chainEventHandlers as Tt, DATE_FORMAT_WEEKDAY_ONLY as U, DATE_FORMAT_SHORT_WITH_WEEKDAY as V, DATE_FORMAT_WITH_WEEKDAY as W, plainDateAddDays as X, getTimeZoneParts as Y, plainDateAddMonths as Z, LegacyNativePicker as _, plainDateToInstant as _t, formatDisplayTime12h as a, plainDateGetWeekNumber as at, effectiveInputPresentation as b, DayOfWeek as bt, observeResize as c, plainDateIsEqual as ct, isSafeUrl as d, plainDateMin as dt, plainDateDiffDays as et, sanitizeUrl as f, plainDateSetEndOfWeekExclusive as ft, InputPresentationSurface as g, plainDateToISO as gt, InputPresentation as h, plainDateToDate as ht, createISOTimeString as i, plainDateFromInstant as it, GroupableItem as j, joinAriaIDs as k, unobserveResize as l, plainDateIsInRange as lt, DEFAULT_INPUT_PRESENTATION as m, plainDateSetStartOfWeek as mt, clampTime as n, plainDateFromDate as nt, formatDisplayTime24h as o, plainDateIsAfter as ot, parseStyleKey as p, plainDateSetFirstOfMonth as pt, formatSharedDate as q, compareTime as r, plainDateFromISO as rt, parseTimeInput as s, plainDateIsBefore as st, adjustTime as t, plainDateFormat as tt, isSafeDestination as u, plainDateMax as ut, PickerPresentation as v, plainDateToday as vt, resolveInputPresentation as w, normalizeDayOfWeek as wt, effectivePickerPresentation as x, DayOfWeekName as xt, PickerPresentationSurface as y, plainDateWeekFieldName as yt, DATE_FORMAT_MONTH_YEAR as z };
|
|
@@ -27,11 +27,11 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<NavItemProps> & Readonly<{
|
|
28
28
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
|
|
30
|
+
block: boolean;
|
|
31
|
+
isSelected: boolean;
|
|
31
32
|
isDisabled: boolean;
|
|
33
|
+
size: NavItemSize;
|
|
32
34
|
isIconOnly: boolean;
|
|
33
|
-
isSelected: boolean;
|
|
34
|
-
block: boolean;
|
|
35
35
|
plain: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as SpacingStep } from "./types-BTk0WZ0b.js";
|
|
2
2
|
import { n as BadgeVariant } from "./types-DIYwbkpe.js";
|
|
3
|
-
import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-
|
|
3
|
+
import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-aGzrvRkI.js";
|
|
4
4
|
import { ComputedRef, InjectionKey, MaybeRefOrGetter, Ref, VNode } from "vue";
|
|
5
|
-
//#region src/Chat/
|
|
5
|
+
//#region src/Chat/messageTypes.d.ts
|
|
6
6
|
/** Who sent a message row. `system` is centered and ignores avatar, name, and metadata. */
|
|
7
7
|
type ChatMessageSender = 'user' | 'assistant' | 'system';
|
|
8
8
|
/** Spacing and width preset shared by the layout, the list, and each message. */
|
|
@@ -269,6 +269,8 @@ interface ChatUnreadDividerProps {
|
|
|
269
269
|
/** Short label at the end of the rule. Defaults to the localized "New". */
|
|
270
270
|
label?: string;
|
|
271
271
|
}
|
|
272
|
+
//#endregion
|
|
273
|
+
//#region src/Chat/composerTypes.d.ts
|
|
272
274
|
/** Visual density of the composer shell. `spacious` uses the same spacing as `balanced`. */
|
|
273
275
|
type ChatComposerDensity = ChatDensity;
|
|
274
276
|
/** Resting elevation of the composer body. */
|
|
@@ -376,6 +378,14 @@ interface ChatComposerTrigger {
|
|
|
376
378
|
renderItem?: (item: SearchableItem) => VNode;
|
|
377
379
|
/** Plain text is inserted as-is. A token becomes a chip. */
|
|
378
380
|
onSelect: (item: SearchableItem) => string | ChatComposerToken;
|
|
381
|
+
/**
|
|
382
|
+
* Keep this query through spaces and punctuation.
|
|
383
|
+
* It ends at a line break, after 64 characters, or when the same trigger
|
|
384
|
+
* character starts again after a space, a tab, or a line break.
|
|
385
|
+
* Another trigger character inside the query stays ordinary text.
|
|
386
|
+
* @default false
|
|
387
|
+
*/
|
|
388
|
+
hasMultiWordQuery?: boolean;
|
|
379
389
|
/**
|
|
380
390
|
* Turn a serialized value back into a chip when a saved draft is loaded.
|
|
381
391
|
* The input stores the value; callers use this when they rebuild chips.
|
|
@@ -383,7 +393,10 @@ interface ChatComposerTrigger {
|
|
|
383
393
|
deserialize?: (value: string) => ChatComposerToken | null;
|
|
384
394
|
/**
|
|
385
395
|
* Shown when the query matches nothing.
|
|
386
|
-
*
|
|
396
|
+
* A single-token query uses the localized default when this is `null` or omitted.
|
|
397
|
+
* An empty string keeps the menu open and shows no message.
|
|
398
|
+
* A multi-word query hides the menu when this is `null` or omitted.
|
|
399
|
+
* Supply a string to keep that empty panel open.
|
|
387
400
|
*/
|
|
388
401
|
emptySearchText?: string | VNode | null;
|
|
389
402
|
/** Shown while an async search is in flight. */
|
|
@@ -594,7 +607,7 @@ declare const _default$14: typeof __VLS_export$14;
|
|
|
594
607
|
//#endregion
|
|
595
608
|
//#region src/Chat/ChatDictationButton.vue.d.ts
|
|
596
609
|
declare const __VLS_export$13: import("vue").DefineComponent<ChatDictationButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatDictationButtonProps> & Readonly<{}>, {
|
|
597
|
-
size: "
|
|
610
|
+
size: "sm" | "md";
|
|
598
611
|
isHiddenWhenUnsupported: boolean;
|
|
599
612
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
600
613
|
declare const _default$13: typeof __VLS_export$13;
|
|
@@ -717,7 +730,7 @@ declare const __VLS_base$3: import("vue").DefineComponent<ChatSendButtonProps, {
|
|
|
717
730
|
onStop?: (() => any) | undefined;
|
|
718
731
|
onSend?: (() => any) | undefined;
|
|
719
732
|
}>, {
|
|
720
|
-
size: "
|
|
733
|
+
size: "sm" | "md";
|
|
721
734
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
722
735
|
declare const __VLS_export$5: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
723
736
|
declare const _default$5: typeof __VLS_export$5;
|
|
@@ -936,4 +949,4 @@ interface UseChatPasteAsTokenReturn {
|
|
|
936
949
|
declare function pastedTextLabel(text: string): string;
|
|
937
950
|
declare function useChatPasteAsToken(options: UseChatPasteAsTokenOptions): UseChatPasteAsTokenReturn;
|
|
938
951
|
//#endregion
|
|
939
|
-
export { ChatComposerTokenBadge as $, _default$9 as A,
|
|
952
|
+
export { ChatComposerTokenBadge as $, _default$9 as A, ChatReasoningProps as At, ChatComposerDrawerEmits as B, ChatTypingIndicatorProps as Bt, _default$2 as C, ChatMessageMetadataProps as Ct, _default$6 as D, ChatMessageSlots as Dt, _default$5 as E, ChatMessageSender as Et, _default$14 as F, ChatToolCallItem as Ft, ChatComposerInputControl as G, ChatComposerDrawerSlots as H, _default$15 as I, ChatToolCallStatus as It, ChatComposerInputProps as J, ChatComposerInputEmits as K, _default$16 as L, ChatToolCallsEmits as Lt, _default$11 as M, ChatSystemMessageProps as Mt, _default$12 as N, ChatSystemMessageSlots as Nt, _default$7 as O, ChatMessageStatus as Ot, _default$13 as P, ChatSystemMessageVariant as Pt, ChatComposerToken as Q, _default$17 as R, ChatToolCallsProps as Rt, _default$1 as S, ChatMessageListSlots as St, _default$4 as T, ChatMessageProps as Tt, ChatComposerElevation as U, ChatComposerDrawerProps as V, ChatUnreadDividerProps as Vt, ChatComposerEmits as W, ChatComposerSlots as X, ChatComposerProps as Y, ChatComposerStatus as Z, useChatComposerContext as _, ChatMessageBubbleProps as _t, useChatPasteAsToken as a, ChatSendButtonEmits as at, useChatMessageContext as b, ChatMessageListAlign as bt, SpeechRecognitionError as c, ChatTokenizedTextProps as ct, useSpeechRecognition as d, ChatLayoutProps as dt, ChatComposerTokenCustom as et, TokenPortal as f, ChatLayoutScrollButtonEmits as ft, ChatComposerContextValue as g, ChatMessageBubbleGroup as gt, useChatComposerTokens as h, ChatLayoutSlots as ht, pastedTextLabel as i, ChatDictationButtonProps as it, _default$10 as j, ChatReasoningSlots as jt, _default$8 as k, ChatReasoningEmits as kt, UseSpeechRecognitionOptions as l, ChatTokenizedTextSlots as lt, UseChatComposerTokensReturn as m, ChatLayoutScrollSlotProps as mt, UseChatPasteAsTokenOptions as n, ChatComposerTrigger as nt, UseChatDictationOptions as o, ChatSendButtonProps as ot, UseChatComposerTokensOptions as p, ChatLayoutScrollButtonProps as pt, ChatComposerInputHandle as q, UseChatPasteAsTokenReturn as r, ChatComposerTriggerItem as rt, useChatDictation as s, ChatSendButtonSlots as st, PASTE_TOKEN_THRESHOLD as t, ChatComposerTokenElementProps as tt, UseSpeechRecognitionReturn as u, ChatDensity as ut, useChatLayoutContext as v, ChatMessageBubbleSlots as vt, _default$3 as w, ChatMessageMetadataSlots as wt, _default as x, ChatMessageListProps as xt, useChatListContext as y, ChatMessageBubbleVariant as yt, ChatComposerDensity as z, ChatToolCallsSlots as zt };
|
|
@@ -125,8 +125,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
125
125
|
onChange?: ((value: string) => any) | undefined;
|
|
126
126
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
127
127
|
}>, {
|
|
128
|
-
size: SegmentedControlSize;
|
|
129
128
|
isDisabled: boolean;
|
|
129
|
+
size: SegmentedControlSize;
|
|
130
130
|
layout: SegmentedControlLayout;
|
|
131
131
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
-
import {
|
|
2
|
+
import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, d as DropdownMenuPresentation, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-Qd-8Rg4Q.js";
|
|
3
3
|
import { ComputedRef, InjectionKey, Ref } from "vue";
|
|
4
4
|
//#region src/DropdownMenu/useMenuDrillIn.d.ts
|
|
5
5
|
/**
|
|
@@ -39,6 +39,8 @@ interface DropdownMenuContextValue {
|
|
|
39
39
|
drillIn: ComputedRef<MenuDrillIn>;
|
|
40
40
|
/** Move focus to the header or the footer. */
|
|
41
41
|
focusRegion: (direction: 'previous' | 'next') => boolean;
|
|
42
|
+
/** Cycle Tab through the dialog around the menu. No-op without a header or footer. */
|
|
43
|
+
moveDialogTab: (event: KeyboardEvent, isFromFlyout?: boolean) => void;
|
|
42
44
|
}
|
|
43
45
|
/** The surrounding menu, or `undefined` when a row stands alone. */
|
|
44
46
|
declare function useDropdownMenuContext(): DropdownMenuContextValue | undefined;
|
|
@@ -67,7 +69,6 @@ declare const __VLS_base$3: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
67
69
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
68
70
|
"onUpdate:isMenuOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
69
71
|
}>, {
|
|
70
|
-
button: DropdownMenuButtonProps;
|
|
71
72
|
placement: LayerPlacement;
|
|
72
73
|
alignment: LayerAlignment;
|
|
73
74
|
presentation: DropdownMenuPresentation;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-
|
|
2
|
-
import { t as
|
|
1
|
+
import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-aGzrvRkI.js";
|
|
2
|
+
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
3
|
+
import { t as PowerSearchMessages } from "./power-search-gHLIYXs5.js";
|
|
3
4
|
import { Component, VNodeChild } from "vue";
|
|
4
5
|
//#region src/PowerSearch/types.d.ts
|
|
5
6
|
interface EmptyOperatorValue {
|
|
@@ -249,10 +250,13 @@ interface PowerSearchComponentOverride {
|
|
|
249
250
|
editor?: Component;
|
|
250
251
|
}
|
|
251
252
|
type PowerSearchComponents = Partial<Record<OperatorValue['type'], PowerSearchComponentOverride>>;
|
|
252
|
-
interface PowerSearchProps {
|
|
253
|
+
interface PowerSearchProps extends FieldPartStylingProps {
|
|
253
254
|
config: PowerSearchConfig;
|
|
254
255
|
filters?: readonly PowerSearchFilter[];
|
|
255
256
|
label?: string;
|
|
257
|
+
/** 视觉上隐藏标签。没传时隐藏。传 false 会把标签显示出来。 */
|
|
258
|
+
isLabelHidden?: boolean;
|
|
259
|
+
/** `isLabelHidden` 的旧名。两个都传时听正名。 */
|
|
256
260
|
labelHidden?: boolean;
|
|
257
261
|
placeholder?: string;
|
|
258
262
|
autofocus?: boolean;
|
|
@@ -351,8 +355,17 @@ interface EditorPlacementInput {
|
|
|
351
355
|
control: EditorBox;
|
|
352
356
|
viewportWidth: number;
|
|
353
357
|
direction: 'ltr' | 'rtl';
|
|
354
|
-
/**
|
|
358
|
+
/**
|
|
359
|
+
* 视口左右共用的留白。没单独给左右边时用它。
|
|
360
|
+
* 默认跟浮层基础留白一样,是 16。
|
|
361
|
+
*/
|
|
355
362
|
viewportInset?: number;
|
|
363
|
+
/** 视口左侧留白。没传时用 `viewportInset`。 */
|
|
364
|
+
inlineStart?: number;
|
|
365
|
+
/** 视口右侧留白。没传时用 `viewportInset`。 */
|
|
366
|
+
inlineEnd?: number;
|
|
367
|
+
/** 视口上下留白。没传时用 `viewportInset`。 */
|
|
368
|
+
blockInset?: number;
|
|
356
369
|
}
|
|
357
370
|
interface EditorPlacement {
|
|
358
371
|
width: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Component } from "vue";
|
|
1
2
|
//#region src/StatusDot/types.d.ts
|
|
2
3
|
type StatusDotVariant = 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
3
4
|
interface StatusDotProps {
|
|
@@ -19,6 +20,11 @@ interface StatusDotProps {
|
|
|
19
20
|
* Tooltip text shown on hover and on keyboard focus to explain the status.
|
|
20
21
|
*/
|
|
21
22
|
tooltip?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 画在圆点里的图标。不传时圆点只靠颜色表达状态。
|
|
25
|
+
* 插槽 `icon` 优先于这个属性。
|
|
26
|
+
*/
|
|
27
|
+
icon?: Component;
|
|
22
28
|
}
|
|
23
29
|
//#endregion
|
|
24
30
|
//#region src/StatusDot/StatusDot.vue.d.ts
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { s as ButtonSize } from "./types-WlmsNL1I.js";
|
|
2
|
-
import { t as ExtendedIconName } from "./types-
|
|
3
|
-
import { l as FieldStatusVariant, o as FieldStatusInput } from "./types-
|
|
2
|
+
import { t as ExtendedIconName } from "./types-C5GQ2KCK.js";
|
|
3
|
+
import { l as FieldStatusVariant, o as FieldStatusInput } from "./types-Bb7OGivY.js";
|
|
4
|
+
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
4
5
|
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-OGMYGejX.js";
|
|
5
|
-
import { Component, Ref, VNode } from "vue";
|
|
6
|
+
import { Component, HTMLAttributes, Ref, StyleValue, VNode } from "vue";
|
|
6
7
|
//#region src/ComplexSelector/types.d.ts
|
|
7
8
|
interface ComplexSelectorState {
|
|
8
9
|
isOpen: boolean;
|
|
@@ -10,7 +11,7 @@ interface ComplexSelectorState {
|
|
|
10
11
|
triggerId: string;
|
|
11
12
|
contentId: string;
|
|
12
13
|
}
|
|
13
|
-
type ComplexSelectorVariant = 'input' | 'ghost';
|
|
14
|
+
type ComplexSelectorVariant = 'input' | 'secondary' | 'ghost';
|
|
14
15
|
interface ComplexSelectorHandle {
|
|
15
16
|
/** Open the popup. */
|
|
16
17
|
open: () => void;
|
|
@@ -45,7 +46,7 @@ interface ComplexSelectorSlotProps<Value> {
|
|
|
45
46
|
close: () => void;
|
|
46
47
|
state: ComplexSelectorState;
|
|
47
48
|
}
|
|
48
|
-
interface ComplexSelectorProps<Value = unknown> {
|
|
49
|
+
interface ComplexSelectorProps<Value = unknown> extends FieldPartStylingProps {
|
|
49
50
|
/** Field label. It also names the popup. */
|
|
50
51
|
label: string;
|
|
51
52
|
/** Current value. Bind with `v-model`. */
|
|
@@ -70,6 +71,12 @@ interface ComplexSelectorProps<Value = unknown> {
|
|
|
70
71
|
/** @default 'attached' */
|
|
71
72
|
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
72
73
|
labelTooltip?: string;
|
|
74
|
+
/** Explicit popup width (number = px). Unset keeps the popup matching the trigger; it is always capped to the viewport. */
|
|
75
|
+
popupWidth?: number | string;
|
|
76
|
+
/** Class for the popup content container, which carries the popup padding and scroll. */
|
|
77
|
+
contentClass?: HTMLAttributes['class'];
|
|
78
|
+
/** Inline style for the popup content container, e.g. `{ padding: 0 }` to let content reach the popup edges. */
|
|
79
|
+
contentStyle?: StyleValue;
|
|
73
80
|
/** @default 'md' */
|
|
74
81
|
size?: ButtonSize;
|
|
75
82
|
width?: number | string;
|
|
@@ -86,7 +93,7 @@ interface ComplexSelectorProps<Value = unknown> {
|
|
|
86
93
|
*/
|
|
87
94
|
startIcon?: ExtendedIconName | Component;
|
|
88
95
|
/**
|
|
89
|
-
* `input` is the bordered field. `ghost` matches a toolbar button.
|
|
96
|
+
* `input` is the bordered field. `secondary` matches a secondary button. `ghost` matches a toolbar button.
|
|
90
97
|
* @default 'input'
|
|
91
98
|
*/
|
|
92
99
|
variant?: ComplexSelectorVariant;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as AstryxMessages } from "./loadCatalog-
|
|
1
|
+
import { s as AstryxMessages } from "./loadCatalog-opk5hs94.js";
|
|
2
2
|
import { ComputedRef, InjectionKey, MaybeRefOrGetter } from "vue";
|
|
3
3
|
//#region src/locale/types.d.ts
|
|
4
4
|
/** 内置文案的两种语言。其他语言用 `loadAstryxCatalog` 接原版 JSON。 */
|
|
@@ -8,9 +8,9 @@ type AstryxLocale = 'en' | 'zh-CN';
|
|
|
8
8
|
declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<string>>;
|
|
9
9
|
declare const astryxMessagesKey: InjectionKey<MaybeRefOrGetter<AstryxMessages>>;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
* `
|
|
13
|
-
* `
|
|
11
|
+
* 把语言标签收成规范写法。
|
|
12
|
+
* `zh`、`zh-CN`、`zh-Hans` 收成 `zh-CN`,对上内置的简体中文文案。
|
|
13
|
+
* 其余标签只做大小写规范,例如 `en-gb` 收成 `en-GB`,日期和数字因此按这个地区的习惯排。
|
|
14
14
|
* 空值和解析不了的标签回到 `en`。
|
|
15
15
|
*/
|
|
16
16
|
declare function normalizeLocale(locale: string | null | undefined): string;
|
|
@@ -85,8 +85,8 @@ interface StepSlots {
|
|
|
85
85
|
type __VLS_Slots$1 = StepSlots;
|
|
86
86
|
declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
87
87
|
isDisabled: boolean;
|
|
88
|
-
isOptional: boolean;
|
|
89
88
|
indicator: StepIndicator;
|
|
89
|
+
isOptional: boolean;
|
|
90
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
92
92
|
declare const _default$1: typeof __VLS_export$1;
|