@astryx-vue/core 0.2.6 → 0.4.0
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/THIRD_PARTY_NOTICES.md +9 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BBhl5P1X.js → AlertDialog-C2inDZWG.js} +13 -7
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-mrflO0Uy.js → AppShell-CumzH-8z.js} +3 -3
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-pPZ4dI_s.js → Avatar-BW0TE8t9.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-DLC_FFR5.js} +57 -13
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-GbGxrqQO.js → Banner-C5VAwo4D.js} +68 -34
- 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-eJ3FzTBD.js → BottomSheet-B4sc3F1S.js} +288 -140
- package/dist/{BottomSheet-DIVwbGr3.js → BottomSheet-m54uCMJN.js} +20 -4
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Breadcrumbs-CTaz7Kh4.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-BAqzzQm2.js} +5 -5
- package/dist/Card/index.d.ts +2 -2
- package/dist/Card/index.js +1 -1
- package/dist/{Card-HAjZQg2s.js → Card-B-I24X9S.js} +2 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DAkOa7KK.js → Carousel-DXC22UWq.js} +50 -33
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DVoI6UOA.js → Chat-BdJW6IX5.js} +152 -83
- 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-DJHCbwgC.js} +19 -11
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-BdZIP4_J.js} +155 -38
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Djgwa0ko.js → Citation-DbZn2vms.js} +8 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-Bhds4RRe.js → ClickableCard-ChAfiw9T.js} +10 -7
- 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-BUM3czCS.js → CodeBlock-Caaflp7C.js} +7 -3
- 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-D6wYS30d.js → CommandPalette-C_MClfAg.js} +146 -62
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Bil81sfq.js → ComplexSelector-BeVQaqRf.js} +94 -22
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DdLJnxNN.js → ContextMenu-C6hPYvYz.js} +299 -179
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-u2XKccpK.js → DateInput-BjLdmYor.js} +567 -76
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-u7LhH6up.js → DateRangeInput-Br3wVEfD.js} +99 -28
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/DateTimeInput-CAZBwoRe.js +562 -0
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-BiOSKQso.js → Dialog-Dce4Y97V.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-SM_BEOgM.js → DropdownMenu-BdGmQVb1.js} +85 -57
- package/dist/{DropdownMenu-BEasdJ6R.js → DropdownMenu-BzQrNV9C.js} +481 -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--OEsLBfE.js} +4 -3
- package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-gxsnfkZw.js} +3 -3
- package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-jxIiWgLw.js} +12 -7
- 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-BpdiO1V8.js → FileInput-B_pUxB0Y.js} +106 -29
- 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-CwXPan8c.js +40 -0
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-CA03Smrs.js → InputGroup-DiiocoIW.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-kBapgKAQ.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-9X6eCUoY.js → Layout-JJRCG7Mf.js} +1 -1
- package/dist/{LayoutPanel-DeOh00p5.js → LayoutPanel-zM5vjrKS.js} +15 -8
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DTF9EdTG.js → Lightbox-D8wyPgMK.js} +8 -6
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BqHCtiyt.js → Link-DweIpOtN.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 +5 -2
- package/dist/Markdown/parser/index.d.ts +4 -0
- package/dist/Markdown/parser/index.js +3 -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-2CVyZDuB.js → Markdown-DhVfOvXk.js} +195 -484
- package/dist/MediaTheme-DlLqYhDy.js +433 -0
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-B-OelQlt.js → MetadataList-CEYceIlN.js} +15 -7
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-C3dkrM98.js → MobileNavToggle-pdoJFZHx.js} +60 -19
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-D1WFGqGU.js → MoreMenu-CFNqSRev.js} +87 -67
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/MultiSelector-DuVatmq5.js +1456 -0
- package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
- package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-C4v_MtkX.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-B0vzOg3N.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-CfGv2F1o.js} +91 -6
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BgRLZ3dh.js} +23 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cc4BrjQg.js → Pagination-Bfe12018.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-CtoBfVlD.js → Popover-78dFjTb9.js} +28 -17
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DHoiObLn.js → PowerSearch-BoAMdFaT.js} +776 -586
- 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-BIipql-L.js} +94 -26
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-xY1cwLdZ.js → RadioList-GyhgBg4j.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-TPlUCAHD.js} +103 -50
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-CJiaALHm.js → ScrollableArea-0u6RWtGG.js} +14 -3
- package/dist/Scrollbars/index.d.ts +2 -0
- package/dist/Scrollbars/index.js +3 -0
- package/dist/Scrollbars-D_93hJYK.js +75 -0
- 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-Bj5s_tIN.js → SelectableCard-BEqnhPaX.js} +17 -12
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-CPISLzp7.js +1049 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-Dtv8eA2j.js → SideNav-CN2QeAtY.js} +64 -41
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DWobsPgm.js → Slider-pdC0jpHu.js} +172 -46
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-DdVUadii.js +200 -0
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-CjQEavuq.js → Stack-Bb_h60t3.js} +10 -3
- package/dist/{Stack-D_Bhs-3r.js → Stack-Bp-XN9J4.js} +20 -9
- 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-CyaSRSdu.js} +101 -79
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DaVPRxvN.js → Switch-Z2Vfiiic.js} +38 -22
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIkK9sgK.js → TabList-DRqP0Hrv.js} +205 -63
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-hqZMmzfU.js → Table-BcrrylMX.js} +727 -448
- package/dist/Text/index.d.ts +2 -2
- 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-DA9CCG_J.js} +104 -50
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-zFT1_qgI.js → TextInput-CI96einV.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-B2ZAY59J.js} +13 -10
- package/dist/{TimeField-ByiJKBRM.js → TimeField-CpAgja9D.js} +299 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-S8n946tp.js → TimeInput-Bw_lHS4M.js} +78 -9
- package/dist/Timer/index.d.ts +1 -1
- 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-BFNuoTZ0.js} +5 -5
- package/dist/Toast/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toast-DwnPjx6j.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-BfS4vi__.js} +32 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-41p035dX.js → Tokenizer-Ci3E5bvP.js} +109 -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-CeSeEMX3.js → TopNav-gW59zp1o.js} +16 -15
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BUz-KZJd.js → TreeList-DaoI7zaH.js} +124 -41
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-k3xhFxkr.js → Typeahead-D4JjvjK4.js} +125 -26
- package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BQlMrfqX.js} +141 -51
- package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
- package/dist/characterReferences-BJ-jLhsR.js +65 -0
- 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-Bc02zKAO.js} +167 -197
- package/dist/context-B6UElI5X.js +5 -0
- package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
- package/dist/{context-iABt_ueM.js → context-DWfi56sq.js} +451 -122
- 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-Cde5JvtX.d.ts → index-B-nESNam.d.ts} +8 -7
- package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
- package/dist/{index-Cn-sSds-.d.ts → index-B56j4eI2.d.ts} +24 -1
- package/dist/{index-BJMJ09K-.d.ts → index-BEZ4ezJk.d.ts} +1 -1
- package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
- package/dist/{index-CQCTKjIO.d.ts → index-BO9TY87G.d.ts} +5 -4
- package/dist/{index-BJSxFVXH.d.ts → index-BQEJj72c.d.ts} +21 -8
- package/dist/{index-BXk7Wng7.d.ts → index-BULhhnGf.d.ts} +1 -1
- package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
- package/dist/{index-BPYzIIYn.d.ts → index-BZKgbyN9.d.ts} +2 -2
- package/dist/index-BkUkm6Al.d.ts +11 -0
- package/dist/{index-ClNU2Th8.d.ts → index-Bn-v89Vt.d.ts} +10 -6
- package/dist/{index-Bu8NA2SD.d.ts → index-BnEhvmdR.d.ts} +16 -7
- package/dist/index-Bo-ofFyg.d.ts +166 -0
- package/dist/{index-i0tNFWfz.d.ts → index-BqhgeAT4.d.ts} +2 -0
- package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
- 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-csA1lH_0.d.ts → index-CJ6ajsUC.d.ts} +2 -2
- package/dist/{index-CY-KvZ9B.d.ts → index-CK-Dbh0f.d.ts} +1 -1
- package/dist/index-CKUfpmFL.d.ts +375 -0
- package/dist/{index-DXpSFlPG.d.ts → index-CKgBTAzC.d.ts} +4 -4
- package/dist/{index-EFqQF2Bx.d.ts → index-CPtDjmcX.d.ts} +4 -4
- package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
- package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
- package/dist/{index-BNy3SW4S.d.ts → index-CTjkJP4x.d.ts} +32 -3
- package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
- package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-BUEPz7BL.d.ts → index-CikMzeab.d.ts} +3 -3
- package/dist/{index-CdtZjkmG.d.ts → index-CpNlPLBF.d.ts} +183 -129
- package/dist/{index-N7OVZ38M.d.ts → index-Cs1xsHKi.d.ts} +28 -16
- package/dist/{index-Cyb9Du5Z.d.ts → index-CtTGt6Dv.d.ts} +1 -1
- package/dist/{index-HV6W3xCx.d.ts → index-D05JGsT3.d.ts} +5 -2
- package/dist/{index-CsTbMVDS.d.ts → index-D0_HsuC3.d.ts} +4 -4
- package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
- package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
- package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
- package/dist/{index-DamRHh1i.d.ts → index-DLAG3m9W.d.ts} +11 -1
- package/dist/{index-DUnDGFQE.d.ts → index-DNA2l1RN.d.ts} +1 -1
- package/dist/{index-WnUY4Kxu.d.ts → index-DRJZ-v1E.d.ts} +4 -4
- package/dist/{index-DYp2RWkM.d.ts → index-DY8Wph-A.d.ts} +3 -3
- package/dist/{index-B1WJxt-n.d.ts → index-DfC05uKG.d.ts} +17 -7
- package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
- package/dist/{index-jW-mP58D.d.ts → index-Dr4b_oji.d.ts} +22 -15
- package/dist/{index-uKnRGtzi.d.ts → index-Ds201-d2.d.ts} +18 -4
- package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
- package/dist/{index-DQmK3Lq_.d.ts → index-IfsSCj8J.d.ts} +19 -6
- package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
- package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
- package/dist/index-fAZaRruV.d.ts +125 -0
- package/dist/{index-D5N9ikrS.d.ts → index-hCpxKePE.d.ts} +1 -1
- package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
- package/dist/{index-DdGck82Y.d.ts → index-pNtfr-RW.d.ts} +2 -2
- package/dist/{index-BhpAUzUr.d.ts → index-unAZVFGz.d.ts} +2 -2
- package/dist/index.d.ts +84 -77
- package/dist/index.js +151 -134
- 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-BGHKG_9N.d.ts → loadCatalog-DlLFZreI.d.ts} +281 -7
- package/dist/loadCatalog-eopw74qb.js +424 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-CabGJlGp.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-RSeMzAN1.d.ts +238 -0
- package/dist/publicParser-B0MRoikr.d.ts +141 -0
- package/dist/publicParser-uHC_T0Fo.js +895 -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-mCpJBvra.js} +5 -14
- package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
- package/dist/slug-C65CUsf9.js +32 -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-H4Bbbxiw.d.ts → types-BnNTzEnd.d.ts} +1 -1
- package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
- package/dist/{types-BBWrcHMD.d.ts → types-Ckih2YJi.d.ts} +3 -2
- package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
- package/dist/upstreamMap-xr3gvREu.js +731 -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-MZmfBWid.js} +5 -23
- package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
- package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-DAE7PExr.js} +1 -1
- 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/useScrollbars-C2NJ6Qwq.js +43 -0
- package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
- package/dist/useTranslator-BmWt2BBt.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 +24 -3
- package/reset.css +364 -1
- package/styles/avatar-group.css +9 -1
- package/styles/badge.css +8 -5
- package/styles/banner.css +124 -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 +22 -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 +4 -0
- 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/scrollbars.css +28 -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 -10
- package/styles/text-area.css +1 -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-DPVaziH4.js +0 -141
- package/dist/ButtonGroup-ySQWanDP.js +0 -125
- package/dist/DateTimeInput-DHp683jZ.js +0 -268
- package/dist/MultiSelector-BeV98x7X.js +0 -988
- package/dist/NumberInput-AZ9x3oja.js +0 -473
- package/dist/Selector-DuVozKNq.js +0 -675
- 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/index-BH9PzQ1F.d.ts +0 -87
- package/dist/link-C4_WogdF.js +0 -18
- 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,8 @@
|
|
|
1
|
+
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
+
//#region src/InputGroup/context.ts
|
|
3
|
+
const INPUT_GROUP_KEY = defineLayerScopedKey("InputGroup", null);
|
|
4
|
+
function useInputGroupContext() {
|
|
5
|
+
return readLayerScoped(INPUT_GROUP_KEY);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { useInputGroupContext as n, INPUT_GROUP_KEY as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
+
import { computed, provide, toValue } from "vue";
|
|
3
|
+
//#region src/Icon/context.ts
|
|
4
|
+
/**
|
|
5
|
+
* The size an owning component supplies to the icons in its slots.
|
|
6
|
+
*
|
|
7
|
+
* The value is stored as given, so a caller can pass a ref or a computed and
|
|
8
|
+
* keep the default in step with its own props.
|
|
9
|
+
*/
|
|
10
|
+
const ICON_DEFAULT_SIZE_KEY = defineLayerScopedKey("astryx-icon-default-size", void 0);
|
|
11
|
+
/**
|
|
12
|
+
* Let the icons inside a component follow that component's own size.
|
|
13
|
+
*
|
|
14
|
+
* Call it in the component's setup with a ref or computed so the inherited size
|
|
15
|
+
* stays reactive.
|
|
16
|
+
*/
|
|
17
|
+
function provideIconSize(size) {
|
|
18
|
+
provide(ICON_DEFAULT_SIZE_KEY, size);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The size inherited from the nearest owner, or `undefined` when there is none.
|
|
22
|
+
*/
|
|
23
|
+
function useIconDefaultSize() {
|
|
24
|
+
const inherited = readLayerScoped(ICON_DEFAULT_SIZE_KEY);
|
|
25
|
+
return computed(() => inherited == null ? void 0 : toValue(inherited));
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { useIconDefaultSize as n, provideIconSize as t };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
|
|
2
|
+
import { a as useFormLayout } from "./context-Cfml4jaK.js";
|
|
3
|
+
import { n as useInputGroupContext } from "./context-IvbU9c3T.js";
|
|
4
|
+
import { computed } from "vue";
|
|
5
|
+
//#region src/Field/fieldParts.ts
|
|
6
|
+
const CONTAINER_WITHOUT_FIELD_MESSAGE = "`containerClass`/`containerStyle` have no effect here because no Field box renders (inside InputGroup or a `horizontal-labels` FormLayout). Inside InputGroup, style the InputGroup.";
|
|
7
|
+
/** Vue 会把带 boolean 的联合类型属性的缺省值转成 `false`,所以 `false` 也算没传。 */
|
|
8
|
+
function isSet(value) {
|
|
9
|
+
return value != null && value !== false && value !== "";
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 把带 Field 的输入组件收到的样式和透传属性分到各自的部件上:
|
|
13
|
+
* 外壳、本体、主语义控件。各组件不用再各写一遍拆分逻辑。
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const parts = useFieldPartStyling({ component: 'TextInput', props, attrs: useAttrs(), reservedAttrs: ['id', 'value'] })
|
|
18
|
+
* // <Field :class="parts.containerClass.value" :style="parts.containerStyle.value">
|
|
19
|
+
* // <div class="box" :class="parts.controlClass()" :style="parts.controlStyle()">
|
|
20
|
+
* // <input v-bind="parts.forwardedAttrs()">
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function useFieldPartStyling(options) {
|
|
24
|
+
const { component, props, attrs } = options;
|
|
25
|
+
const reserved = /* @__PURE__ */ new Set([
|
|
26
|
+
"class",
|
|
27
|
+
"style",
|
|
28
|
+
...options.reservedAttrs ?? []
|
|
29
|
+
]);
|
|
30
|
+
const inputGroup = useInputGroupContext();
|
|
31
|
+
const formLayout = useFormLayout();
|
|
32
|
+
const hasFieldBox = computed(() => inputGroup == null && formLayout.value?.direction !== "horizontal-labels");
|
|
33
|
+
useDevWarning(component, CONTAINER_WITHOUT_FIELD_MESSAGE, () => !hasFieldBox.value && (isSet(props.containerClass) || isSet(props.containerStyle)));
|
|
34
|
+
return {
|
|
35
|
+
hasFieldBox,
|
|
36
|
+
containerClass: computed(() => hasFieldBox.value ? props.containerClass : void 0),
|
|
37
|
+
containerStyle: computed(() => hasFieldBox.value ? props.containerStyle : void 0),
|
|
38
|
+
controlClass: () => [attrs.class, props.controlClass],
|
|
39
|
+
controlStyle: () => [attrs.style, props.controlStyle],
|
|
40
|
+
forwardedAttrs: () => Object.fromEntries(Object.entries(attrs).filter(([key]) => !reserved.has(key)))
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { useFieldPartStyling as t };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComputedRef, HTMLAttributes, StyleValue } from "vue";
|
|
2
|
+
//#region src/Field/fieldParts.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* 带 Field 的输入组件共用的样式分层属性。
|
|
5
|
+
*
|
|
6
|
+
* 一个输入组件有两个可以加样式的部件:
|
|
7
|
+
* - 外壳(Field 那一层):包着标签、控件和状态消息。用 `containerClass` / `containerStyle`。
|
|
8
|
+
* - 本体(control box):画边框和背景、里面装着图标和清除按钮的那个盒子。用 `controlClass` / `controlStyle`。
|
|
9
|
+
*
|
|
10
|
+
* 两组属性各管各的,不会改道:`container*` 永远落在外壳,`control*` 永远落在本体,
|
|
11
|
+
* 都不会落到原生 input 上。组件根上直接写的 `class` / `style` 保持各组件今天的落点。
|
|
12
|
+
*/
|
|
13
|
+
interface FieldPartStylingProps {
|
|
14
|
+
/**
|
|
15
|
+
* 加到字段外壳(Field 那一层)的 class。
|
|
16
|
+
* 在 InputGroup 里、以及横向标签的 FormLayout 里没有外壳,这时它不生效,开发环境会警告。
|
|
17
|
+
*/
|
|
18
|
+
containerClass?: HTMLAttributes['class'];
|
|
19
|
+
/** 加到字段外壳的行内样式。落点规则同 `containerClass`。 */
|
|
20
|
+
containerStyle?: StyleValue;
|
|
21
|
+
/** 加到本体(画边框和背景的那个盒子)的 class。不会落到原生 input 上。 */
|
|
22
|
+
controlClass?: HTMLAttributes['class'];
|
|
23
|
+
/** 加到本体的行内样式。 */
|
|
24
|
+
controlStyle?: StyleValue;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { FieldPartStylingProps as t };
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
function sign(p1, p2, p3) {
|
|
2
|
+
return (p1.x - p3.x) * (p2.y - p3.y) - (p2.x - p3.x) * (p1.y - p3.y);
|
|
3
|
+
}
|
|
4
|
+
function isPointInTriangle(p, a, b, c) {
|
|
5
|
+
const d1 = sign(p, a, b);
|
|
6
|
+
const d2 = sign(p, b, c);
|
|
7
|
+
const d3 = sign(p, c, a);
|
|
8
|
+
return !((d1 < 0 || d2 < 0 || d3 < 0) && (d1 > 0 || d2 > 0 || d3 > 0));
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Whether `point` lies inside the triangle from `origin` (where the pointer
|
|
12
|
+
* left the row) to the flyout's near edge — the edge facing the origin.
|
|
13
|
+
*/
|
|
14
|
+
function isPointInSafeTriangle(point, origin, flyout) {
|
|
15
|
+
const pad = 8;
|
|
16
|
+
let edgeStart;
|
|
17
|
+
let edgeEnd;
|
|
18
|
+
if (origin.x <= flyout.left) {
|
|
19
|
+
edgeStart = {
|
|
20
|
+
x: flyout.left,
|
|
21
|
+
y: flyout.top - pad
|
|
22
|
+
};
|
|
23
|
+
edgeEnd = {
|
|
24
|
+
x: flyout.left,
|
|
25
|
+
y: flyout.bottom + pad
|
|
26
|
+
};
|
|
27
|
+
} else if (origin.x >= flyout.right) {
|
|
28
|
+
edgeStart = {
|
|
29
|
+
x: flyout.right,
|
|
30
|
+
y: flyout.top - pad
|
|
31
|
+
};
|
|
32
|
+
edgeEnd = {
|
|
33
|
+
x: flyout.right,
|
|
34
|
+
y: flyout.bottom + pad
|
|
35
|
+
};
|
|
36
|
+
} else if (origin.y <= flyout.top) {
|
|
37
|
+
edgeStart = {
|
|
38
|
+
x: flyout.left - pad,
|
|
39
|
+
y: flyout.top
|
|
40
|
+
};
|
|
41
|
+
edgeEnd = {
|
|
42
|
+
x: flyout.right + pad,
|
|
43
|
+
y: flyout.top
|
|
44
|
+
};
|
|
45
|
+
} else if (origin.y >= flyout.bottom) {
|
|
46
|
+
edgeStart = {
|
|
47
|
+
x: flyout.left - pad,
|
|
48
|
+
y: flyout.bottom
|
|
49
|
+
};
|
|
50
|
+
edgeEnd = {
|
|
51
|
+
x: flyout.right + pad,
|
|
52
|
+
y: flyout.bottom
|
|
53
|
+
};
|
|
54
|
+
} else return false;
|
|
55
|
+
return isPointInTriangle(point, origin, edgeStart, edgeEnd);
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/composables/internal/hoverIntent.ts
|
|
59
|
+
function createHideTimer(delay, onHide) {
|
|
60
|
+
let timer = null;
|
|
61
|
+
let stopTriangle = null;
|
|
62
|
+
function clearTriangle() {
|
|
63
|
+
stopTriangle?.();
|
|
64
|
+
stopTriangle = null;
|
|
65
|
+
}
|
|
66
|
+
function clear() {
|
|
67
|
+
if (timer != null) {
|
|
68
|
+
clearTimeout(timer);
|
|
69
|
+
timer = null;
|
|
70
|
+
}
|
|
71
|
+
clearTriangle();
|
|
72
|
+
}
|
|
73
|
+
function schedule(apex, flyout, isOpen) {
|
|
74
|
+
clear();
|
|
75
|
+
let lastPoint = apex;
|
|
76
|
+
let isInside = () => false;
|
|
77
|
+
const arm = () => {
|
|
78
|
+
if (timer != null) clearTimeout(timer);
|
|
79
|
+
timer = setTimeout(() => {
|
|
80
|
+
timer = null;
|
|
81
|
+
if (stopTriangle != null && lastPoint != null && isInside(lastPoint)) {
|
|
82
|
+
arm();
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
clearTriangle();
|
|
86
|
+
onHide();
|
|
87
|
+
}, delay());
|
|
88
|
+
};
|
|
89
|
+
arm();
|
|
90
|
+
if (flyout == null || apex == null || !isOpen) return;
|
|
91
|
+
const rect = flyout.getBoundingClientRect();
|
|
92
|
+
if (rect.width <= 0 || rect.height <= 0) return;
|
|
93
|
+
isInside = (point) => isPointInSafeTriangle(point, apex, rect);
|
|
94
|
+
const doc = flyout.ownerDocument;
|
|
95
|
+
const onPointerMove = (move) => {
|
|
96
|
+
lastPoint = {
|
|
97
|
+
x: move.clientX,
|
|
98
|
+
y: move.clientY
|
|
99
|
+
};
|
|
100
|
+
if (isInside(lastPoint)) {
|
|
101
|
+
arm();
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
clearTriangle();
|
|
105
|
+
};
|
|
106
|
+
doc.addEventListener("pointermove", onPointerMove, true);
|
|
107
|
+
stopTriangle = () => doc.removeEventListener("pointermove", onPointerMove, true);
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
clear,
|
|
111
|
+
schedule
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
//#endregion
|
|
115
|
+
export { createHideTimer as t };
|
|
@@ -1,6 +1,7 @@
|
|
|
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
6
|
import { Component, Ref, VNode } from "vue";
|
|
6
7
|
//#region src/ComplexSelector/types.d.ts
|
|
@@ -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`. */
|
|
@@ -86,7 +87,7 @@ interface ComplexSelectorProps<Value = unknown> {
|
|
|
86
87
|
*/
|
|
87
88
|
startIcon?: ExtendedIconName | Component;
|
|
88
89
|
/**
|
|
89
|
-
* `input` is the bordered field. `ghost` matches a toolbar button.
|
|
90
|
+
* `input` is the bordered field. `secondary` matches a secondary button. `ghost` matches a toolbar button.
|
|
90
91
|
* @default 'input'
|
|
91
92
|
*/
|
|
92
93
|
variant?: ComplexSelectorVariant;
|
|
@@ -132,8 +133,8 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
132
133
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
|
|
133
134
|
modelValue: Value;
|
|
134
135
|
}) & {
|
|
135
|
-
onChange?: ((value: Value) => any) | undefined;
|
|
136
136
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
137
|
+
onChange?: ((value: Value) => any) | undefined;
|
|
137
138
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
138
139
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
139
140
|
"onUpdate:modelValue"?: ((value: Value) => any) | undefined;
|
|
@@ -143,7 +144,7 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
143
144
|
expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
|
|
144
145
|
attrs: any;
|
|
145
146
|
slots: ComplexSelectorSlots<Value>;
|
|
146
|
-
emit: (((evt: "
|
|
147
|
+
emit: (((evt: "click", event: MouseEvent) => void) & ((evt: "change", value: Value) => void) & ((evt: "keydown", event: KeyboardEvent) => void) & ((evt: "openChange", isOpen: boolean) => void)) & ((event: "update:modelValue", value: Value) => void);
|
|
147
148
|
}>) => import("vue").VNode & {
|
|
148
149
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
149
150
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as DropdownMenuSize, u as DropdownMenuOption } from "./DropdownMenuRadioItem.vue-Qd-8Rg4Q.js";
|
|
2
2
|
import { s as NavLinkComponent } from "./types-BG23kC3S.js";
|
|
3
3
|
import { ComputedRef } from "vue";
|
|
4
4
|
//#region src/Breadcrumbs/types.d.ts
|
|
@@ -59,7 +59,9 @@ declare const __VLS_base$1: import("vue").DefineComponent<BreadcrumbItemProps, {
|
|
|
59
59
|
click: (event: MouseEvent) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<BreadcrumbItemProps> & Readonly<{
|
|
61
61
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
62
|
-
}>, {
|
|
62
|
+
}>, {
|
|
63
|
+
isCurrent: boolean;
|
|
64
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
65
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
64
66
|
declare const _default$1: typeof __VLS_export$1;
|
|
65
67
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { a as ParseOptions } from "./publicParser-B0MRoikr.js";
|
|
2
|
+
import { ComputedRef, MaybeRefOrGetter, Ref } from "vue";
|
|
1
3
|
//#region src/Outline/types.d.ts
|
|
2
4
|
interface OutlineItem {
|
|
3
5
|
/** Matches the target heading element's id. */
|
|
@@ -65,4 +67,25 @@ declare const __VLS_export: import("vue").DefineComponent<OutlineProps, {}, {},
|
|
|
65
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
68
|
declare const _default: typeof __VLS_export;
|
|
67
69
|
//#endregion
|
|
68
|
-
|
|
70
|
+
//#region src/Outline/parseOutlineFromMarkdown.d.ts
|
|
71
|
+
interface ParseOutlineFromMarkdownOptions {
|
|
72
|
+
readonly plugins?: ParseOptions['plugins'];
|
|
73
|
+
/** 流还没写完时传 false,和 Markdown 解析的收尾规则一致。 */
|
|
74
|
+
readonly isFinal?: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* 从 Markdown 抽出目录。
|
|
78
|
+
* id 和 Markdown 渲染到标题上的 id 用同一套 slug:全文里的标题都占号,
|
|
79
|
+
* 只有写在根上的标题进目录。围栏代码里的井号不是标题。
|
|
80
|
+
*/
|
|
81
|
+
declare function parseOutlineFromMarkdown(markdown: string, options?: ParseOutlineFromMarkdownOptions): OutlineItem[];
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/Outline/useOutlineFromDOM.d.ts
|
|
84
|
+
/** 盯着容器里的 h1–h6。增删、改字、改 id 都会重算。 */
|
|
85
|
+
declare function useOutlineFromDOM(container: Ref<HTMLElement | null | undefined>): Ref<OutlineItem[]>;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/Outline/useOutlineFromMarkdown.d.ts
|
|
88
|
+
/** 正文或插件一变,目录跟着变。 */
|
|
89
|
+
declare function useOutlineFromMarkdown(markdown: MaybeRefOrGetter<string>, options?: MaybeRefOrGetter<ParseOutlineFromMarkdownOptions | undefined>): ComputedRef<OutlineItem[]>;
|
|
90
|
+
//#endregion
|
|
91
|
+
export { _default as a, OutlineItem as c, parseOutlineFromMarkdown as i, OutlineProps as l, useOutlineFromDOM as n, OutlineDensity as o, ParseOutlineFromMarkdownOptions as r, OutlineEmits as s, useOutlineFromMarkdown as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref, VNode } from "vue";
|
|
1
|
+
import { CSSProperties, Ref, VNode } from "vue";
|
|
2
2
|
//#region src/TreeList/types.d.ts
|
|
3
3
|
type TreeListDensity = 'compact' | 'balanced' | 'spacious';
|
|
4
4
|
type TreeListVariant = 'lineGuides' | 'noGuides';
|
|
@@ -19,6 +19,10 @@ interface TreeListItemData {
|
|
|
19
19
|
isSelected?: boolean;
|
|
20
20
|
isExpanded?: boolean;
|
|
21
21
|
onClick?: (event: MouseEvent) => void;
|
|
22
|
+
/** 额外类名,落在 `role="treeitem"` 的那一行上。 */
|
|
23
|
+
className?: string;
|
|
24
|
+
/** 行内样式,落在同一行上。 */
|
|
25
|
+
style?: CSSProperties;
|
|
22
26
|
}
|
|
23
27
|
interface TreeListProps {
|
|
24
28
|
items: TreeListItemData[];
|
|
@@ -87,6 +91,11 @@ interface UseTreeFocusOptions {
|
|
|
87
91
|
* @default true
|
|
88
92
|
*/
|
|
89
93
|
typeahead?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* 敲字符时只拿 `aria-labelledby` 指到的文本,不拿整行的说明和按钮名。
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
matchLabelledBy?: boolean;
|
|
90
99
|
}
|
|
91
100
|
/**
|
|
92
101
|
* 树形控件的方向键焦点:上下 Home End 在可见节点间线性走(跳过停用项),
|
|
@@ -71,8 +71,9 @@ interface BottomSheetProps {
|
|
|
71
71
|
/**
|
|
72
72
|
* Inner padding of the content box using the spacing scale. When omitted, the
|
|
73
73
|
* theme decides, falling back to the `--spacing-4` step (16px) on every
|
|
74
|
-
* logical edge. Pass `0` for a flush content box. The content box
|
|
75
|
-
*
|
|
74
|
+
* logical edge. Pass `0` for a flush content box. The content box publishes
|
|
75
|
+
* that inset: a lone `Section` escapes it, and bleed children such as
|
|
76
|
+
* `Table` and `Divider` line up with it.
|
|
76
77
|
* @default undefined
|
|
77
78
|
*/
|
|
78
79
|
padding?: BottomSheetPadding;
|
|
@@ -174,11 +175,11 @@ type __VLS_Slots = {} & {
|
|
|
174
175
|
default?: (props: typeof __VLS_1) => any;
|
|
175
176
|
};
|
|
176
177
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
|
-
cancel: (event: Event) => any;
|
|
178
178
|
"update:activeSheet": (value: string | null) => any;
|
|
179
|
+
cancel: (event: Event) => any;
|
|
179
180
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
180
|
-
onCancel?: ((event: Event) => any) | undefined;
|
|
181
181
|
"onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
|
|
182
|
+
onCancel?: ((event: Event) => any) | undefined;
|
|
182
183
|
}>, {
|
|
183
184
|
hasScrim: boolean;
|
|
184
185
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -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. */
|
|
@@ -522,13 +535,13 @@ type __VLS_Slots$11 = ChatComposerSlots;
|
|
|
522
535
|
declare const __VLS_base$11: import("vue").DefineComponent<ChatComposerProps, {
|
|
523
536
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
524
537
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
525
|
-
change: (value: string) => any;
|
|
526
538
|
submit: (value: string) => any;
|
|
539
|
+
change: (value: string) => any;
|
|
527
540
|
"update:modelValue": (value: string) => any;
|
|
528
541
|
stop: () => any;
|
|
529
542
|
}, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
|
|
530
|
-
onChange?: ((value: string) => any) | undefined;
|
|
531
543
|
onSubmit?: ((value: string) => any) | undefined;
|
|
544
|
+
onChange?: ((value: string) => any) | undefined;
|
|
532
545
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
533
546
|
onStop?: (() => any) | undefined;
|
|
534
547
|
}>, {
|
|
@@ -570,14 +583,14 @@ type __VLS_WithSlots$10<T, S> = T & {
|
|
|
570
583
|
//#endregion
|
|
571
584
|
//#region src/Chat/ChatComposerInput.vue.d.ts
|
|
572
585
|
declare const __VLS_export$15: import("vue").DefineComponent<ChatComposerInputProps, ChatComposerInputHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
573
|
-
change: (value: string) => any;
|
|
574
586
|
submit: (value: string) => any;
|
|
587
|
+
change: (value: string) => any;
|
|
575
588
|
keydown: (event: KeyboardEvent) => any;
|
|
576
589
|
"update:modelValue": (value: string) => any;
|
|
577
590
|
files: (files: File[]) => any;
|
|
578
591
|
}, string, import("vue").PublicProps, Readonly<ChatComposerInputProps> & Readonly<{
|
|
579
|
-
onChange?: ((value: string) => any) | undefined;
|
|
580
592
|
onSubmit?: ((value: string) => any) | undefined;
|
|
593
|
+
onChange?: ((value: string) => any) | undefined;
|
|
581
594
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
582
595
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
583
596
|
onFiles?: ((files: File[]) => any) | undefined;
|
|
@@ -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 };
|
|
@@ -82,9 +82,9 @@ type __VLS_Slots = {} & {
|
|
|
82
82
|
};
|
|
83
83
|
declare const __VLS_base: import("vue").DefineComponent<HeadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
|
|
84
84
|
color: HeadingColor;
|
|
85
|
-
hasCapsize: boolean;
|
|
86
85
|
display: HeadingDisplay;
|
|
87
86
|
justify: HeadingJustify;
|
|
87
|
+
hasCapsize: boolean;
|
|
88
88
|
maxLines: number;
|
|
89
89
|
hasTruncateTooltip: HeadingTruncateTooltip;
|
|
90
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ResizableProps } from "./useResizable-
|
|
1
|
+
import { r as ResizableProps } from "./useResizable-1MHPNaRD.js";
|
|
2
2
|
import { VNodeChild } from "vue";
|
|
3
3
|
//#region src/Resizable/types.d.ts
|
|
4
4
|
type ResizeDirection = 'horizontal' | 'vertical';
|
|
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<ResizeHandleProps, {
|
|
|
36
36
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResizeHandleProps> & Readonly<{}>, {
|
|
38
38
|
isDisabled: boolean;
|
|
39
|
-
direction: ResizeDirection;
|
|
40
39
|
position: ResizePosition;
|
|
40
|
+
direction: ResizeDirection;
|
|
41
41
|
isReversed: boolean;
|
|
42
42
|
hasDivider: boolean;
|
|
43
43
|
isAlwaysVisible: boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/Markdown/characterReferences.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Replace every valid character reference in plain text.
|
|
4
|
+
* `©`, `©`, and `©` all become `©`.
|
|
5
|
+
* An unknown name, or a reference without `;`, stays as written.
|
|
6
|
+
* This function does not know about Markdown, so leave code and
|
|
7
|
+
* backslash-escaped references out of `text`.
|
|
8
|
+
*/
|
|
9
|
+
declare function decodeMarkdownCharacterReferences(text: string): string;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { decodeMarkdownCharacterReferences as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-
|
|
1
|
+
import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-aGzrvRkI.js";
|
|
2
|
+
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
2
3
|
//#region src/Tokenizer/types.d.ts
|
|
3
4
|
type TokenizerSize = 'sm' | 'md' | 'lg';
|
|
4
5
|
type TokenizerStatus = 'default' | 'success' | 'warning' | 'error';
|
|
@@ -20,10 +21,13 @@ type TokenizerChange<T extends SearchableItem = SearchableItem> = {
|
|
|
20
21
|
} | {
|
|
21
22
|
type: 'clear';
|
|
22
23
|
};
|
|
23
|
-
interface TokenizerProps<T extends SearchableItem = SearchableItem> {
|
|
24
|
+
interface TokenizerProps<T extends SearchableItem = SearchableItem> extends FieldPartStylingProps {
|
|
24
25
|
modelValue?: readonly T[];
|
|
25
26
|
searchSource: SearchSource<T>;
|
|
26
27
|
label: string;
|
|
28
|
+
/** 视觉上隐藏标签。读屏仍然读得到。 */
|
|
29
|
+
isLabelHidden?: boolean;
|
|
30
|
+
/** `isLabelHidden` 的旧名。两者任一为真就隐藏。 */
|
|
27
31
|
labelHidden?: boolean;
|
|
28
32
|
description?: string;
|
|
29
33
|
/** 标签旁边信息图标里的提示文字。 */
|
|
@@ -96,12 +100,12 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
96
100
|
//#region src/Tokenizer/Tokenizer.vue.d.ts
|
|
97
101
|
declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
98
102
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
99
|
-
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
100
103
|
onSearch?: ((query: string) => any) | undefined;
|
|
101
|
-
|
|
102
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
104
|
+
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
103
105
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
104
106
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
107
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
108
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
105
109
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
106
110
|
}> & (typeof globalThis extends {
|
|
107
111
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -112,7 +116,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
112
116
|
}>) => void;
|
|
113
117
|
attrs: any;
|
|
114
118
|
slots: TokenizerSlots<T>;
|
|
115
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "changeQuery", query: string) => void);
|
|
116
120
|
}>) => import("vue").VNode & {
|
|
117
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
118
122
|
};
|