@astryx-vue/core 0.12.0 → 0.13.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/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BO2LucRK.js → AlertDialog-igjA8kZr.js} +6 -6
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-kqwLt4ez.js → AppShell-DUHcLJWD.js} +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-Bdnu3col.js → Avatar-KmdgVaAb.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-C-8DEWdJ.js → Banner-Bf_nMW3-.js} +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-CgOzQHaA.js → BottomSheet-B57XUJV3.js} +3 -2
- package/dist/{BottomSheet-BECeWtEy.js → BottomSheet-BMqjymuf.js} +3 -3
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-Dxjz2Dxn.js → Breadcrumbs-aTPAdLdg.js} +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-BeNp2zq_.js → Button-sUkQ0Ufo.js} +5 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CosYAili.js → ButtonGroup-CWra-KDj.js} +3 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BCcyDFRy.js → Carousel-DmXceU9h.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-D3UDsL7W.js → Chat-CeibAkxn.js} +4 -4
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-iCg8FgRv.js → CheckboxInput-PvzPV1N1.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-Dr40y9ME.js → CheckboxList-DKtNzb0t.js} +3 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-B0LPcu-J.js → CodeBlock-CTPuBH_r.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-D_lf06eE.js → CommandPalette-DIoT_vZh.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BzGKWYEv.js → ComplexSelector-Dmbep7M7.js} +165 -49
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-6AnjpPJg.js → ContextMenu-DYnyk5rs.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-OkjtSKwt.js → DateInput-DgPIsWPu.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B4HT9NfM.js → DateRangeInput-oOfhUt1Q.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B_tQlraA.js → DateTimeInput-DZfghF2h.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BtPktuiy.js → Dialog-Dkwt3mVt.js} +25 -8
- package/dist/{Dialog-3MKo31xn.js → Dialog-qIL4DUot.js} +1 -1
- package/dist/{DialogHeader-cr9rFLYM.js → DialogHeader-w4TCzYEj.js} +2 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-Ba-yG1rk.js → Drawer-DBHSNUAa.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-DJK_xIUd.js → DropdownMenu-Cncx4FbU.js} +3 -3
- package/dist/{DropdownMenu-B9eUWp_X.js → DropdownMenu-DHvAlqSj.js} +5 -5
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-v1cvHKav.js → EmptyState-uWyPaIR1.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-Dc15m78p.js → Field-CqDOsI3P.js} +1 -1
- package/dist/{FieldInfoTip-BouJddgS.js → FieldInfoTip-CUh2koNc.js} +1 -1
- package/dist/{FieldLabel-CfO3zaZ5.js → FieldLabel-BMHNRAG3.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-hNPjfW1i.js → FileInput-C6dK2pvX.js} +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-C10qO8wg.js → Heading-C0axugQa.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-3S3axq-o.js → HoverCard-C6Gxekg0.js} +3 -3
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-C91rhbvu.js → IconButton-Bv2eIsJy.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-iKOp_vUV.js → InfoTip-BKsbmGA6.js} +4 -2
- package/dist/{InputClearButton-BiF7qGMR.js → InputClearButton-CSS2Tjat.js} +2 -2
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CIKleAu8.js → InputGroup-DTGh1ylC.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-CyDjQn5Z.js → InternationalizationProvider-BYU2MRtX.js} +1 -1
- package/dist/{LayerContentBoundary-CvsKxwwm.js → LayerContentBoundary-DwTkbifx.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-OHKb6r7D.js → Layout-BeYYiLFm.js} +1 -1
- package/dist/{LayoutPanel-D-rpTtC-.js → LayoutPanel-DDLcJgzG.js} +3 -0
- package/dist/Lightbox/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DZrWvhCQ.js → Lightbox-BZ-zBvly.js} +106 -28
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-CnlFkwpY.js → Link-Ddu0KjPZ.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-YVv-0uFI.js → Markdown-D7bQGV9u.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-lgEHlilz.js → MobileNavToggle-Dfshmrdy.js} +3 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DaLb4bgr.js → MoreMenu-Bie4B7Jr.js} +4 -4
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-stzuffs3.js → MultiSelector-BXIpOmSU.js} +108 -53
- package/dist/{NavDisclosure-DG4jls5z.js → NavDisclosure-1otbO71l.js} +1 -1
- package/dist/{NavHeadingSurface-9JQsxTxs.js → NavHeadingSurface-BkMR3V5m.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ChlWdHfi.js → NavMenu-dyGZS1yM.js} +2 -2
- package/dist/{NavMenuItem-DIMQohIa.js → NavMenuItem-CirgE73a.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DH0Cb7L6.js → NumberInput-0KbcEF3_.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-BGzqG78e.js → OverflowList-BdcaX1bz.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DMG9KvKa.js → Pagination-eeM9SNsG.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-cnfHz2tm.js → Popover-BOQo9UPf.js} +78 -26
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-GD52glLU.js → PowerSearch-CaqFxaFb.js} +17 -17
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-gsm2A_cR.js → ProgressBar-BS3VSoE9.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-D3TXgdwV.js → RadioGroup-DKaSstyl.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-Boj8QfPe.js → RadioList-DtKm9spP.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CyY6vVUg.js → Selector-DP012yul.js} +12 -47
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-s9yTmKX3.js → SideNav-L6CWk5fV.js} +5 -5
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BQ4Dhxdx.js → Slider-DZS8mGZA.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-DF5wK42f.js → StatusDot-DaQGq8YN.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-B0E8cZy7.js → Switch-BN_NnBuc.js} +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DBSXa5QT.js → TabList-Bmj4tGT-.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BxXYAtBy.js → Table-YDS_Hj1L.js} +12 -12
- package/dist/Text/index.js +1 -1
- package/dist/{Text-WB-fpFne.js → Text-IijvZmW-.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CSoebCLx.js → TextArea-BDR179q1.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-B3qNW95s.js → TextInput-kUzxl99M.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CTkLFo-A.js → Thumbnail-Disi5yDb.js} +2 -2
- package/dist/{TimeField-CMZxZ6gI.js → TimeField-C0la1AtP.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BFWgRaV-.js → TimeInput-C_jTijHh.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-BD2gSoQ3.js → Timer-DifGERP8.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DWnbOvnI.js → Timestamp-BjXZGAvO.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-aI9QMW-L.js → Toast-DBo0WRAd.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DI9I-LBH.js → ToggleButton-B5HNykOh.js} +4 -3
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-Caqr8y0B.js → Tokenizer-CY0ymjYr.js} +109 -50
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CGHpFMnc.js → Tooltip-4APVAlN9.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Cm_Hn6Ub.js → TopNav-XSZWAR-7.js} +4 -4
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-tz2lm5qb.js → Typeahead-ByeXwX8E.js} +48 -13
- package/dist/composables/index.d.ts +2 -1
- package/dist/composables/index.js +8 -7
- package/dist/context-Cgkyk-b7.js +10 -0
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-BSlzqFzV.d.ts → index-BcJzA5j_.d.ts} +3 -3
- package/dist/{index-Bmqz1lVz.d.ts → index-BpprL2SN.d.ts} +1 -1
- package/dist/{index-CuNFD1Yq.d.ts → index-Buxb8Onp.d.ts} +44 -44
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-1AZ4KZhg.d.ts → index-CCpcerMA.d.ts} +2 -2
- package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
- package/dist/{index-CQwracWX.d.ts → index-CfHBwR3F.d.ts} +7 -5
- package/dist/{index-DyALKpjX.d.ts → index-D1J81rYJ.d.ts} +19 -4
- package/dist/{index-B0XIZGY0.d.ts → index-D1RIIzDd.d.ts} +7 -7
- package/dist/{index-DydQ5Ngj.d.ts → index-D7YRtteD.d.ts} +1 -1
- package/dist/{index-FeZXsFO-.d.ts → index-DDrL_-hJ.d.ts} +1 -1
- package/dist/{index-WA7z12bQ.d.ts → index-DE1genab.d.ts} +12 -0
- package/dist/{index-D-YoRrfP.d.ts → index-DKuoSloc.d.ts} +2 -44
- package/dist/{index-rnFsCdJ7.d.ts → index-DMcf0QeR.d.ts} +1 -1
- package/dist/{index-B-Jla56c.d.ts → index-DPH5yoAr.d.ts} +1 -1
- package/dist/{index-CO9GW-ik.d.ts → index-DPklTi3o.d.ts} +1 -1
- package/dist/{index-BzZC2Y7c.d.ts → index-DYabo8TI.d.ts} +6 -5
- package/dist/{index-O9y23OPJ.d.ts → index-DneQgJfI.d.ts} +1 -1
- package/dist/{index-CL8JvxHW.d.ts → index-KcCNhdAw.d.ts} +1 -1
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-DaXzQxos.d.ts → index-PffxihMx.d.ts} +8 -5
- package/dist/{index-3t5RAfNP.d.ts → index-YfMHAQ_D.d.ts} +9 -2
- package/dist/{index-C5bnMSjX.d.ts → index-x0rjeitC.d.ts} +4 -4
- package/dist/index.d.ts +28 -27
- package/dist/index.js +90 -89
- package/dist/{layerDepth-CNDh-IHb.js → layerDepth-BF74Cctw.js} +38 -14
- package/dist/layerFocusReturn-DMJaFgcY.js +121 -0
- package/dist/{loadCatalog-XbgoqaRp.js → loadCatalog-BtQRPyzj.js} +6 -2
- package/dist/{loadCatalog-CQEYXGuI.d.ts → loadCatalog-Kp7aQZpL.d.ts} +3 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-BwnZeppK.js → locale-DET_YkFW.js} +1 -1
- package/dist/selectorEscape-BppRdqpc.js +52 -0
- package/dist/{useAnchoredListbox-9Gn8asBR.js → stillPointerGate-Bh02Mfnw.js} +20 -2
- package/dist/{tokenizer-DSka5PJD.js → tokenizer-ChiAuPN-.js} +5 -1
- package/dist/{tooltipTriggerRules-Bg4tG8w2.js → tooltipTriggerRules-BY3LAtUl.js} +1 -1
- package/dist/{searchResultMessage-BEqDlHdV.js → triggerVariant-BDVvyLtv.js} +18 -18
- package/dist/{useActionGroupTracking-B4niQ_tR.js → useActionGroupTracking-BJMRaXil.js} +1 -1
- package/dist/{useCombobox-CTo5C-gc.js → useCombobox-D374_pT8.js} +32 -8
- package/dist/{useDismiss-0-Z-9D0A.js → useDismiss-BWd-sQ18.js} +26 -5
- package/dist/{useRestoreFocus-CEG0n2AK.js → useFocusTrap-FJt5QhEd.js} +2 -36
- package/dist/{useHoverLayerDismiss-kYJ_NqL4.js → useHoverLayerDismiss-uhfzmZyf.js} +1 -1
- package/dist/useInputStatusIcon-B6m_t8cK.d.ts +45 -0
- package/dist/{useInputStatusIcon-Da2FiXwF.js → useInputStatusIcon-C3Q-q_wI.js} +1 -1
- package/dist/{useLayer-CED-g4Q2.js → useLayer-BGv_wRSG.js} +1 -1
- package/dist/{useOptionActionGrid-CkJcuvaU.js → useOptionActionGrid-C7ibYM_A.js} +15 -1
- package/dist/{useResizable-I3BCiLSL.js → useResizable-DTDhsLip.js} +1 -1
- package/dist/useRestoreFocus-D2-pGoOk.js +38 -0
- package/dist/{useTooltip-D8Tq7-yd.js → useTooltip-md1tr6ef.js} +61 -29
- package/dist/{context-BJ9RkXYX.js → useTouchHitArea-1WtV3u6F.js} +1 -10
- package/dist/{useTruncationTooltip-BNk2xslw.js → useTruncationTooltip-BGsFITq5.js} +3 -3
- package/dist/{useTypeahead-DSMObTtg.js → useTypeahead-BrUwR-kv.js} +1 -1
- package/dist/{TypeaheadMenu-BOzaCvSb.js → useTypeaheadAnnouncement-MbuZumTd.js} +75 -33
- package/package.json +1 -1
- package/styles/complex-selector.css +24 -1
- package/styles/dialog.css +0 -1
- package/styles/info-tip.css +0 -9
- package/styles/lightbox.css +7 -2
- package/styles/multi-selector.css +10 -0
- package/styles/popover.css +2 -0
- package/styles/selector.css +10 -0
- package/styles/tokenizer.css +64 -0
- package/styles/typeahead.css +28 -0
- package/dist/triggerVariant-BsL8jMHs.js +0 -16
- package/dist/{index-D8lv2BiD.d.ts → index-BqhgeAT4.d.ts} +1 -1
package/dist/List/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-Dxs5rf-2.js";
|
|
2
|
-
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-x0rjeitC.js";
|
|
3
3
|
export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemSwipeAction, type ItemSwipeActions, type ItemSwipeBehavior, type ItemSwipeSide, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdge, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
|
package/dist/Markdown/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as MarkdownAstRoot, Q as visitMarkdownNodes, U as MarkdownAstPhrasingContent } from "../protocol-DwUmpC5G.js";
|
|
2
|
-
import { C as MarkdownPlugin, D as applyMarkdownPlugins, E as applyInlinePlugins, O as defineMarkdownPlugin, S as MarkdownInlinePlugin, T as MarkdownTransformContext, _ as MarkdownLinkProps, a as _default, b as MarkdownSlots, c as MarkdownCitationStyle, d as MarkdownDensity, f as MarkdownDisplay, g as MarkdownInlineCodeProps, h as MarkdownImageProps, i as parseMarkdown, k as isMarkdownExtensionNode, l as MarkdownCodeProps, m as MarkdownHeadingProps, n as uniqueSlug, o as MarkdownAlign, p as MarkdownHeadingLevel, r as ParseMarkdownOptions, s as MarkdownAutolink, t as slugify, u as MarkdownComponents, v as MarkdownListProps, w as MarkdownPluginRenderContext, x as MarkdownSource, y as MarkdownProps } from "../index-
|
|
2
|
+
import { C as MarkdownPlugin, D as applyMarkdownPlugins, E as applyInlinePlugins, O as defineMarkdownPlugin, S as MarkdownInlinePlugin, T as MarkdownTransformContext, _ as MarkdownLinkProps, a as _default, b as MarkdownSlots, c as MarkdownCitationStyle, d as MarkdownDensity, f as MarkdownDisplay, g as MarkdownInlineCodeProps, h as MarkdownImageProps, i as parseMarkdown, k as isMarkdownExtensionNode, l as MarkdownCodeProps, m as MarkdownHeadingProps, n as uniqueSlug, o as MarkdownAlign, p as MarkdownHeadingLevel, r as ParseMarkdownOptions, s as MarkdownAutolink, t as slugify, u as MarkdownComponents, v as MarkdownListProps, w as MarkdownPluginRenderContext, x as MarkdownSource, y as MarkdownProps } from "../index-C9ZssPUV.js";
|
|
3
3
|
import { a as ParseOptions, c as parseInlineAst, d as parseMarkdownIncremental, f as BlockNode, m as InlineNode, o as createIncrementalState, s as parseInline, u as parseMarkdownAst, y as SourceRange } from "../publicParser-B6XMcsB2.js";
|
|
4
4
|
import { t as decodeMarkdownCharacterReferences } from "../index-BkUkm6Al.js";
|
|
5
5
|
export { type BlockNode, type InlineNode, _default as Markdown, type MarkdownAlign, type MarkdownAstPhrasingContent, type MarkdownAstRoot, type MarkdownAutolink, type MarkdownCitationStyle, type MarkdownCodeProps, type MarkdownComponents, type MarkdownDensity, type MarkdownDisplay, type MarkdownHeadingLevel, type MarkdownHeadingProps, type MarkdownImageProps, type MarkdownInlineCodeProps, type MarkdownInlinePlugin, type MarkdownLinkProps, type MarkdownListProps, type MarkdownPlugin, type MarkdownPluginRenderContext, type MarkdownProps, type MarkdownSlots, type MarkdownSource, type MarkdownTransformContext, type ParseMarkdownOptions, type ParseOptions, type SourceRange, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
|
package/dist/Markdown/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "../publicParser-C8RBKNLA.js";
|
|
2
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-
|
|
2
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-D7bQGV9u.js";
|
|
3
3
|
import { n as uniqueSlug, t as slugify } from "../slug-D6ln5PTq.js";
|
|
4
4
|
export { _sfc_main as Markdown, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
2
2
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Heading-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Heading-C0axugQa.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./Blockquote-DRoKdcxZ.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
6
6
|
import { t as useIndicator } from "./useIndicator--9mGGlT2.js";
|
|
7
7
|
import { t as citationMessages } from "./citation-h6fyz-JH.js";
|
|
8
|
-
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-
|
|
8
|
+
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-CTPuBH_r.js";
|
|
9
9
|
import { t as markdownMessages } from "./markdown-JcCeKquw.js";
|
|
10
|
-
import { t as _sfc_main$7 } from "./Link-
|
|
10
|
+
import { t as _sfc_main$7 } from "./Link-Ddu0KjPZ.js";
|
|
11
11
|
import { _ as plainText, d as parseMarkdown, f as parseMarkdownIncremental, h as sanitizeMarkdownLinkUrl, l as applyProtocolTransforms, m as sanitizeMarkdownImageUrl, p as linkOpensInNewTab, s as applyMarkdownSyntax, u as createIncrementalMarkdownState } from "./publicParser-C8RBKNLA.js";
|
|
12
12
|
import { l as isMarkdownPluginEntry, t as collectProtocolRenderers, u as isMarkdownSourceLinesPlugin } from "./protocol-DHxY0NI8.js";
|
|
13
13
|
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MetadataListItemSlots, c as MetadataListOrientation, i as MetadataListItemProps, l as MetadataListProps, n as _default, o as MetadataListLabelConfig, r as MetadataListColumns, s as MetadataListLabelPosition, t as _default$1, u as MetadataListSlots } from "../index-
|
|
1
|
+
import { a as MetadataListItemSlots, c as MetadataListOrientation, i as MetadataListItemProps, l as MetadataListProps, n as _default, o as MetadataListLabelConfig, r as MetadataListColumns, s as MetadataListLabelPosition, t as _default$1, u as MetadataListSlots } from "../index-NOXYEdOI.js";
|
|
2
2
|
export { _default as MetadataList, type MetadataListColumns, _default$1 as MetadataListItem, type MetadataListItemProps, type MetadataListItemSlots, type MetadataListLabelConfig, type MetadataListLabelPosition, type MetadataListOrientation, type MetadataListProps, type MetadataListSlots };
|
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-Dfshmrdy.js";
|
|
2
2
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { i as pushLayer, n as useLayerDepth, r as isTopLayer, t as provideLayerDepth } from "./layerDepth-
|
|
3
|
-
import {
|
|
2
|
+
import { i as pushLayer, n as useLayerDepth, r as isTopLayer, t as provideLayerDepth } from "./layerDepth-BF74Cctw.js";
|
|
3
|
+
import { t as useFocusTrap } from "./useFocusTrap-FJt5QhEd.js";
|
|
4
4
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
5
|
+
import { t as useRestoreFocus } from "./useRestoreFocus-D2-pGoOk.js";
|
|
5
6
|
import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
|
|
6
7
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
7
8
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ai as MoreMenuIcon, ci as MoreMenuItemVariant, di as MoreMenuProps, fi as MoreMenuResolvedPresentation, ii as MoreMenuEmits, li as MoreMenuOption, mi as MoreMenuSlots, ni as _default, oi as MoreMenuInitialFocus, pi as MoreMenuSection, ri as MoreMenuDivider, si as MoreMenuItem, ui as MoreMenuPresentation } from "../index-
|
|
1
|
+
import { ai as MoreMenuIcon, ci as MoreMenuItemVariant, di as MoreMenuProps, fi as MoreMenuResolvedPresentation, ii as MoreMenuEmits, li as MoreMenuOption, mi as MoreMenuSlots, ni as _default, oi as MoreMenuInitialFocus, pi as MoreMenuSection, ri as MoreMenuDivider, si as MoreMenuItem, ui as MoreMenuPresentation } from "../index-Buxb8Onp.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-Bie4B7Jr.js";
|
|
2
2
|
export { _sfc_main as MoreMenu };
|
|
@@ -2,13 +2,13 @@ import { t as _sfc_main$5 } from "./Icon-BCHo7W0x.js";
|
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
4
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
5
|
-
import { n as usePositionedLayer } from "./useDismiss-
|
|
6
|
-
import { t as _sfc_main$6 } from "./LayerContentBoundary-
|
|
5
|
+
import { n as usePositionedLayer } from "./useDismiss-BWd-sQ18.js";
|
|
6
|
+
import { t as _sfc_main$6 } from "./LayerContentBoundary-DwTkbifx.js";
|
|
7
7
|
import { n as focusElement, r as getFocusables } from "./focus-l8jVTcqd.js";
|
|
8
|
-
import { t as _sfc_main$7 } from "./IconButton-
|
|
8
|
+
import { t as _sfc_main$7 } from "./IconButton-Bv2eIsJy.js";
|
|
9
9
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
11
|
-
import { t as _sfc_main$8 } from "./Heading-
|
|
11
|
+
import { t as _sfc_main$8 } from "./Heading-C0axugQa.js";
|
|
12
12
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
13
13
|
import { t as _sfc_main$9 } from "./Divider-mOZ6vIQw.js";
|
|
14
14
|
import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BqiaK6ot.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-CfHBwR3F.js";
|
|
2
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-BXIpOmSU.js";
|
|
2
2
|
export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-B57XUJV3.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
|
|
3
3
|
import { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
5
|
-
import { a as isImeKeyEvent } from "./layerDepth-
|
|
5
|
+
import { a as isImeKeyEvent } from "./layerDepth-BF74Cctw.js";
|
|
6
6
|
import { n as isKeyboardModality, r as trackInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
7
7
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
8
8
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
9
9
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
10
|
-
import { t as useCombobox } from "./useCombobox-
|
|
10
|
+
import { t as useCombobox } from "./useCombobox-D374_pT8.js";
|
|
11
11
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
12
12
|
import { t as useDisclosureHandle } from "./useDisclosureHandle-Df3HhAfC.js";
|
|
13
13
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
@@ -17,17 +17,17 @@ import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
18
|
import { t as _sfc_main$5 } from "./Spinner-DEVPDsD0.js";
|
|
19
19
|
import { t as useIndicator } from "./useIndicator--9mGGlT2.js";
|
|
20
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
20
|
+
import { t as _sfc_main$6 } from "./Field-CqDOsI3P.js";
|
|
21
21
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
22
22
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
23
|
-
import { n as fieldStatusPlacement, t as normalizeTriggerVariant } from "./triggerVariant-
|
|
23
|
+
import { n as fieldStatusPlacement, r as _sfc_main$7, t as normalizeTriggerVariant } from "./triggerVariant-BDVvyLtv.js";
|
|
24
24
|
import { t as multiSelectorMessages } from "./multi-selector-CpVI6bt5.js";
|
|
25
|
-
import { t as _sfc_main$
|
|
26
|
-
import {
|
|
25
|
+
import { t as _sfc_main$8 } from "./InputClearButton-CSS2Tjat.js";
|
|
26
|
+
import { a as useBusyAnnouncement, t as bindListboxEscape } from "./selectorEscape-BppRdqpc.js";
|
|
27
27
|
import { t as _sfc_main$9 } from "./Token-CtG_XE6z.js";
|
|
28
|
-
import { n as useAnchoredListbox, t as
|
|
29
|
-
import { n as
|
|
30
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted,
|
|
28
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox, t as createStillPointerGate } from "./stillPointerGate-Bh02Mfnw.js";
|
|
29
|
+
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
30
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
31
31
|
import "../styles/layer.css";
|
|
32
32
|
import "../styles/button.css";
|
|
33
33
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -113,6 +113,7 @@ const _hoisted_2$1 = [
|
|
|
113
113
|
"aria-label",
|
|
114
114
|
"aria-controls",
|
|
115
115
|
"aria-activedescendant",
|
|
116
|
+
"aria-required",
|
|
116
117
|
"placeholder",
|
|
117
118
|
"value"
|
|
118
119
|
];
|
|
@@ -182,6 +183,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
182
183
|
__name: "MultiSelectorPanel",
|
|
183
184
|
props: {
|
|
184
185
|
searchable: { type: Boolean },
|
|
186
|
+
required: { type: Boolean },
|
|
185
187
|
query: {},
|
|
186
188
|
searchId: {},
|
|
187
189
|
searchPlaceholder: {},
|
|
@@ -225,6 +227,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
225
227
|
const props = __props;
|
|
226
228
|
const emit = __emit;
|
|
227
229
|
const searchRef = useTemplateRef("searchRef");
|
|
230
|
+
const pointerGate = createStillPointerGate();
|
|
231
|
+
/** 只有鼠标真的移动了才让行拿走高亮;键盘滚动让行从静止的鼠标下冒出来不算。 */
|
|
232
|
+
function onRowEnter(event, index) {
|
|
233
|
+
if (pointerGate.moved(event)) emit("highlight", index);
|
|
234
|
+
}
|
|
228
235
|
const markSize = computed(() => props.size === "lg" ? "md" : "sm");
|
|
229
236
|
__expose({
|
|
230
237
|
focusSearch: () => searchRef.value?.focus(),
|
|
@@ -234,7 +241,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
234
241
|
return option?.action;
|
|
235
242
|
}
|
|
236
243
|
return (_ctx, _cache) => {
|
|
237
|
-
return openBlock(), createElementBlock("div",
|
|
244
|
+
return openBlock(), createElementBlock("div", { onMousemove: _cache[21] || (_cache[21] = (...args) => unref(pointerGate).track && unref(pointerGate).track(...args)) }, [
|
|
238
245
|
__props.searchable ? (openBlock(), createElementBlock("div", {
|
|
239
246
|
key: 0,
|
|
240
247
|
class: "astryx-multi-selector-search",
|
|
@@ -258,6 +265,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
258
265
|
"aria-controls": __props.listboxId,
|
|
259
266
|
"aria-autocomplete": "list",
|
|
260
267
|
"aria-activedescendant": __props.activeDescendant,
|
|
268
|
+
"aria-required": __props.required || void 0,
|
|
261
269
|
placeholder: __props.searchPlaceholder,
|
|
262
270
|
value: __props.query,
|
|
263
271
|
onInput: _cache[0] || (_cache[0] = ($event) => emit("query", $event)),
|
|
@@ -286,7 +294,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
286
294
|
"data-option-id": String(__props.createOption.value),
|
|
287
295
|
tabindex: "-1",
|
|
288
296
|
onMousedown: _cache[5] || (_cache[5] = withModifiers(() => {}, ["prevent"])),
|
|
289
|
-
onMouseenter: _cache[6] || (_cache[6] = ($event) =>
|
|
297
|
+
onMouseenter: _cache[6] || (_cache[6] = ($event) => onRowEnter($event, 0)),
|
|
290
298
|
onClick: _cache[7] || (_cache[7] = ($event) => emit("toggle", __props.createOption.value))
|
|
291
299
|
}, [createElementVNode("span", _hoisted_5$1, toDisplayString(__props.createOption.label), 1)], 42, _hoisted_4$1)) : __props.createOption ? (openBlock(), createElementBlock("div", {
|
|
292
300
|
key: 2,
|
|
@@ -302,7 +310,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
302
310
|
tabindex: "-1",
|
|
303
311
|
"data-option-id": String(__props.createOption.value),
|
|
304
312
|
onMousedown: _cache[8] || (_cache[8] = withModifiers(() => {}, ["prevent"])),
|
|
305
|
-
onMouseenter: _cache[9] || (_cache[9] = ($event) =>
|
|
313
|
+
onMouseenter: _cache[9] || (_cache[9] = ($event) => onRowEnter($event, 0)),
|
|
306
314
|
onClick: _cache[10] || (_cache[10] = ($event) => emit("toggle", __props.createOption.value))
|
|
307
315
|
}, [createElementVNode("span", _hoisted_7$1, toDisplayString(__props.createOption.label), 1)], 40, _hoisted_6$1),
|
|
308
316
|
createElementVNode("div", {
|
|
@@ -321,7 +329,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
321
329
|
"data-option-id": unref(SELECT_ALL_VALUE),
|
|
322
330
|
tabindex: "-1",
|
|
323
331
|
onMousedown: _cache[11] || (_cache[11] = withModifiers(() => {}, ["prevent"])),
|
|
324
|
-
onMouseenter: _cache[12] || (_cache[12] = ($event) =>
|
|
332
|
+
onMouseenter: _cache[12] || (_cache[12] = ($event) => onRowEnter($event, __props.selectAllIndex)),
|
|
325
333
|
onClick: _cache[13] || (_cache[13] = ($event) => emit("toggle", unref("__astryx_select_all__")))
|
|
326
334
|
}, [
|
|
327
335
|
__props.checkboxPosition === "start" ? (openBlock(), createBlock(resolveDynamicComponent(__props.mark), {
|
|
@@ -349,7 +357,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
349
357
|
tabindex: "-1",
|
|
350
358
|
"data-option-id": unref(SELECT_ALL_VALUE),
|
|
351
359
|
onMousedown: _cache[14] || (_cache[14] = withModifiers(() => {}, ["prevent"])),
|
|
352
|
-
onMouseenter: _cache[15] || (_cache[15] = ($event) =>
|
|
360
|
+
onMouseenter: _cache[15] || (_cache[15] = ($event) => onRowEnter($event, __props.selectAllIndex)),
|
|
353
361
|
onClick: _cache[16] || (_cache[16] = ($event) => emit("toggle", unref("__astryx_select_all__")))
|
|
354
362
|
}, [
|
|
355
363
|
__props.checkboxPosition === "start" ? (openBlock(), createBlock(resolveDynamicComponent(__props.mark), {
|
|
@@ -388,7 +396,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
388
396
|
"data-option-id": String(row.option.value),
|
|
389
397
|
tabindex: "-1",
|
|
390
398
|
onMousedown: _cache[17] || (_cache[17] = withModifiers(() => {}, ["prevent"])),
|
|
391
|
-
onMouseenter: ($event) =>
|
|
399
|
+
onMouseenter: ($event) => onRowEnter($event, __props.optionIndex(row.option.value)),
|
|
392
400
|
onClick: ($event) => emit("toggle", row.option.value)
|
|
393
401
|
}, [
|
|
394
402
|
__props.checkboxPosition === "start" ? (openBlock(), createBlock(resolveDynamicComponent(__props.mark), {
|
|
@@ -434,7 +442,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
434
442
|
tabindex: "-1",
|
|
435
443
|
"data-option-id": String(row.option.value),
|
|
436
444
|
onMousedown: _cache[18] || (_cache[18] = withModifiers(() => {}, ["prevent"])),
|
|
437
|
-
onMouseenter: ($event) =>
|
|
445
|
+
onMouseenter: ($event) => onRowEnter($event, __props.optionIndex(row.option.value)),
|
|
438
446
|
onClick: ($event) => emit("toggle", row.option.value)
|
|
439
447
|
}, [
|
|
440
448
|
__props.checkboxPosition === "start" ? (openBlock(), createBlock(resolveDynamicComponent(__props.mark), {
|
|
@@ -477,11 +485,41 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
477
485
|
], 10, _hoisted_23)) : createCommentVNode("v-if", true)], 64);
|
|
478
486
|
}), 128)) : createCommentVNode("v-if", true),
|
|
479
487
|
__props.showEmpty ? (openBlock(), createElementBlock("div", _hoisted_29, [!__props.query.trim() ? renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(__props.emptyText), 1)], void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(__props.emptySearchText), 1)], 64))])) : createCommentVNode("v-if", true)
|
|
480
|
-
]);
|
|
488
|
+
], 32);
|
|
481
489
|
};
|
|
482
490
|
}
|
|
483
491
|
});
|
|
484
492
|
//#endregion
|
|
493
|
+
//#region src/MultiSelector/useMultiSelectorDisplay.ts
|
|
494
|
+
/** 触发器上已选项的展示:徽标折叠成 +N、逗号拼起来的文字、调用方自己格式化的文字。 */
|
|
495
|
+
function useMultiSelectorDisplay(host) {
|
|
496
|
+
const { props, selectedOptions, messages } = host;
|
|
497
|
+
const badgeCount = computed(() => selectedOptions.value.length);
|
|
498
|
+
const overflow = useOverflow(badgeCount, { gap: 4 });
|
|
499
|
+
const visibleBadgeCount = computed(() => Math.min(overflow.visibleCount.value, props.maxBadges ?? 3, badgeCount.value));
|
|
500
|
+
const hiddenBadgeCount = computed(() => Math.max(0, badgeCount.value - visibleBadgeCount.value));
|
|
501
|
+
return {
|
|
502
|
+
overflow,
|
|
503
|
+
visibleBadgeCount,
|
|
504
|
+
hiddenBadgeCount,
|
|
505
|
+
measureMoreLabel: computed(() => messages.value.multiSelector.more(Math.max(hiddenBadgeCount.value, 1))),
|
|
506
|
+
labelText: computed(() => {
|
|
507
|
+
const labels = selectedOptions.value.map((option) => option.label);
|
|
508
|
+
const shown = labels.slice(0, props.maxBadges);
|
|
509
|
+
const extra = labels.length - shown.length;
|
|
510
|
+
if (shown.length === 0) return "";
|
|
511
|
+
return extra > 0 ? `${shown.join(", ")} ${messages.value.multiSelector.more(extra)}` : shown.join(", ");
|
|
512
|
+
}),
|
|
513
|
+
formattedValue: computed(() => {
|
|
514
|
+
if (selectedOptions.value.length === 0 || props.formatValue == null || props.triggerDisplay === "badges") return void 0;
|
|
515
|
+
return props.formatValue(selectedOptions.value.map((option) => ({
|
|
516
|
+
value: option.value,
|
|
517
|
+
label: option.label
|
|
518
|
+
})));
|
|
519
|
+
})
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
//#endregion
|
|
485
523
|
//#region src/MultiSelector/createOption.ts
|
|
486
524
|
/** 创建行的值永远不是真实选项。选中它会走创建,而不是切换勾选。 */
|
|
487
525
|
const CREATE_VALUE_PREFIX = "__astryx_multi_selector_create__";
|
|
@@ -833,6 +871,8 @@ const _hoisted_3 = [
|
|
|
833
871
|
"aria-controls",
|
|
834
872
|
"aria-autocomplete",
|
|
835
873
|
"aria-activedescendant",
|
|
874
|
+
"aria-labelledby",
|
|
875
|
+
"aria-required",
|
|
836
876
|
"aria-describedby"
|
|
837
877
|
];
|
|
838
878
|
const _hoisted_4 = {
|
|
@@ -1029,6 +1069,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1029
1069
|
const resolvedDisabledMessage = computed(() => props.disabledMessage?.trim() || props.disabledReason?.trim());
|
|
1030
1070
|
const showsDisabledMessage = computed(() => control.isDisabled.value && !!resolvedDisabledMessage.value);
|
|
1031
1071
|
const disabledTooltip = useButtonTooltip(showsDisabledMessage);
|
|
1072
|
+
const fieldLabelId = `${triggerId}-label`;
|
|
1032
1073
|
const hasClear = computed(() => props.hasClear || props.clearable);
|
|
1033
1074
|
const hasCustomTrigger = computed(() => slots.trigger != null);
|
|
1034
1075
|
const customAnchor = shallowRef(null);
|
|
@@ -1069,6 +1110,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1069
1110
|
listboxId
|
|
1070
1111
|
});
|
|
1071
1112
|
const { combobox, selectedValues, selectedOptions } = menu;
|
|
1113
|
+
useBusyAnnouncement(() => control.isLoading.value, () => messages.value.multiSelector.loading);
|
|
1114
|
+
/** 禁用的字段不向表单交值:不渲染隐藏输入,而不是渲染一个原生禁用的。 */
|
|
1115
|
+
/** 带搜索时触发器是普通按钮,搜索框才是组合框;ARIA 不允许按钮带 aria-required,必填交给搜索框。 */
|
|
1116
|
+
const hasSearchRole = computed(() => Boolean(props.searchable) && !control.isReadOnly.value);
|
|
1117
|
+
const hiddenCarrierValues = computed(() => control.isDisabled.value ? [] : selectedValues.value);
|
|
1072
1118
|
trackInteractionModality();
|
|
1073
1119
|
const searchKeyboardFocus = ref(false);
|
|
1074
1120
|
const sheetSlot = useTemplateRef("sheetSlot");
|
|
@@ -1094,24 +1140,20 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1094
1140
|
combobox.close();
|
|
1095
1141
|
}
|
|
1096
1142
|
});
|
|
1097
|
-
const
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
const measureMoreLabel = computed(() => messages.value.multiSelector.more(Math.max(hiddenBadgeCount.value, 1)));
|
|
1102
|
-
const labelText = computed(() => {
|
|
1103
|
-
const labels = selectedOptions.value.map((option) => option.label);
|
|
1104
|
-
const shown = labels.slice(0, props.maxBadges);
|
|
1105
|
-
const extra = labels.length - shown.length;
|
|
1106
|
-
if (shown.length === 0) return "";
|
|
1107
|
-
return extra > 0 ? `${shown.join(", ")} ${messages.value.multiSelector.more(extra)}` : shown.join(", ");
|
|
1143
|
+
const { overflow, visibleBadgeCount, hiddenBadgeCount, measureMoreLabel, labelText, formattedValue } = useMultiSelectorDisplay({
|
|
1144
|
+
props,
|
|
1145
|
+
selectedOptions,
|
|
1146
|
+
messages
|
|
1108
1147
|
});
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1148
|
+
/** 调用方的 aria-labelledby 接在字段自己的标签后面(组内先是组标签),不取代它。 */
|
|
1149
|
+
const labelledBy = computed(() => {
|
|
1150
|
+
const external = attrs["aria-labelledby"];
|
|
1151
|
+
if (typeof external !== "string" || external === "") return void 0;
|
|
1152
|
+
return [
|
|
1153
|
+
inGroup.value ? inputGroup?.labelId.value : void 0,
|
|
1154
|
+
fieldLabelId,
|
|
1155
|
+
external
|
|
1156
|
+
].filter(Boolean).join(" ");
|
|
1115
1157
|
});
|
|
1116
1158
|
const describedBy = computed(() => {
|
|
1117
1159
|
return [
|
|
@@ -1142,20 +1184,28 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1142
1184
|
if (!event.defaultPrevented) emit("keydown", event);
|
|
1143
1185
|
}
|
|
1144
1186
|
/** 选项和操作按钮上的 Escape 不会经过搜索框,在列表根上接住并回到触发器。 */
|
|
1145
|
-
|
|
1187
|
+
bindListboxEscape(listboxRef, (event) => {
|
|
1146
1188
|
if (event.key !== "Escape" || event.defaultPrevented || event.isComposing) return;
|
|
1147
1189
|
menu.onKeyDown(event);
|
|
1190
|
+
});
|
|
1191
|
+
/**
|
|
1192
|
+
* 自制控件在禁用、只读(含 InputGroup 带来的禁用)时仍可聚焦,但调用方绑在同一个
|
|
1193
|
+
* 元素上的点击和按键处理也不该运行:先到的这一份把事件整个拦下。
|
|
1194
|
+
*/
|
|
1195
|
+
function onCustomTriggerClick(event) {
|
|
1196
|
+
if (!control.canActivate.value) event.stopImmediatePropagation();
|
|
1197
|
+
onTriggerClick(event);
|
|
1198
|
+
}
|
|
1199
|
+
function onCustomTriggerKeyDown(event) {
|
|
1200
|
+
if (!control.canActivate.value && event.key !== "Tab") event.stopImmediatePropagation();
|
|
1201
|
+
onTriggerKeyDown(event);
|
|
1148
1202
|
}
|
|
1149
|
-
watch(listboxRef, (el, prev) => {
|
|
1150
|
-
prev?.removeEventListener("keydown", onListboxEscape);
|
|
1151
|
-
el?.addEventListener("keydown", onListboxEscape);
|
|
1152
|
-
}, { flush: "sync" });
|
|
1153
|
-
onScopeDispose(() => listboxRef.value?.removeEventListener("keydown", onListboxEscape));
|
|
1154
1203
|
const triggerProps = computed(() => ({
|
|
1155
1204
|
"id": triggerId,
|
|
1156
|
-
"onClick":
|
|
1157
|
-
"onKeyDown":
|
|
1205
|
+
"onClick": onCustomTriggerClick,
|
|
1206
|
+
"onKeyDown": onCustomTriggerKeyDown,
|
|
1158
1207
|
"onFocus": onTriggerFocus,
|
|
1208
|
+
"aria-disabled": control.isDisabled.value ? "true" : void 0,
|
|
1159
1209
|
"aria-haspopup": menu.popupKind.value,
|
|
1160
1210
|
"aria-expanded": combobox.isOpen.value,
|
|
1161
1211
|
"aria-controls": listboxId,
|
|
@@ -1196,6 +1246,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1196
1246
|
style: normalizeStyle(unref(parts).containerStyle.value),
|
|
1197
1247
|
label: props.label,
|
|
1198
1248
|
"input-id": props.searchable && unref(combobox).isOpen.value ? searchId : triggerId,
|
|
1249
|
+
"label-id": fieldLabelId,
|
|
1199
1250
|
"is-label-hidden": inGroup.value || props.isLabelHidden || props.labelHidden,
|
|
1200
1251
|
"is-disabled": unref(control).isDisabled.value,
|
|
1201
1252
|
"is-required": inGroup.value ? false : props.required,
|
|
@@ -1234,41 +1285,43 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1234
1285
|
"aria-disabled": unref(control).isDisabled.value || void 0,
|
|
1235
1286
|
"aria-readonly": unref(control).isReadOnly.value || void 0,
|
|
1236
1287
|
"aria-busy": unref(control).isLoading.value || void 0,
|
|
1237
|
-
role:
|
|
1288
|
+
role: hasSearchRole.value ? void 0 : "combobox",
|
|
1238
1289
|
"aria-haspopup": unref(control).isReadOnly.value ? void 0 : unref(menu).popupKind.value,
|
|
1239
1290
|
"aria-expanded": unref(control).isReadOnly.value ? false : unref(combobox).isOpen.value,
|
|
1240
1291
|
"aria-controls": unref(control).isReadOnly.value ? void 0 : listboxId,
|
|
1241
1292
|
"aria-autocomplete": props.searchable ? void 0 : "none",
|
|
1242
1293
|
"aria-activedescendant": !props.searchable ? unref(menu).actionGrid.activeDescendant.value : void 0,
|
|
1294
|
+
"aria-labelledby": labelledBy.value,
|
|
1295
|
+
"aria-required": props.required && !hasSearchRole.value ? true : void 0,
|
|
1243
1296
|
"aria-describedby": [describedBy.value, unref(control).isReadOnly.value ? readOnlyId : void 0].filter(Boolean).join(" ") || void 0,
|
|
1244
1297
|
onClick: onTriggerClick,
|
|
1245
1298
|
onFocus: onTriggerFocus,
|
|
1246
1299
|
onBlur: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args)),
|
|
1247
1300
|
onKeydown: onTriggerKeyDown
|
|
1248
|
-
}), [unref(selectedOptions).length === 0 ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(placeholder.value), 1)) : props.triggerDisplay === "count" ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(formattedValue
|
|
1301
|
+
}), [unref(selectedOptions).length === 0 ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(placeholder.value), 1)) : props.triggerDisplay === "count" ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(unref(formattedValue) ?? unref(messages).multiSelector.selected(unref(selectedOptions).length)), 1)) : props.triggerDisplay === "labels" ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(unref(formattedValue) ?? unref(labelText)), 1)) : (openBlock(), createElementBlock("span", {
|
|
1249
1302
|
key: 3,
|
|
1250
1303
|
ref: unref(overflow).containerRef,
|
|
1251
1304
|
class: "astryx-multi-selector-badges"
|
|
1252
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedOptions).slice(0, visibleBadgeCount
|
|
1305
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedOptions).slice(0, unref(visibleBadgeCount)), (option) => {
|
|
1253
1306
|
return openBlock(), createBlock(_sfc_main$9, {
|
|
1254
1307
|
key: option.value,
|
|
1255
1308
|
label: option.label,
|
|
1256
1309
|
size: unref(size) === "lg" ? "md" : "sm"
|
|
1257
1310
|
}, null, 8, ["label", "size"]);
|
|
1258
|
-
}), 128)), hiddenBadgeCount
|
|
1311
|
+
}), 128)), unref(hiddenBadgeCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(unref(messages).multiSelector.more(unref(hiddenBadgeCount))), 1)) : createCommentVNode("v-if", true)], 512))], 16, _hoisted_3),
|
|
1259
1312
|
unref(control).isLoading.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1260
1313
|
key: 1,
|
|
1261
1314
|
class: "astryx-multi-selector-spinner",
|
|
1262
1315
|
size: "sm",
|
|
1263
|
-
"aria-
|
|
1264
|
-
}
|
|
1265
|
-
hasClear.value && unref(selectedValues).length > 0 && unref(control).canActivate.value ? (openBlock(), createBlock(_sfc_main$
|
|
1316
|
+
"aria-hidden": "true"
|
|
1317
|
+
})) : createCommentVNode("v-if", true),
|
|
1318
|
+
hasClear.value && unref(selectedValues).length > 0 && unref(control).canActivate.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
1266
1319
|
key: 2,
|
|
1267
1320
|
class: "astryx-multi-selector-clear",
|
|
1268
1321
|
label: unref(messages).multiSelector.clearAll(props.label),
|
|
1269
1322
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(menu).commit([]), ["stop"]))
|
|
1270
1323
|
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
1271
|
-
statusGlyph.value ? (openBlock(), createBlock(_sfc_main$
|
|
1324
|
+
statusGlyph.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
1272
1325
|
key: 3,
|
|
1273
1326
|
type: statusGlyph.value,
|
|
1274
1327
|
message: fieldStatus.value?.message,
|
|
@@ -1299,13 +1352,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1299
1352
|
label: option.label,
|
|
1300
1353
|
size: unref(size) === "lg" ? "md" : "sm"
|
|
1301
1354
|
}, null, 8, ["label", "size"]);
|
|
1302
|
-
}), 128)), createElementVNode("span", _hoisted_8, toDisplayString(measureMoreLabel
|
|
1355
|
+
}), 128)), createElementVNode("span", _hoisted_8, toDisplayString(unref(measureMoreLabel)), 1)], 512)) : createCommentVNode("v-if", true),
|
|
1303
1356
|
showsDisabledMessage.value ? (openBlock(), createElementBlock("span", {
|
|
1304
1357
|
key: 7,
|
|
1305
1358
|
id: disabledId,
|
|
1306
1359
|
class: "astryx-visually-hidden"
|
|
1307
1360
|
}, toDisplayString(resolvedDisabledMessage.value), 1)) : createCommentVNode("v-if", true),
|
|
1308
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
1361
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(hiddenCarrierValues.value, (value) => {
|
|
1309
1362
|
return openBlock(), createElementBlock("input", {
|
|
1310
1363
|
key: value,
|
|
1311
1364
|
type: "hidden",
|
|
@@ -1360,6 +1413,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1360
1413
|
ref_key: "panelRef",
|
|
1361
1414
|
ref: panelRef,
|
|
1362
1415
|
searchable: Boolean(props.searchable),
|
|
1416
|
+
required: props.required,
|
|
1363
1417
|
query: unref(menu).query.value,
|
|
1364
1418
|
"search-id": searchId,
|
|
1365
1419
|
"search-placeholder": unref(menu).searchPlaceholder.value,
|
|
@@ -1406,6 +1460,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1406
1460
|
key: "1"
|
|
1407
1461
|
} : void 0]), 1032, [
|
|
1408
1462
|
"searchable",
|
|
1463
|
+
"required",
|
|
1409
1464
|
"query",
|
|
1410
1465
|
"search-placeholder",
|
|
1411
1466
|
"clear-label",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-
|
|
2
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-BWd-sQ18.js";
|
|
3
3
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, openBlock, provide, ref, renderSlot, unref, useId, useModel, watch } from "vue";
|
|
4
4
|
import "../styles/layer.css";
|
|
5
5
|
import "../styles/nav-menu.css";
|
|
@@ -3,7 +3,7 @@ import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
|
3
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
4
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
5
5
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./NavDisclosure-
|
|
6
|
+
import { t as _sfc_main$3 } from "./NavDisclosure-1otbO71l.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useSlots, withCtx, withModifiers } from "vue";
|
|
8
8
|
//#region src/NavMenu/navHeadingMode.ts
|
|
9
9
|
/** 标题的点击边界:整段链接、整段打开菜单,或链接和箭头各管各的。 */
|
package/dist/NavItem/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-BG23kC3S.js";
|
|
2
|
-
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-
|
|
2
|
+
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-KcCNhdAw.js";
|
|
3
3
|
export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
|
package/dist/NavMenu/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NavDisclosure-
|
|
2
|
-
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-
|
|
3
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-
|
|
1
|
+
import { t as _sfc_main } from "../NavDisclosure-1otbO71l.js";
|
|
2
|
+
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-dyGZS1yM.js";
|
|
3
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-CirgE73a.js";
|
|
4
4
|
export { _sfc_main as NavDisclosure, _sfc_main$1 as NavHeadingMenu, _sfc_main$2 as NavHeadingMenuItem, _sfc_main$3 as NavMenu, _sfc_main$4 as NavMenuItem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
3
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
4
|
-
import { t as useTypeahead } from "./useTypeahead-
|
|
4
|
+
import { t as useTypeahead } from "./useTypeahead-BrUwR-kv.js";
|
|
5
5
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
6
|
-
import { i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-
|
|
6
|
+
import { i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-1otbO71l.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useAttrs, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/nav-menu.css";
|
|
9
9
|
//#region src/NavMenu/NavHeadingMenu.vue
|
|
@@ -3,7 +3,7 @@ import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
5
5
|
import { n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
6
|
-
import { i as navMenuKey, n as navMenuCloseKey } from "./NavDisclosure-
|
|
6
|
+
import { i as navMenuKey, n as navMenuCloseKey } from "./NavDisclosure-1otbO71l.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, onMounted, openBlock, provide, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/nav-menu.css";
|
|
9
9
|
//#region src/NavMenu/NavMenu.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as NumberInputEmits, Qr as _default, ei as NumberInputProps, ti as NumberInputStatus } from "../index-
|
|
1
|
+
import { $r as NumberInputEmits, Qr as _default, ei as NumberInputProps, ti as NumberInputStatus } from "../index-Buxb8Onp.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputProps, type NumberInputStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NumberInput-
|
|
1
|
+
import { t as _sfc_main } from "../NumberInput-0KbcEF3_.js";
|
|
2
2
|
export { _sfc_main as NumberInput };
|
|
@@ -5,15 +5,15 @@ import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
|
5
5
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
6
6
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
7
7
|
import { t as _sfc_main$4 } from "./FieldIcon-DMtfe1Ne.js";
|
|
8
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
8
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-CUh2koNc.js";
|
|
9
9
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
|
|
11
11
|
import { t as unicodeRegExp } from "./unicodeRegExp-B7yQnpFC.js";
|
|
12
12
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
13
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$6 } from "./Field-CqDOsI3P.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
15
15
|
import { t as numberInputMessages } from "./number-input-DTjrRWmU.js";
|
|
16
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
16
|
+
import { t as _sfc_main$7 } from "./InputClearButton-CSS2Tjat.js";
|
|
17
17
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useTemplateRef, withCtx, withModifiers } from "vue";
|
|
18
18
|
import "../styles/number-input.css";
|
|
19
19
|
//#region src/NumberInput/numberParser.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Jr as OverflowListCollapsedItem, Xr as OverflowListItem, Yr as OverflowListEmits, Zr as OverflowListProps, qr as _default } from "../index-
|
|
1
|
+
import { Jr as OverflowListCollapsedItem, Xr as OverflowListItem, Yr as OverflowListEmits, Zr as OverflowListProps, qr as _default } from "../index-Buxb8Onp.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../OverflowList-
|
|
1
|
+
import { t as _sfc_main } from "../OverflowList-BdcaX1bz.js";
|
|
2
2
|
export { _sfc_main as OverflowList };
|
|
@@ -3,8 +3,8 @@ import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
|
3
3
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
4
4
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
5
5
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./NavDisclosure-
|
|
7
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-
|
|
6
|
+
import { t as _sfc_main$2 } from "./NavDisclosure-1otbO71l.js";
|
|
7
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-CirgE73a.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
9
9
|
import "../styles/overflow-list.css";
|
|
10
10
|
//#region src/OverflowList/OverflowMore.vue
|