@astryx-vue/core 0.2.2 → 0.2.4
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 +4 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-ovx4cBjM.js → AlertDialog-B6UeBCE7.js} +2 -2
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cb41gIAj.js → AppShell-CeBmB0Q9.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-jmHInHwj.js → Avatar-BB4Z4LF1.js} +10 -4
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +2 -2
- package/dist/BottomSheet/index.js +3 -2
- package/dist/{BottomSheet-Dg95HB1s.js → BottomSheet-BV6vfgGu.js} +82 -22
- package/dist/BottomSheet-o7xw-TOi.js +153 -0
- package/dist/Breadcrumbs/index.d.ts +3 -2
- package/dist/Breadcrumbs/index.js +3 -2
- package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-D6G7f5WL.js} +13 -8
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-DmTeM7PO.js +656 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-X0cuQkvg.js → Carousel-CIKrcA2r.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-M0tiGrNT.js → Chat-BFox3u9D.js} +3 -3
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BbCPiend.js → CheckboxList-BlPf7vPe.js} +78 -25
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C1veUk5p.js → Citation-BG-vg9ia.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +3 -3
- package/dist/Code/index.js +4 -4
- package/dist/{Code-yb_KOFtJ.js → Code-XnPuGxey.js} +3 -2
- package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-B2pnEOJY.js} +146 -16
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BArt97V8.js → CommandPalette-DKgHzmJk.js} +10 -10
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-Dv44FFhN.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-BeJO5HYx.js} +206 -423
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-D4XFAEMp.js +743 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-Cp6AZfew.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-B6MPPp76.js} +54 -15
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu--lnUeJEG.js} +309 -64
- package/dist/DropdownMenu-6E9jFdFe.js +325 -0
- package/dist/DropdownMenuRadioItem.vue-CXEURBcq.d.ts +564 -0
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CUJdTYKV.js → EmptyState-0RWymQUS.js} +2 -2
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DLO6V12n.js → FileInput-DuNwdbAo.js} +2 -2
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/Heading-B9C3LZlS.js +94 -0
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
- package/dist/Indicator/index.d.ts +3 -0
- package/dist/Indicator/index.js +2 -0
- package/dist/InputGroup/index.d.ts +2 -2
- package/dist/InputGroup/index.js +3 -2
- package/dist/InputGroup-BzR6JRZb.js +129 -0
- package/dist/Item-DrYJL1TG.js +590 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CdFCS_EA.js → Lightbox-Br3o0SyQ.js} +2 -2
- package/dist/Link/index.d.ts +3 -2
- package/dist/Link/index.js +1 -1
- package/dist/Link-DCZ6922-.js +196 -0
- package/dist/List/index.d.ts +3 -3
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-pGxvn6QJ.js → ListItem-CcRHWuEm.js} +8 -2
- package/dist/Markdown/index.d.ts +2 -2
- package/dist/Markdown/index.js +2 -2
- package/dist/{Markdown-BqKloI3w.js → Markdown-Bz0R3kNj.js} +280 -33
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CvZkmisf.js → MetadataList-CFaocx6j.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-Dh3uLivq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B95nRSe8.js} +3 -3
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-DuF5TECE.js} +304 -122
- package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-C6sPZ89n.js} +5 -2
- package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
- package/dist/NavMenu/index.d.ts +2 -2
- package/dist/NavMenu/index.js +4 -3
- package/dist/NavMenu-ClIgMaxE.js +176 -0
- package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-E7S8gBh-.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DjetVB8O.js → NumberInput-B4IL3s_8.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bz9c-u5y.js → Outline-DBUuchi9.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-aDd_oem0.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cb66HMEf.js → Pagination-CNe9F6Fl.js} +181 -45
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-C6U8Sq1Y.js} +16 -16
- package/dist/ProgressBar/index.d.ts +2 -2
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DO9Chic6.js → ProgressBar-DF6WZNCI.js} +45 -6
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-D-TBCg0Y.js → ResizeHandle-DYy0e3v9.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-5N-hq2nF.js +618 -0
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DonEfiAx.js → SideNav-CT9lfspi.js} +226 -230
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-D2ZIcUNx.js → Stepper-BqhVCgC-.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CrP2Uffq.js → Table-CsdH8fCB.js} +7 -7
- package/dist/Text/index.d.ts +3 -3
- package/dist/Text/index.js +1 -1
- package/dist/Text-DIzZw6FA.js +86 -0
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +3 -2
- package/dist/Theme/index.js +2 -2
- package/dist/Theme-CtaUWo4g.js +1246 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-BnQwX1cQ.js} +3 -3
- package/dist/{TimeField-DpHFrNv0.js → TimeField-Biiuv0hB.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJLV0_4z.js → TimeInput-C9gptCOK.js} +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-B7GV6hqd.js → Timer-kxzQx3tp.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-GKNjjt5g.js → Timestamp-D7bd_nF3.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Chu_eCVs.js → Token-D2GsI_Ei.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-rwzamZg4.js} +4 -4
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-mp0NMh_Y.js → Tooltip-C2fh9anJ.js} +23 -8
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CEyWddtA.js → TopNav-arWFLTBM.js} +113 -43
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-COS8US8e.js → TreeList-C9xvMpJZ.js} +2 -2
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +3 -2
- package/dist/Typeahead-_V11btpv.js +499 -0
- package/dist/{TypeaheadMenu-CGvo0Tud.js → TypeaheadMenu-BEObzonz.js} +46 -10
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +12 -7
- package/dist/composables-CWw6t-RJ.js +520 -0
- package/dist/{context-CiKncNSH.js → context-CPh7kE-a.js} +140 -18
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/context-D5-MwxnN.js +4 -0
- package/dist/{index-CJlBAXwj.d.ts → index-12QYAbiz.d.ts} +41 -4
- package/dist/{index-Cs5pcwY3.d.ts → index-6yB8BtEu.d.ts} +3 -3
- package/dist/{index-C7mxUcDR.d.ts → index-B4OOtNP8.d.ts} +2 -2
- package/dist/index-BBtJt5_A.d.ts +26 -0
- package/dist/{index-CRizexSC.d.ts → index-BH9PzQ1F.d.ts} +13 -73
- package/dist/index-BPwD6aBv.d.ts +83 -0
- package/dist/{index-DOUEn7V0.d.ts → index-BcZI402h.d.ts} +64 -5
- package/dist/{index-C8wDPDcP.d.ts → index-Bi49IrAJ.d.ts} +50 -8
- package/dist/{index-DimuSES0.d.ts → index-BlOIC_AM.d.ts} +3 -1
- package/dist/{index-C5p2NeCr.d.ts → index-Blm197N_.d.ts} +11 -2
- package/dist/{index-Bu3oXIIS.d.ts → index-BmmdzwT9.d.ts} +6 -0
- package/dist/{index-kVhSuA9t.d.ts → index-BxhJqiZ7.d.ts} +6 -6
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-qiZtHnGK.d.ts → index-C3GaPqvJ.d.ts} +123 -8
- package/dist/{index-D4I_obqR.d.ts → index-CFIXnk5D.d.ts} +1 -1
- package/dist/{index-cGagYM1g.d.ts → index-CI9kyg74.d.ts} +11 -1
- package/dist/{index-D-ZuubCK.d.ts → index-CUCcYKxl.d.ts} +1 -1
- package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-DGXviOlp.d.ts → index-D-ezcKaY.d.ts} +30 -4
- package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
- package/dist/index-DxR1FChm.d.ts +158 -0
- package/dist/{index-DNRBbwp_.d.ts → index-EtZgovdH.d.ts} +842 -107
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/index-XuAAcYiP.d.ts +77 -0
- package/dist/{index-D0TlUOtG.d.ts → index-YmSe1ujk.d.ts} +76 -3
- package/dist/{index-BMrggCw-.d.ts → index-bvr3WHvs.d.ts} +1 -1
- package/dist/{index-CDDMDHJM.d.ts → index-c67ca7eJ.d.ts} +1 -1
- package/dist/{index-c_TaW8mM.d.ts → index-cL3q7O4R.d.ts} +31 -2
- package/dist/{index-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
- package/dist/{index-DsyKhauk.d.ts → index-hCpxKePE.d.ts} +48 -2
- package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
- package/dist/{index-B1TG2GPS.d.ts → index-vizlhXVs.d.ts} +246 -45
- package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
- package/dist/index.d.ts +82 -80
- package/dist/index.js +127 -116
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/locale-sLw5Caia.js +917 -0
- package/dist/searchResultMessage-CCnq-_ce.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
- package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
- package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
- package/dist/{types-Bt-lSgYX.d.ts → types-D9nP_X-c.d.ts} +14 -1
- package/dist/{types-CAZY4Xua.d.ts → types-DGYHIu4I.d.ts} +30 -1
- package/dist/types-D_J66aPN.d.ts +85 -0
- package/dist/types-gKsEkk2g.d.ts +320 -0
- package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
- package/dist/useDatePresentation-C07PnOCw.js +21 -0
- package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
- package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
- package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
- package/dist/useFieldControlState-voICDrys.js +18 -0
- package/dist/useHandleRef-6cdKugm8.js +17 -0
- package/dist/useIndicator-i1NORM7W.js +147 -0
- package/dist/useMenuDrillIn-BgjJcY3K.js +520 -0
- package/dist/useMenuPress-DUmEy4TB.js +425 -0
- package/dist/useMonthGrid-fGHSSrFc.js +43 -0
- package/dist/usePendingChange-ib-h8FZK.js +25 -0
- package/dist/{composables-CVfjp9h4.js → useResizable-B3ahKLoZ.js} +74 -152
- package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
- package/dist/useTruncation-B5qXQzAP.js +53 -0
- package/locales/SOURCE.json +37 -0
- package/locales/af-ZA.json +1482 -0
- package/locales/ar-SA.json +1482 -0
- package/locales/ca-ES.json +1482 -0
- package/locales/cs-CZ.json +1482 -0
- package/locales/da-DK.json +1482 -0
- package/locales/de-DE.json +1482 -0
- package/locales/el-GR.json +1482 -0
- package/locales/en.json +1646 -0
- package/locales/es-ES.json +1482 -0
- package/locales/fi-FI.json +1482 -0
- package/locales/fr-FR.json +1482 -0
- package/locales/he-IL.json +1482 -0
- package/locales/hu-HU.json +1482 -0
- package/locales/it-IT.json +1482 -0
- package/locales/ja-JP.json +1482 -0
- package/locales/ko-KR.json +1482 -0
- package/locales/nl-NL.json +1482 -0
- package/locales/no-NO.json +1482 -0
- package/locales/pl-PL.json +1482 -0
- package/locales/pt-BR.json +1482 -0
- package/locales/pt-PT.json +1482 -0
- package/locales/ro-RO.json +1482 -0
- package/locales/ru-RU.json +1482 -0
- package/locales/sr-SP.json +1482 -0
- package/locales/sv-SE.json +1482 -0
- package/locales/tr-TR.json +1482 -0
- package/locales/uk-UA.json +1482 -0
- package/locales/vi-VN.json +1482 -0
- package/locales/zh-CN.json +1482 -0
- package/locales/zh-TW.json +1482 -0
- package/package.json +7 -1
- package/styles/bottom-sheet.css +27 -0
- package/styles/calendar.css +38 -3
- package/styles/check-indicator.css +17 -0
- package/styles/checkbox-indicator.css +29 -10
- package/styles/checkbox-input.css +0 -11
- package/styles/code.css +62 -0
- package/styles/container-reveal.css +104 -0
- package/styles/date-input.css +48 -0
- package/styles/dropdown-menu.css +163 -0
- package/styles/field.css +48 -0
- package/styles/heading.css +47 -0
- package/styles/icon.css +51 -3
- package/styles/input-group.css +32 -3
- package/styles/keyboard-hint.css +28 -0
- package/styles/link.css +34 -0
- package/styles/list.css +88 -1
- package/styles/markdown.css +12 -0
- package/styles/multi-selector.css +26 -0
- package/styles/pagination.css +30 -0
- package/styles/progress-bar.css +49 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles/side-nav.css +36 -1
- package/styles/text.css +18 -0
- package/styles/top-nav.css +145 -6
- package/styles/typeahead.css +24 -0
- package/styles.css +4 -0
- package/dist/Calendar-BFaI5AMv.js +0 -352
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-BLocxqC3.js +0 -376
- package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
- package/dist/Heading-Dugosn6j.js +0 -43
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Item-C1z6gXn8.js +0 -289
- package/dist/Link-DqdQZ37C.js +0 -141
- package/dist/Selector-DE2IEFML.js +0 -468
- package/dist/Text-BHVghsWo.js +0 -53
- package/dist/Theme-BuUiiJNr.js +0 -429
- package/dist/Typeahead-P7cCqtaQ.js +0 -375
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-DN7MXPHM.d.ts +0 -398
- package/dist/index-Dg3ZmwEg.d.ts +0 -75
- package/dist/index-IbUN4M8V.d.ts +0 -40
- package/dist/index-jdjcb3Js.d.ts +0 -80
- package/dist/locale-Cpk_nrLA.js +0 -18
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
- package/dist/types-DDAAT1Xd.d.ts +0 -285
- package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
- package/dist/useHotkeys-dABSK1o9.js +0 -80
- package/dist/useLongPress-Cyxwa73s.js +0 -60
- package/dist/{index-BUXNRekN.d.ts → index-IdK2g5B4.d.ts} +2 -2
|
@@ -1,15 +1,31 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./Heading-B9C3LZlS.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./Blockquote-DFqBv_oJ.js";
|
|
5
|
-
import { t as _sfc_main$4 } from "./CheckboxIndicator-
|
|
6
|
-
import {
|
|
7
|
-
import { t as _sfc_main$
|
|
5
|
+
import { t as _sfc_main$4 } from "./CheckboxIndicator-D37cm2Rh.js";
|
|
6
|
+
import { t as useIndicator } from "./useIndicator-i1NORM7W.js";
|
|
7
|
+
import { d as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-B2pnEOJY.js";
|
|
8
|
+
import { t as _sfc_main$7 } from "./Link-DCZ6922-.js";
|
|
8
9
|
import { Fragment, computed, defineComponent, h, ref } from "vue";
|
|
9
10
|
import { fromMarkdown } from "mdast-util-from-markdown";
|
|
10
11
|
import { gfmFromMarkdown } from "mdast-util-gfm";
|
|
11
12
|
import { gfm } from "micromark-extension-gfm";
|
|
12
13
|
import "../styles/markdown.css";
|
|
14
|
+
//#region src/Markdown/ast.ts
|
|
15
|
+
function isMarkdownExtensionNode(node, plugin, name) {
|
|
16
|
+
if (node.type !== "extension" || node.plugin == null || node.name == null) return false;
|
|
17
|
+
if (plugin != null && node.plugin !== plugin) return false;
|
|
18
|
+
if (name != null && node.name !== name) return false;
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
function plainText(node) {
|
|
22
|
+
if (node.type === "text" || node.type === "inlineCode" || node.type === "code" || node.type === "html") return node.value ?? "";
|
|
23
|
+
if (node.type === "image" || node.type === "imageReference") return node.alt ?? node.label ?? "";
|
|
24
|
+
if (node.type === "footnoteReference") return node.label ?? node.identifier ?? "";
|
|
25
|
+
if (node.type === "break") return "\n";
|
|
26
|
+
return (node.children ?? []).map((child) => plainText(child)).join("");
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
13
29
|
//#region src/Markdown/blocks.ts
|
|
14
30
|
function splitSourceLines(source) {
|
|
15
31
|
if (source.length === 0) return [];
|
|
@@ -260,11 +276,65 @@ function trimStreamingTail(tail) {
|
|
|
260
276
|
//#region src/Markdown/parse.ts
|
|
261
277
|
const markdownExtensions = [gfm(), { disable: { null: ["htmlFlow", "htmlText"] } }];
|
|
262
278
|
const mdastExtensions = [gfmFromMarkdown()];
|
|
263
|
-
function
|
|
264
|
-
|
|
279
|
+
function isAutolinkLiteral(node, source) {
|
|
280
|
+
if (node.type !== "link" || node.title != null && node.title !== "") return false;
|
|
281
|
+
const only = node.children?.length === 1 ? node.children[0] : null;
|
|
282
|
+
if (only == null || only.type !== "text" || only.value == null) return false;
|
|
283
|
+
const start = node.position?.start?.offset;
|
|
284
|
+
const end = node.position?.end?.offset;
|
|
285
|
+
if (start == null || end == null) return false;
|
|
286
|
+
const raw = source.slice(start, end);
|
|
287
|
+
if (raw.startsWith("<") || raw.startsWith("[")) return false;
|
|
288
|
+
return raw === only.value;
|
|
289
|
+
}
|
|
290
|
+
/** Turn bare autolinks back into text. Explicit links and `<url>` stay. */
|
|
291
|
+
function stripAutolinkLiterals(node, source) {
|
|
292
|
+
if (node.children == null) return node;
|
|
293
|
+
let changed = false;
|
|
294
|
+
const children = [];
|
|
295
|
+
for (const child of node.children) {
|
|
296
|
+
if (isAutolinkLiteral(child, source)) {
|
|
297
|
+
const start = child.position?.start?.offset ?? 0;
|
|
298
|
+
const end = child.position?.end?.offset ?? start;
|
|
299
|
+
children.push({
|
|
300
|
+
type: "text",
|
|
301
|
+
value: source.slice(start, end)
|
|
302
|
+
});
|
|
303
|
+
changed = true;
|
|
304
|
+
continue;
|
|
305
|
+
}
|
|
306
|
+
const next = stripAutolinkLiterals(child, source);
|
|
307
|
+
if (next !== child) changed = true;
|
|
308
|
+
children.push(next);
|
|
309
|
+
}
|
|
310
|
+
if (!changed) return node;
|
|
311
|
+
return {
|
|
312
|
+
...node,
|
|
313
|
+
children: mergeAdjacentText(children)
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
function mergeAdjacentText(children) {
|
|
317
|
+
const merged = [];
|
|
318
|
+
for (const child of children) {
|
|
319
|
+
const previous = merged[merged.length - 1];
|
|
320
|
+
if (previous?.type === "text" && child.type === "text") {
|
|
321
|
+
merged[merged.length - 1] = {
|
|
322
|
+
type: "text",
|
|
323
|
+
value: `${previous.value ?? ""}${child.value ?? ""}`
|
|
324
|
+
};
|
|
325
|
+
continue;
|
|
326
|
+
}
|
|
327
|
+
merged.push(child);
|
|
328
|
+
}
|
|
329
|
+
return merged;
|
|
330
|
+
}
|
|
331
|
+
function parseMarkdown(source, options) {
|
|
332
|
+
const root = fromMarkdown(source, {
|
|
265
333
|
extensions: markdownExtensions,
|
|
266
334
|
mdastExtensions
|
|
267
335
|
});
|
|
336
|
+
if (options?.autolink === "gfm") return root;
|
|
337
|
+
return stripAutolinkLiterals(root, source);
|
|
268
338
|
}
|
|
269
339
|
function createIncrementalMarkdownState() {
|
|
270
340
|
return {
|
|
@@ -291,7 +361,7 @@ function parseMarkdownIncremental(source, state, options) {
|
|
|
291
361
|
if (end > state.settledEnd) {
|
|
292
362
|
const slice = source.slice(state.settledEnd, end);
|
|
293
363
|
if (slice.trim() !== "") {
|
|
294
|
-
const children = parseMarkdown(slice).children ?? [];
|
|
364
|
+
const children = parseMarkdown(slice, { autolink: options?.autolink }).children ?? [];
|
|
295
365
|
state.blocks = state.blocks.concat(children);
|
|
296
366
|
}
|
|
297
367
|
state.settledEnd = end;
|
|
@@ -299,20 +369,126 @@ function parseMarkdownIncremental(source, state, options) {
|
|
|
299
369
|
state.settledSource = source;
|
|
300
370
|
const tail = source.slice(state.settledEnd);
|
|
301
371
|
const prepared = options?.trimTail === true ? trimStreamingTail(tail) : tail;
|
|
302
|
-
const tailBlocks = prepared.trim() === "" ? [] : parseMarkdown(prepared).children ?? [];
|
|
372
|
+
const tailBlocks = prepared.trim() === "" ? [] : parseMarkdown(prepared, { autolink: options?.autolink }).children ?? [];
|
|
303
373
|
return {
|
|
304
374
|
blocks: state.blocks.concat(tailBlocks),
|
|
305
375
|
settledCount: state.blocks.length
|
|
306
376
|
};
|
|
307
377
|
}
|
|
308
378
|
//#endregion
|
|
309
|
-
//#region src/Markdown/
|
|
310
|
-
function
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
if (
|
|
315
|
-
|
|
379
|
+
//#region src/Markdown/plugins.ts
|
|
380
|
+
function defineMarkdownPlugin(plugin) {
|
|
381
|
+
return plugin;
|
|
382
|
+
}
|
|
383
|
+
function applyMarkdownPlugins(root, plugins) {
|
|
384
|
+
if (plugins == null || plugins.length === 0) return root;
|
|
385
|
+
let current = root;
|
|
386
|
+
for (const plugin of plugins) {
|
|
387
|
+
if (plugin.transform == null) continue;
|
|
388
|
+
const reports = [];
|
|
389
|
+
const next = plugin.transform(current, { report(message) {
|
|
390
|
+
reports.push(message);
|
|
391
|
+
} });
|
|
392
|
+
for (const message of reports) if (typeof console !== "undefined") console.warn(`[Astryx] Markdown plugin "${plugin.name}": ${message}`);
|
|
393
|
+
if (next != null) current = next;
|
|
394
|
+
}
|
|
395
|
+
return current;
|
|
396
|
+
}
|
|
397
|
+
function splitText(text, plugins) {
|
|
398
|
+
const held = [];
|
|
399
|
+
for (const plugin of plugins) {
|
|
400
|
+
if (!plugin.pattern.global) {
|
|
401
|
+
if (typeof console !== "undefined") console.warn("[Astryx] Markdown inline plugin patterns need the g flag.");
|
|
402
|
+
continue;
|
|
403
|
+
}
|
|
404
|
+
plugin.pattern.lastIndex = 0;
|
|
405
|
+
let match = plugin.pattern.exec(text);
|
|
406
|
+
while (match != null) {
|
|
407
|
+
if (match[0].length === 0) {
|
|
408
|
+
plugin.pattern.lastIndex += 1;
|
|
409
|
+
match = plugin.pattern.exec(text);
|
|
410
|
+
continue;
|
|
411
|
+
}
|
|
412
|
+
let end = match.index + match[0].length;
|
|
413
|
+
if (plugin.getEndIndex != null) {
|
|
414
|
+
const refined = plugin.getEndIndex(text, match);
|
|
415
|
+
if (refined === false) {
|
|
416
|
+
match = plugin.pattern.exec(text);
|
|
417
|
+
continue;
|
|
418
|
+
}
|
|
419
|
+
end = refined;
|
|
420
|
+
}
|
|
421
|
+
if (end <= match.index) {
|
|
422
|
+
match = plugin.pattern.exec(text);
|
|
423
|
+
continue;
|
|
424
|
+
}
|
|
425
|
+
end = Math.min(end, text.length);
|
|
426
|
+
const node = plugin.replace(match);
|
|
427
|
+
if (node != null) held.push({
|
|
428
|
+
start: match.index,
|
|
429
|
+
end,
|
|
430
|
+
node
|
|
431
|
+
});
|
|
432
|
+
match = plugin.pattern.exec(text);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
if (held.length === 0) return null;
|
|
436
|
+
held.sort((left, right) => left.start - right.start);
|
|
437
|
+
const resolved = [];
|
|
438
|
+
let lastEnd = 0;
|
|
439
|
+
for (const item of held) if (item.start >= lastEnd) {
|
|
440
|
+
resolved.push(item);
|
|
441
|
+
lastEnd = item.end;
|
|
442
|
+
}
|
|
443
|
+
const nodes = [];
|
|
444
|
+
let cursor = 0;
|
|
445
|
+
for (const item of resolved) {
|
|
446
|
+
if (item.start > cursor) nodes.push({
|
|
447
|
+
type: "text",
|
|
448
|
+
value: text.slice(cursor, item.start)
|
|
449
|
+
});
|
|
450
|
+
nodes.push(item.node);
|
|
451
|
+
cursor = item.end;
|
|
452
|
+
}
|
|
453
|
+
if (cursor < text.length) nodes.push({
|
|
454
|
+
type: "text",
|
|
455
|
+
value: text.slice(cursor)
|
|
456
|
+
});
|
|
457
|
+
return nodes;
|
|
458
|
+
}
|
|
459
|
+
function mapInline(nodes, plugins) {
|
|
460
|
+
let changed = false;
|
|
461
|
+
const next = nodes.map((node) => {
|
|
462
|
+
if (node.type === "text" && node.value != null && node.value !== "") {
|
|
463
|
+
const parts = splitText(node.value, plugins);
|
|
464
|
+
if (parts != null) {
|
|
465
|
+
changed = true;
|
|
466
|
+
return parts;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
if (node.children != null) {
|
|
470
|
+
const children = mapInline(node.children, plugins);
|
|
471
|
+
if (children !== node.children) {
|
|
472
|
+
changed = true;
|
|
473
|
+
return {
|
|
474
|
+
...node,
|
|
475
|
+
children
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
return node;
|
|
480
|
+
});
|
|
481
|
+
if (!changed) return nodes;
|
|
482
|
+
return next.flat();
|
|
483
|
+
}
|
|
484
|
+
function applyInlinePlugins(root, plugins) {
|
|
485
|
+
if (plugins == null || plugins.length === 0 || root.children == null) return root;
|
|
486
|
+
const children = mapInline(root.children, plugins);
|
|
487
|
+
if (children === root.children) return root;
|
|
488
|
+
return {
|
|
489
|
+
...root,
|
|
490
|
+
children
|
|
491
|
+
};
|
|
316
492
|
}
|
|
317
493
|
//#endregion
|
|
318
494
|
//#region src/Markdown/slug.ts
|
|
@@ -526,6 +702,26 @@ function renderCitation(id, key, start, ctx) {
|
|
|
526
702
|
const title = source?.title?.trim() || id;
|
|
527
703
|
const href = source?.url == null ? null : sanitizeMarkdownLinkUrl(source.url);
|
|
528
704
|
const icon = source?.icon == null ? null : sanitizeMarkdownImageUrl(source.icon);
|
|
705
|
+
const accessibleName = ctx.citationLabel(number, title);
|
|
706
|
+
const fading = fadeClass(start, ctx.fade);
|
|
707
|
+
if (ctx.citationStyle === "number") {
|
|
708
|
+
const shared = {
|
|
709
|
+
"key": key,
|
|
710
|
+
"class": ["astryx-markdown__cite", fading],
|
|
711
|
+
"data-citation": String(number),
|
|
712
|
+
"data-citation-style": "number",
|
|
713
|
+
"aria-label": accessibleName,
|
|
714
|
+
title
|
|
715
|
+
};
|
|
716
|
+
const text = String(number);
|
|
717
|
+
if (href == null) return h("span", shared, text);
|
|
718
|
+
return h("a", {
|
|
719
|
+
...shared,
|
|
720
|
+
href,
|
|
721
|
+
rel: linkOpensInNewTab(href) ? "noopener noreferrer" : void 0,
|
|
722
|
+
target: linkOpensInNewTab(href) ? "_blank" : void 0
|
|
723
|
+
}, text);
|
|
724
|
+
}
|
|
529
725
|
const label = h("span", { class: "astryx-markdown__cite-label" }, title);
|
|
530
726
|
const iconNode = icon == null ? null : h("span", { class: "astryx-markdown__cite-icon" }, [h("img", {
|
|
531
727
|
alt: "",
|
|
@@ -533,26 +729,43 @@ function renderCitation(id, key, start, ctx) {
|
|
|
533
729
|
})]);
|
|
534
730
|
const className = [
|
|
535
731
|
"astryx-markdown__cite",
|
|
536
|
-
|
|
732
|
+
fading,
|
|
537
733
|
iconNode == null ? null : "astryx-markdown__cite--icon"
|
|
538
734
|
];
|
|
539
735
|
const children = iconNode == null ? [label] : [iconNode, label];
|
|
540
|
-
|
|
736
|
+
const shared = {
|
|
541
737
|
key,
|
|
542
738
|
"class": className,
|
|
543
739
|
"data-citation": String(number),
|
|
740
|
+
"data-citation-style": "label",
|
|
741
|
+
"aria-label": accessibleName,
|
|
544
742
|
title
|
|
545
|
-
}
|
|
743
|
+
};
|
|
744
|
+
if (href == null) return h("span", shared, children);
|
|
546
745
|
return h("a", {
|
|
547
|
-
|
|
548
|
-
"class": className,
|
|
549
|
-
"data-citation": String(number),
|
|
746
|
+
...shared,
|
|
550
747
|
href,
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
title
|
|
748
|
+
rel: linkOpensInNewTab(href) ? "noopener noreferrer" : void 0,
|
|
749
|
+
target: linkOpensInNewTab(href) ? "_blank" : void 0
|
|
554
750
|
}, children);
|
|
555
751
|
}
|
|
752
|
+
function extensionRenderer(node, ctx) {
|
|
753
|
+
const owner = node.plugin;
|
|
754
|
+
if (owner == null) return null;
|
|
755
|
+
const block = ctx.plugins?.find((plugin) => plugin.name === owner && plugin.render != null);
|
|
756
|
+
if (block?.render != null) return block.render;
|
|
757
|
+
return (ctx.inlinePlugins?.find((plugin) => plugin.name === owner && plugin.render != null))?.render ?? null;
|
|
758
|
+
}
|
|
759
|
+
function renderExtension(node, key, ctx) {
|
|
760
|
+
const render = extensionRenderer(node, ctx);
|
|
761
|
+
if (render != null) {
|
|
762
|
+
const rendered = render(node, { renderChildren: () => renderChildren(node.children, key, ctx) });
|
|
763
|
+
if (rendered != null) return rendered;
|
|
764
|
+
}
|
|
765
|
+
if (node.value != null && node.value !== "") return renderText(node.value, key, ctx);
|
|
766
|
+
if (node.children != null && node.children.length > 0) return h(Fragment, { key }, renderChildren(node.children, key, ctx));
|
|
767
|
+
return null;
|
|
768
|
+
}
|
|
556
769
|
function fadeClass(start, fade) {
|
|
557
770
|
if (!fade.active || fade.boundaries.length === 0) return void 0;
|
|
558
771
|
const oldest = fade.boundaries[0];
|
|
@@ -650,6 +863,7 @@ function renderInline(node, key, ctx) {
|
|
|
650
863
|
class: "astryx-markdown__fn"
|
|
651
864
|
}, [h(_sfc_main$7, { href: `#astryx-fn-${id}` }, () => labelNode)]);
|
|
652
865
|
}
|
|
866
|
+
case "extension": return renderExtension(node, key, ctx);
|
|
653
867
|
default:
|
|
654
868
|
if (node.children != null) return h(Fragment, { key }, renderChildren(node.children, key, ctx));
|
|
655
869
|
return null;
|
|
@@ -748,7 +962,7 @@ function renderListItem(node, key, taskList, marker, ctx) {
|
|
|
748
962
|
return h("li", {
|
|
749
963
|
key,
|
|
750
964
|
class: "astryx-markdown__task"
|
|
751
|
-
}, [h("span", { class: "astryx-markdown__task-check" }, [h(_sfc_main$4, {
|
|
965
|
+
}, [h("span", { class: "astryx-markdown__task-check" }, [h(ctx.checkboxIndicator ?? _sfc_main$4, {
|
|
752
966
|
state: checked ? "checked" : "unchecked",
|
|
753
967
|
size: "sm"
|
|
754
968
|
}), h(_sfc_main$1, () => checked ? ctx.messages.taskDone : ctx.messages.taskPending)]), h("div", { class: "astryx-markdown__task-body" }, body)]);
|
|
@@ -808,12 +1022,14 @@ function renderBlock(node, key, ctx) {
|
|
|
808
1022
|
code: value,
|
|
809
1023
|
language
|
|
810
1024
|
}, () => value);
|
|
1025
|
+
const fence = parseFenceLanguage(language);
|
|
811
1026
|
return h("div", {
|
|
812
1027
|
key,
|
|
813
1028
|
class: ["astryx-markdown__code", fadeClass(start, ctx.fade)]
|
|
814
1029
|
}, [h(_sfc_main$6, {
|
|
815
1030
|
code: value,
|
|
816
|
-
language: language
|
|
1031
|
+
language: fence.language,
|
|
1032
|
+
isDiff: fence.isDiff,
|
|
817
1033
|
width: "100%",
|
|
818
1034
|
isCollapsible: true
|
|
819
1035
|
})]);
|
|
@@ -873,6 +1089,7 @@ function renderBlock(node, key, ctx) {
|
|
|
873
1089
|
}
|
|
874
1090
|
case "definition": return null;
|
|
875
1091
|
case "image": return renderInline(node, key, ctx);
|
|
1092
|
+
case "extension": return renderExtension(node, key, ctx);
|
|
876
1093
|
default: return renderInline(node, key, ctx);
|
|
877
1094
|
}
|
|
878
1095
|
}
|
|
@@ -953,6 +1170,22 @@ const _sfc_main = defineComponent({
|
|
|
953
1170
|
type: Function,
|
|
954
1171
|
default: void 0
|
|
955
1172
|
},
|
|
1173
|
+
plugins: {
|
|
1174
|
+
type: Array,
|
|
1175
|
+
default: void 0
|
|
1176
|
+
},
|
|
1177
|
+
inlinePlugins: {
|
|
1178
|
+
type: Array,
|
|
1179
|
+
default: void 0
|
|
1180
|
+
},
|
|
1181
|
+
autolink: {
|
|
1182
|
+
type: String,
|
|
1183
|
+
default: void 0
|
|
1184
|
+
},
|
|
1185
|
+
citationStyle: {
|
|
1186
|
+
type: String,
|
|
1187
|
+
default: "label"
|
|
1188
|
+
},
|
|
956
1189
|
sources: {
|
|
957
1190
|
type: Object,
|
|
958
1191
|
default: void 0
|
|
@@ -962,33 +1195,42 @@ const _sfc_main = defineComponent({
|
|
|
962
1195
|
const root = ref(null);
|
|
963
1196
|
expose({ element: computed(() => root.value) });
|
|
964
1197
|
const messages = useAstryxMessages();
|
|
1198
|
+
const checkboxIndicator = useIndicator("checkbox");
|
|
965
1199
|
const slotSource = ref("");
|
|
966
1200
|
const source = computed(() => props.content ?? slotSource.value);
|
|
967
1201
|
const incremental = createIncrementalMarkdownState();
|
|
968
1202
|
const cache = /* @__PURE__ */ new Map();
|
|
969
1203
|
let boundaries = [];
|
|
970
1204
|
let previousLength = 0;
|
|
1205
|
+
let seenAutolink = props.autolink;
|
|
971
1206
|
return () => {
|
|
972
1207
|
if (props.content == null) {
|
|
973
1208
|
const text = slotText(slots.default?.());
|
|
974
1209
|
if (slotSource.value !== text) slotSource.value = text;
|
|
975
1210
|
}
|
|
976
|
-
if (!props.isStreaming) {
|
|
1211
|
+
if (!props.isStreaming || seenAutolink !== props.autolink) {
|
|
977
1212
|
incremental.settledEnd = 0;
|
|
978
1213
|
incremental.settledSource = "";
|
|
979
1214
|
incremental.blocks = [];
|
|
1215
|
+
seenAutolink = props.autolink;
|
|
980
1216
|
}
|
|
981
1217
|
const shown = source.value;
|
|
982
1218
|
const inline = props.display === "inline";
|
|
983
1219
|
const parsed = inline || !props.isStreaming ? {
|
|
984
|
-
blocks: parseMarkdown(shown).children ?? [],
|
|
1220
|
+
blocks: parseMarkdown(shown, { autolink: props.autolink }).children ?? [],
|
|
985
1221
|
settledCount: 0
|
|
986
|
-
} : parseMarkdownIncremental(shown, incremental, {
|
|
1222
|
+
} : parseMarkdownIncremental(shown, incremental, {
|
|
1223
|
+
trimTail: true,
|
|
1224
|
+
autolink: props.autolink
|
|
1225
|
+
});
|
|
987
1226
|
if (!props.isStreaming || shown.length === 0) {
|
|
988
1227
|
boundaries = [];
|
|
989
1228
|
previousLength = 0;
|
|
990
1229
|
} else boundaries = computeBoundaries(boundaries, previousLength, fadeSpanCount());
|
|
991
|
-
const blocks =
|
|
1230
|
+
const blocks = applyInlinePlugins(applyMarkdownPlugins({
|
|
1231
|
+
type: "root",
|
|
1232
|
+
children: parsed.blocks
|
|
1233
|
+
}, props.plugins), props.inlinePlugins).children ?? [];
|
|
992
1234
|
const ctx = {
|
|
993
1235
|
components: props.components,
|
|
994
1236
|
fade: {
|
|
@@ -1005,7 +1247,12 @@ const _sfc_main = defineComponent({
|
|
|
1005
1247
|
onLinkClick: props.onLinkClick,
|
|
1006
1248
|
slugs: assignHeadingSlugs(blocks),
|
|
1007
1249
|
sources: props.sources,
|
|
1008
|
-
citationOrder: /* @__PURE__ */ new Map()
|
|
1250
|
+
citationOrder: /* @__PURE__ */ new Map(),
|
|
1251
|
+
citationStyle: props.citationStyle ?? "label",
|
|
1252
|
+
citationLabel: messages.value.citation.label,
|
|
1253
|
+
plugins: props.plugins,
|
|
1254
|
+
inlinePlugins: props.inlinePlugins,
|
|
1255
|
+
checkboxIndicator: checkboxIndicator.value
|
|
1009
1256
|
};
|
|
1010
1257
|
const children = renderMarkdownBlocks(blocks, inline ? 0 : parsed.settledCount, ctx, cache);
|
|
1011
1258
|
previousLength = ctx.fade.offset;
|
|
@@ -1032,4 +1279,4 @@ const _sfc_main = defineComponent({
|
|
|
1032
1279
|
}
|
|
1033
1280
|
});
|
|
1034
1281
|
//#endregion
|
|
1035
|
-
export {
|
|
1282
|
+
export { applyMarkdownPlugins as a, isMarkdownExtensionNode as c, applyInlinePlugins as i, slugify as n, defineMarkdownPlugin as o, uniqueSlug as r, parseMarkdown as s, _sfc_main as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../MetadataList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../MetadataList-CFaocx6j.js";
|
|
2
2
|
export { _sfc_main as MetadataList, _sfc_main$1 as MetadataListItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
2
2
|
import { Comment, Fragment, computed, defineComponent, h, inject, provide, ref, useId, useSlots } from "vue";
|
|
3
3
|
import "../styles/metadata-list.css";
|
|
4
4
|
//#region src/MetadataList/context.ts
|
package/dist/MobileNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-
|
|
1
|
+
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-Dh3uLivq.js";
|
|
2
2
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-BvMdXVX9.js";
|
|
2
|
-
import {
|
|
2
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, toDisplayString, unref, useId, useModel, watch } from "vue";
|
|
4
4
|
import "../styles/mobile-nav.css";
|
|
5
5
|
//#region src/MobileNav/context.ts
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as
|
|
1
|
+
import { An as MoreMenuDivider, Bn as MoreMenuSection, Fn as MoreMenuItemVariant, In as MoreMenuOption, Ln as MoreMenuPresentation, Mn as MoreMenuIcon, Nn as MoreMenuInitialFocus, Pn as MoreMenuItem, Rn as MoreMenuProps, Vn as MoreMenuSlots, jn as MoreMenuEmits, kn as _default, zn as MoreMenuResolvedPresentation } from "../index-EtZgovdH.js";
|
|
2
2
|
export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
|
package/dist/MoreMenu/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../MoreMenu-
|
|
1
|
+
import { t as _sfc_main } from "../MoreMenu-B95nRSe8.js";
|
|
2
2
|
export { _sfc_main as MoreMenu };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as getFocusables, t as focusElement } from "./focus-CpficIgf.js";
|
|
2
2
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
3
|
-
import { t as _sfc_main$5 } from "./Heading-Dugosn6j.js";
|
|
4
3
|
import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
|
|
4
|
+
import { t as _sfc_main$5 } from "./Heading-B9C3LZlS.js";
|
|
5
5
|
import { t as _sfc_main$6 } from "./IconButton-BNQuz9W_.js";
|
|
6
|
-
import { t as _sfc_main$7 } from "./Icon-
|
|
6
|
+
import { t as _sfc_main$7 } from "./Icon-bteSId7T.js";
|
|
7
7
|
import { t as _sfc_main$8 } from "./Divider-BtwnL18I.js";
|
|
8
|
-
import { n as _sfc_main$10, t as _sfc_main$9 } from "./ListItem-
|
|
8
|
+
import { n as _sfc_main$10, t as _sfc_main$9 } from "./ListItem-CcRHWuEm.js";
|
|
9
9
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, unref, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
10
10
|
import "../styles/more-menu.css";
|
|
11
11
|
//#region src/MoreMenu/context.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
|
|
1
|
+
import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-BcZI402h.js";
|
|
2
|
+
export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorCreateChange, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorHandle, type MultiSelectorHandleRef, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSelectedItem, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorStatusVariant, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-
|
|
1
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-DuF5TECE.js";
|
|
2
2
|
export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
|