@astryx-vue/core 0.2.3 → 0.2.5
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/README.md +28 -26
- package/THIRD_PARTY_NOTICES.md +2 -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-Dd-D4bA2.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 +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CWGfgLNK.js → Breadcrumbs-D6G7f5WL.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-CnOsSjMY.js → Calendar-DmTeM7PO.js} +2 -2
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-JA7ilqI_.js → Carousel-CIKrcA2r.js} +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-C7WrCOE4.js → Chat-BFox3u9D.js} +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CnCGnkZk.js → CheckboxList-BlPf7vPe.js} +4 -4
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CtwrU33I.js → Citation-BG-vg9ia.js} +1 -1
- 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-BvefYRpx.js → Code-XnPuGxey.js} +1 -1
- package/dist/{CodeBlock-BZGzYeoL.js → CodeBlock-B2pnEOJY.js} +145 -15
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BNbM9T9y.js → CommandPalette-DKgHzmJk.js} +10 -10
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-LtbLlrcj.js → ComplexSelector-Dv44FFhN.js} +1 -1
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DVQl0xL5.js → ContextMenu-BeJO5HYx.js} +4 -369
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-zm8sNc0t.js → DateInput-D4XFAEMp.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DlVFzrf7.js → DateRangeInput-Cp6AZfew.js} +2 -2
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-C7Z-p6Yd.js → DateTimeInput-B6MPPp76.js} +3 -3
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BoZChdev.js → DropdownMenu--lnUeJEG.js} +3 -3
- package/dist/{DropdownMenu-u1psFjis.js → DropdownMenu-6E9jFdFe.js} +4 -4
- package/dist/{DropdownMenuRadioItem.vue-uVM0FD2f.d.ts → DropdownMenuRadioItem.vue-CXEURBcq.d.ts} +1 -1
- 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-QdlZn7qK.js → FileInput-DuNwdbAo.js} +1 -1
- 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/Indicator/index.d.ts +2 -2
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/Item-DrYJL1TG.js +590 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-BSzfqZ-u.js → Lightbox-Br3o0SyQ.js} +1 -1
- 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-B6tSqenv.js → Markdown-Bz0R3kNj.js} +274 -30
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-aN1tRn6W.js → MetadataList-CFaocx6j.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-fqcSafkc.js → MobileNavToggle-Dh3uLivq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B3brqdK_.js → MoreMenu-B95nRSe8.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BD5PMgez.js → MultiSelector-DuF5TECE.js} +4 -4
- package/dist/{NavDisclosure-DbYLDXK0.js → NavDisclosure-C6sPZ89n.js} +4 -1
- package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
- package/dist/NavItem/index.d.ts +1 -1
- 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-DrwIMHKO.js → NavMenuItem-E7S8gBh-.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CBeU4lEl.js → NumberInput-B4IL3s_8.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline--HVMSB6i.js → Outline-DBUuchi9.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-FMh7r-r_.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-DlIvESjx.js → Pagination-CNe9F6Fl.js} +181 -45
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CMG7Rb69.js → PowerSearch-C6U8Sq1Y.js} +13 -13
- 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/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-CXpvj1TZ.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 +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-BpPnuWH3.js → Selector-5N-hq2nF.js} +3 -3
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-D4TupqgE.js → SideNav-CT9lfspi.js} +225 -229
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-H-6-T5Ps.js → Stepper-BqhVCgC-.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-nqA_njNz.js → Table-CsdH8fCB.js} +4 -4
- 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 -3
- package/dist/Theme/index.js +2 -2
- package/dist/Theme-CtaUWo4g.js +1246 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CXb3m_Hv.js → Thumbnail-BnQwX1cQ.js} +2 -2
- package/dist/{TimeField-B3cndWb0.js → TimeField-Biiuv0hB.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BHQ_LKGm.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-Cfuxbb3i.js → Timestamp-D7bd_nF3.js} +2 -2
- 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-CdVLH0_H.js → Token-D2GsI_Ei.js} +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DlD-S_8-.js → Tokenizer-rwzamZg4.js} +3 -3
- 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-DzV874G7.js → TopNav-arWFLTBM.js} +112 -42
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DEwvlZRV.js → TreeList-C9xvMpJZ.js} +1 -1
- 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/composables/index.d.ts +2 -2
- package/dist/composables/index.js +4 -4
- package/dist/composables-CWw6t-RJ.js +520 -0
- package/dist/{context-DmOLCubj.js → context-CPh7kE-a.js} +58 -10
- package/dist/{index-BRfR0lhb.d.ts → index-12QYAbiz.d.ts} +1 -1
- package/dist/{index-D1Twv_fL.d.ts → index-4TRnFGxv.d.ts} +6 -6
- package/dist/{index-BTAgQRP0.d.ts → index-B9rqmYxh.d.ts} +150 -62
- package/dist/index-BBtJt5_A.d.ts +26 -0
- package/dist/{index-Ch6BbxCP.d.ts → index-BH9PzQ1F.d.ts} +13 -8
- package/dist/{index-C2sfHfBw.d.ts → index-BK9T1TPZ.d.ts} +4 -4
- package/dist/{index-D_UEJIU5.d.ts → index-BPwD6aBv.d.ts} +1 -1
- package/dist/{index-B1x05arQ.d.ts → index-BlOIC_AM.d.ts} +1 -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-MPcg1Pm4.d.ts → index-BpH4wvsg.d.ts} +2 -2
- package/dist/{index-BMn9ghAX.d.ts → index-C1HIqW_H.d.ts} +2 -2
- package/dist/{index-LIyvJTW3.d.ts → index-C3GaPqvJ.d.ts} +84 -8
- package/dist/{index-DkVEBdWa.d.ts → index-CB9Srua5.d.ts} +1 -1
- package/dist/{index-C8wDPDcP.d.ts → index-CLmKfnqf.d.ts} +49 -7
- package/dist/{index-DMQG6kdM.d.ts → index-CPwzSbQQ.d.ts} +2 -2
- package/dist/{index-DAiGhkNZ.d.ts → index-D4I_obqR.d.ts} +1 -1
- package/dist/{index-foQMNKZO.d.ts → index-D5N9ikrS.d.ts} +48 -2
- package/dist/{index-D8o50qOE.d.ts → index-DFbvnBlf.d.ts} +31 -2
- package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
- package/dist/{index-ViSV0RBx.d.ts → index-DjMwF8ET.d.ts} +11 -1
- package/dist/{index-nCEmW6wa.d.ts → index-DtePJ_w_.d.ts} +1 -1
- package/dist/index-DxR1FChm.d.ts +158 -0
- package/dist/{index-f4NGT-e2.d.ts → index-EFqQF2Bx.d.ts} +1 -1
- package/dist/{index-BB5yVIN-.d.ts → index-JL4auphT.d.ts} +2 -2
- package/dist/{index-B9f1rUEv.d.ts → index-XuAAcYiP.d.ts} +1 -1
- 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-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
- package/dist/{index-DxsKyAxq.d.ts → index-vizlhXVs.d.ts} +131 -2
- package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
- package/dist/index.d.ts +80 -79
- package/dist/index.js +118 -115
- 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-DN0HeRRB.js → searchResultMessage-CCnq-_ce.js} +1 -1
- package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
- package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
- 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/{useMenuDrillIn-OaEwjK44.js → useMenuDrillIn-BgjJcY3K.js} +1 -1
- package/dist/useMenuPress-DUmEy4TB.js +425 -0
- package/dist/{composables-DDI08XFF.js → useResizable-B3ahKLoZ.js} +73 -248
- 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 +4 -2
- package/styles/bottom-sheet.css +27 -0
- package/styles/code.css +62 -0
- package/styles/container-reveal.css +104 -0
- package/styles/heading.css +47 -0
- 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/pagination.css +30 -0
- package/styles/progress-bar.css +49 -0
- 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 +2 -0
- package/dist/Heading-Dugosn6j.js +0 -43
- package/dist/Item-C1z6gXn8.js +0 -289
- package/dist/Link-DqdQZ37C.js +0 -141
- package/dist/Text-BHVghsWo.js +0 -53
- package/dist/Theme-CejS9MHm.js +0 -447
- package/dist/Typeahead-DQ3tmqYe.js +0 -375
- package/dist/index-Bqb_Fyju.d.ts +0 -80
- package/dist/index-Dg3ZmwEg.d.ts +0 -75
- package/dist/locale-CCwVnyMZ.js +0 -42
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
- package/dist/types-jmqqnkKA.d.ts +0 -163
- package/dist/useHotkeys-dABSK1o9.js +0 -80
- package/dist/useLongPress-Cyxwa73s.js +0 -60
- package/dist/{index-BXkNZF3q.d.ts → index-CpiWVbRZ.d.ts} +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
2
|
import { t as useDismiss } from "./useDismiss-Cj8x_51F.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
4
|
+
import { a as useLongPress, i as useMenuNav, n as useMenuPress, r as isModifiedClick, t as resetMenuPress } from "./useMenuPress-DUmEy4TB.js";
|
|
4
5
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
5
|
-
import { a as useAstryxMessages } from "./context-DmOLCubj.js";
|
|
6
6
|
import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
|
|
7
|
-
import { t as _sfc_main$6 } from "./BottomSheet-
|
|
7
|
+
import { t as _sfc_main$6 } from "./BottomSheet-BV6vfgGu.js";
|
|
8
8
|
import { t as _sfc_main$7 } from "./Icon-bteSId7T.js";
|
|
9
|
-
import { c as contextMenuContextKey, d as useContextMenuSize, i as _sfc_main$8, l as submenuAncestorOpenKey, n as _sfc_main$10, r as _sfc_main$9, t as useMenuDrillIn, u as useContextMenu } from "./useMenuDrillIn-
|
|
9
|
+
import { c as contextMenuContextKey, d as useContextMenuSize, i as _sfc_main$8, l as submenuAncestorOpenKey, n as _sfc_main$10, r as _sfc_main$9, t as useMenuDrillIn, u as useContextMenu } from "./useMenuDrillIn-BgjJcY3K.js";
|
|
10
10
|
import { t as _sfc_main$11 } from "./Divider-BtwnL18I.js";
|
|
11
11
|
import { t as _sfc_main$12 } from "./Spinner-9cYUCnDy.js";
|
|
12
12
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
@@ -51,222 +51,6 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
|
-
//#region src/ContextMenu/menuNav.ts
|
|
55
|
-
/**
|
|
56
|
-
* Roles a menu row can carry. The selectable roles sit alongside the plain
|
|
57
|
-
* one so every row is reachable by arrow keys, typeahead, and Enter/Space.
|
|
58
|
-
*/
|
|
59
|
-
const MENU_ITEM_ROLES = /* @__PURE__ */ new Set([
|
|
60
|
-
"menuitem",
|
|
61
|
-
"menuitemradio",
|
|
62
|
-
"menuitemcheckbox"
|
|
63
|
-
]);
|
|
64
|
-
/** Selector for the activatable rows of one menu level. */
|
|
65
|
-
const MENU_ITEM_SELECTOR = [...MENU_ITEM_ROLES].map((role) => `[role="${role}"]:not([aria-disabled="true"])`).join(",");
|
|
66
|
-
/** Selector for any menu level, used to scope a level's rows and key events. */
|
|
67
|
-
const MENU_BOUNDARY_SELECTOR = "[role=\"menu\"]";
|
|
68
|
-
/**
|
|
69
|
-
* Whether a click carries a modifier or a non-primary button. On a row that is
|
|
70
|
-
* a link the browser gives such a click a meaning of its own, which the row
|
|
71
|
-
* must leave alone.
|
|
72
|
-
*/
|
|
73
|
-
function isModifiedClick(event) {
|
|
74
|
-
return event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || (event.button ?? 0) !== 0;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Activate a row from the keyboard: a synthesized click that carries the key's
|
|
78
|
-
* modifiers, so a modified Enter on a link row opens the way a modified click
|
|
79
|
-
* would. `detail` stays 0, the mark of a non-pointer activation.
|
|
80
|
-
*/
|
|
81
|
-
function activateMenuItem(row, key) {
|
|
82
|
-
row.dispatchEvent(new MouseEvent("click", {
|
|
83
|
-
altKey: key.altKey,
|
|
84
|
-
bubbles: true,
|
|
85
|
-
cancelable: true,
|
|
86
|
-
composed: true,
|
|
87
|
-
ctrlKey: key.ctrlKey,
|
|
88
|
-
metaKey: key.metaKey,
|
|
89
|
-
shiftKey: key.shiftKey
|
|
90
|
-
}));
|
|
91
|
-
}
|
|
92
|
-
function isDisabledRow(row) {
|
|
93
|
-
return row.getAttribute("aria-disabled") === "true" || row.hasAttribute("disabled");
|
|
94
|
-
}
|
|
95
|
-
function isHiddenWithin(row, container) {
|
|
96
|
-
let current = row;
|
|
97
|
-
while (current != null && current !== container) {
|
|
98
|
-
if (current.hidden || current.getAttribute("aria-hidden") === "true") return true;
|
|
99
|
-
current = current.parentElement;
|
|
100
|
-
}
|
|
101
|
-
return false;
|
|
102
|
-
}
|
|
103
|
-
const TYPEAHEAD_RESET_MS = 750;
|
|
104
|
-
/**
|
|
105
|
-
* Roving focus, typeahead, and activation for one menu level.
|
|
106
|
-
*
|
|
107
|
-
* Both the menu panel and every submenu flyout own one of these, so a nested
|
|
108
|
-
* level keeps its own highlight, its own typeahead buffer, and its own keys
|
|
109
|
-
* without coordinating with its parent.
|
|
110
|
-
*/
|
|
111
|
-
function useMenuNav(options) {
|
|
112
|
-
const { menuRef, onClose } = options;
|
|
113
|
-
let typeaheadBuffer = "";
|
|
114
|
-
let typeaheadTimer;
|
|
115
|
-
function resetTypeahead() {
|
|
116
|
-
typeaheadBuffer = "";
|
|
117
|
-
if (typeaheadTimer != null) {
|
|
118
|
-
clearTimeout(typeaheadTimer);
|
|
119
|
-
typeaheadTimer = void 0;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
function getItems() {
|
|
123
|
-
const menu = menuRef.value;
|
|
124
|
-
if (menu == null) return [];
|
|
125
|
-
return Array.from(menu.querySelectorAll(MENU_ITEM_SELECTOR)).filter((row) => !isHiddenWithin(row, menu)).filter((row) => row.closest(MENU_BOUNDARY_SELECTOR) === menu);
|
|
126
|
-
}
|
|
127
|
-
function ownsEvent(event) {
|
|
128
|
-
const menu = menuRef.value;
|
|
129
|
-
const target = event.target;
|
|
130
|
-
if (menu == null || !(target instanceof Element)) return true;
|
|
131
|
-
return target.closest(MENU_BOUNDARY_SELECTOR) === menu;
|
|
132
|
-
}
|
|
133
|
-
function getCurrentIndex(items) {
|
|
134
|
-
const active = menuRef.value?.ownerDocument.activeElement ?? null;
|
|
135
|
-
return items.findIndex((row) => row === active || row.contains(active));
|
|
136
|
-
}
|
|
137
|
-
function findEnabledIndex(items, start, step, wrap) {
|
|
138
|
-
const count = items.length;
|
|
139
|
-
if (count === 0) return -1;
|
|
140
|
-
let index = start;
|
|
141
|
-
for (let i = 0; i < count; i++) {
|
|
142
|
-
if (index < 0 || index >= count) {
|
|
143
|
-
if (!wrap) return -1;
|
|
144
|
-
index = (index + count) % count;
|
|
145
|
-
}
|
|
146
|
-
const row = items[index];
|
|
147
|
-
if (row != null && !isDisabledRow(row)) return index;
|
|
148
|
-
index += step;
|
|
149
|
-
}
|
|
150
|
-
return -1;
|
|
151
|
-
}
|
|
152
|
-
function focusIndex(items, index) {
|
|
153
|
-
const row = items[index];
|
|
154
|
-
if (row == null) return false;
|
|
155
|
-
row.focus();
|
|
156
|
-
return true;
|
|
157
|
-
}
|
|
158
|
-
function focusFirst() {
|
|
159
|
-
const items = getItems();
|
|
160
|
-
return focusIndex(items, findEnabledIndex(items, 0, 1, false));
|
|
161
|
-
}
|
|
162
|
-
function focusLast() {
|
|
163
|
-
const items = getItems();
|
|
164
|
-
return focusIndex(items, findEnabledIndex(items, items.length - 1, -1, false));
|
|
165
|
-
}
|
|
166
|
-
function moveBy(direction) {
|
|
167
|
-
const items = getItems();
|
|
168
|
-
if (items.length === 0) return false;
|
|
169
|
-
const current = getCurrentIndex(items);
|
|
170
|
-
return focusIndex(items, findEnabledIndex(items, current === -1 ? direction === 1 ? 0 : items.length - 1 : current + direction, direction, true));
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* PageDown / PageUp move by the rows a viewport shows, never wrapping; in a
|
|
174
|
-
* menu that does not scroll they act as End and Home.
|
|
175
|
-
*/
|
|
176
|
-
function focusPage(direction) {
|
|
177
|
-
const menu = menuRef.value;
|
|
178
|
-
const all = getItems();
|
|
179
|
-
const active = all.map((row, index) => isDisabledRow(row) ? -1 : index).filter((index) => index !== -1);
|
|
180
|
-
if (menu == null || active.length === 0) return false;
|
|
181
|
-
if (menu.clientHeight === 0 || menu.scrollHeight <= menu.clientHeight) return direction === 1 ? focusLast() : focusFirst();
|
|
182
|
-
const rowHeight = all[active[0]]?.getBoundingClientRect().height ?? 0;
|
|
183
|
-
const perPage = rowHeight > 0 ? Math.max(1, Math.floor(menu.clientHeight / rowHeight)) : active.length;
|
|
184
|
-
const position = active.indexOf(getCurrentIndex(all));
|
|
185
|
-
const from = position === -1 ? direction === 1 ? -1 : active.length : position;
|
|
186
|
-
return focusIndex(all, active[Math.max(0, Math.min(active.length - 1, from + direction * perPage))]);
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Typeahead over the rows' label elements. Repeated presses of the same
|
|
190
|
-
* character cycle through the matches instead of filtering deeper.
|
|
191
|
-
*/
|
|
192
|
-
function handleTypeahead(event) {
|
|
193
|
-
const isSpaceMidType = event.key === " " && typeaheadBuffer.length > 0;
|
|
194
|
-
if (!(event.key.length === 1 && !event.ctrlKey && !event.metaKey && event.key !== " ") && !isSpaceMidType) return false;
|
|
195
|
-
const items = getItems();
|
|
196
|
-
const labels = items.map((row) => row.querySelector(`[data-menu-item-label]`)?.textContent ?? row.textContent);
|
|
197
|
-
if (labels.length === 0) return false;
|
|
198
|
-
const char = event.key.toLowerCase();
|
|
199
|
-
const nextBuffer = typeaheadBuffer.length > 0 && [...typeaheadBuffer].every((entry) => entry === char) ? char : typeaheadBuffer + char;
|
|
200
|
-
typeaheadBuffer = nextBuffer;
|
|
201
|
-
if (typeaheadTimer != null) clearTimeout(typeaheadTimer);
|
|
202
|
-
typeaheadTimer = setTimeout(resetTypeahead, TYPEAHEAD_RESET_MS);
|
|
203
|
-
const current = getCurrentIndex(items);
|
|
204
|
-
const hasCurrent = current >= 0;
|
|
205
|
-
const start = hasCurrent ? current : 0;
|
|
206
|
-
const offset = hasCurrent && nextBuffer.length === 1 ? 1 : 0;
|
|
207
|
-
for (let i = 0; i < labels.length; i++) {
|
|
208
|
-
const index = (start + offset + i + labels.length) % labels.length;
|
|
209
|
-
if (isDisabledRow(items[index])) continue;
|
|
210
|
-
const label = labels[index];
|
|
211
|
-
if (label != null && label.trim().toLowerCase().startsWith(nextBuffer)) {
|
|
212
|
-
focusIndex(items, index);
|
|
213
|
-
return true;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
return true;
|
|
217
|
-
}
|
|
218
|
-
function handleKeyDown(event) {
|
|
219
|
-
if (event.defaultPrevented || event.isComposing || event.ctrlKey || event.metaKey || event.altKey) return;
|
|
220
|
-
if (!ownsEvent(event)) return;
|
|
221
|
-
if (event.key === "Enter" || event.key === " ") {
|
|
222
|
-
event.preventDefault();
|
|
223
|
-
if (event.repeat) return;
|
|
224
|
-
const active = menuRef.value?.ownerDocument.activeElement;
|
|
225
|
-
if (active instanceof HTMLElement && MENU_ITEM_ROLES.has(active.getAttribute("role") ?? "")) activateMenuItem(active, event);
|
|
226
|
-
return;
|
|
227
|
-
}
|
|
228
|
-
if (event.key === "Tab") {
|
|
229
|
-
onClose("tab");
|
|
230
|
-
return;
|
|
231
|
-
}
|
|
232
|
-
if (event.key === "Escape") {
|
|
233
|
-
event.preventDefault();
|
|
234
|
-
onClose("escape");
|
|
235
|
-
return;
|
|
236
|
-
}
|
|
237
|
-
if (handleTypeahead(event)) {
|
|
238
|
-
event.preventDefault();
|
|
239
|
-
return;
|
|
240
|
-
}
|
|
241
|
-
if (event.key === "ArrowDown" && moveBy(1)) {
|
|
242
|
-
event.preventDefault();
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
if (event.key === "ArrowUp" && moveBy(-1)) {
|
|
246
|
-
event.preventDefault();
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
if (event.key === "Home" && focusFirst()) {
|
|
250
|
-
event.preventDefault();
|
|
251
|
-
return;
|
|
252
|
-
}
|
|
253
|
-
if (event.key === "End" && focusLast()) {
|
|
254
|
-
event.preventDefault();
|
|
255
|
-
return;
|
|
256
|
-
}
|
|
257
|
-
if (event.key === "PageDown" && focusPage(1)) {
|
|
258
|
-
event.preventDefault();
|
|
259
|
-
return;
|
|
260
|
-
}
|
|
261
|
-
if (event.key === "PageUp" && focusPage(-1)) event.preventDefault();
|
|
262
|
-
}
|
|
263
|
-
return {
|
|
264
|
-
focusFirst,
|
|
265
|
-
handleKeyDown,
|
|
266
|
-
resetTypeahead
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
//#endregion
|
|
270
54
|
//#region src/ContextMenu/ContextMenuItem.vue
|
|
271
55
|
const _hoisted_1$2 = {
|
|
272
56
|
key: 0,
|
|
@@ -1046,155 +830,6 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
1046
830
|
}
|
|
1047
831
|
});
|
|
1048
832
|
//#endregion
|
|
1049
|
-
//#region src/ContextMenu/useMenuPress.ts
|
|
1050
|
-
/** How long after a tracked release the browser's own click is still swallowed. */
|
|
1051
|
-
const STRAY_CLICK_MS = 400;
|
|
1052
|
-
let swallower = null;
|
|
1053
|
-
function disarmStrayClick() {
|
|
1054
|
-
if (swallower == null) return;
|
|
1055
|
-
swallower.isArmed = false;
|
|
1056
|
-
if (swallower.timer != null) {
|
|
1057
|
-
clearTimeout(swallower.timer);
|
|
1058
|
-
swallower.timer = null;
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
function onWindowClickCapture(event) {
|
|
1062
|
-
if (swallower == null || !swallower.isArmed) return;
|
|
1063
|
-
if (event.detail === 0) return;
|
|
1064
|
-
event.preventDefault();
|
|
1065
|
-
event.stopImmediatePropagation();
|
|
1066
|
-
disarmStrayClick();
|
|
1067
|
-
}
|
|
1068
|
-
/**
|
|
1069
|
-
* Swallow the browser's compatibility click for a gesture the press model
|
|
1070
|
-
* already acted on. The listener sits on the window in the capture phase, so
|
|
1071
|
-
* it runs ahead of any listener the application or the row itself installed.
|
|
1072
|
-
*/
|
|
1073
|
-
function armStrayClick(doc) {
|
|
1074
|
-
const view = doc.defaultView;
|
|
1075
|
-
if (view == null) return;
|
|
1076
|
-
if (swallower == null || swallower.doc !== doc) {
|
|
1077
|
-
if (swallower != null) {
|
|
1078
|
-
swallower.doc.defaultView?.removeEventListener("click", onWindowClickCapture, true);
|
|
1079
|
-
swallower.doc.removeEventListener("pointerdown", disarmStrayClick, true);
|
|
1080
|
-
}
|
|
1081
|
-
view.addEventListener("click", onWindowClickCapture, true);
|
|
1082
|
-
doc.addEventListener("pointerdown", disarmStrayClick, true);
|
|
1083
|
-
swallower = {
|
|
1084
|
-
doc,
|
|
1085
|
-
isArmed: false,
|
|
1086
|
-
timer: null
|
|
1087
|
-
};
|
|
1088
|
-
}
|
|
1089
|
-
disarmStrayClick();
|
|
1090
|
-
swallower.isArmed = true;
|
|
1091
|
-
swallower.timer = setTimeout(disarmStrayClick, STRAY_CLICK_MS);
|
|
1092
|
-
}
|
|
1093
|
-
/** Forget an armed swallower. Called when a surface unmounts and in tests. */
|
|
1094
|
-
function resetMenuPress() {
|
|
1095
|
-
disarmStrayClick();
|
|
1096
|
-
}
|
|
1097
|
-
/**
|
|
1098
|
-
* The press model of a painted menu surface.
|
|
1099
|
-
*
|
|
1100
|
-
* A finger's pointer events stay with the element it landed on, so the gesture
|
|
1101
|
-
* is tracked at the document level by `pointerId`:
|
|
1102
|
-
*
|
|
1103
|
-
* - The highlight follows the finger.
|
|
1104
|
-
* - The row under the RELEASE acts, the way its own click would, carrying the
|
|
1105
|
-
* release's modifiers; the browser's own click for that gesture is swallowed
|
|
1106
|
-
* so the row never acts twice.
|
|
1107
|
-
* - A finger released outside leaves the menu open; a mouse released outside
|
|
1108
|
-
* dismisses it.
|
|
1109
|
-
* - `pointercancel` and a second pointer end the gesture with nothing acting.
|
|
1110
|
-
*/
|
|
1111
|
-
function useMenuPress(options) {
|
|
1112
|
-
const { menuRef, isEnabled, onDismiss } = options;
|
|
1113
|
-
let trackedId = null;
|
|
1114
|
-
let trackedIsMouse = false;
|
|
1115
|
-
let highlighted = null;
|
|
1116
|
-
let doc = null;
|
|
1117
|
-
function isRowInsideMenu(row) {
|
|
1118
|
-
const menu = menuRef.value;
|
|
1119
|
-
return row instanceof HTMLElement && menu != null && menu.contains(row) && row.closest("[role=\"menu\"]") === menu;
|
|
1120
|
-
}
|
|
1121
|
-
function rowFromEvent(event) {
|
|
1122
|
-
const hit = doc?.elementFromPoint?.(event.clientX, event.clientY) ?? null;
|
|
1123
|
-
const fromPoint = hit instanceof Element ? hit.closest(MENU_ITEM_SELECTOR) : null;
|
|
1124
|
-
if (fromPoint != null && isRowInsideMenu(fromPoint)) return fromPoint;
|
|
1125
|
-
const target = event.target;
|
|
1126
|
-
const fromTarget = target instanceof Element ? target.closest(MENU_ITEM_SELECTOR) : null;
|
|
1127
|
-
return fromTarget != null && isRowInsideMenu(fromTarget) ? fromTarget : null;
|
|
1128
|
-
}
|
|
1129
|
-
function isEventInsideMenu(event) {
|
|
1130
|
-
const menu = menuRef.value;
|
|
1131
|
-
if (menu == null) return false;
|
|
1132
|
-
const hit = doc?.elementFromPoint?.(event.clientX, event.clientY) ?? null;
|
|
1133
|
-
if (hit instanceof Node && menu.contains(hit)) return true;
|
|
1134
|
-
const target = event.target;
|
|
1135
|
-
return target instanceof Node && menu.contains(target);
|
|
1136
|
-
}
|
|
1137
|
-
function highlight(row) {
|
|
1138
|
-
if (row === highlighted) return;
|
|
1139
|
-
highlighted = row;
|
|
1140
|
-
row?.focus({ preventScroll: true });
|
|
1141
|
-
}
|
|
1142
|
-
function onDocumentPointerMove(event) {
|
|
1143
|
-
if (event.pointerId !== trackedId) return;
|
|
1144
|
-
const row = rowFromEvent(event);
|
|
1145
|
-
if (row != null) highlight(row);
|
|
1146
|
-
}
|
|
1147
|
-
function onDocumentPointerUp(event) {
|
|
1148
|
-
if (event.pointerId !== trackedId) return;
|
|
1149
|
-
const row = rowFromEvent(event);
|
|
1150
|
-
endGesture();
|
|
1151
|
-
if (row == null) return;
|
|
1152
|
-
if (doc != null) armStrayClick(doc);
|
|
1153
|
-
activateMenuItem(row, event);
|
|
1154
|
-
}
|
|
1155
|
-
function onDocumentPointerCancel(event) {
|
|
1156
|
-
if (event.pointerId !== trackedId) return;
|
|
1157
|
-
endGesture();
|
|
1158
|
-
}
|
|
1159
|
-
function onDocumentMouseUp(event) {
|
|
1160
|
-
const isInside = isEventInsideMenu(event);
|
|
1161
|
-
endGesture();
|
|
1162
|
-
if (!isInside) onDismiss();
|
|
1163
|
-
}
|
|
1164
|
-
function endGesture() {
|
|
1165
|
-
const current = doc;
|
|
1166
|
-
if (current != null) {
|
|
1167
|
-
current.removeEventListener("pointermove", onDocumentPointerMove, true);
|
|
1168
|
-
current.removeEventListener("pointerup", onDocumentPointerUp, true);
|
|
1169
|
-
current.removeEventListener("pointercancel", onDocumentPointerCancel, true);
|
|
1170
|
-
current.removeEventListener("mouseup", onDocumentMouseUp, true);
|
|
1171
|
-
}
|
|
1172
|
-
trackedId = null;
|
|
1173
|
-
trackedIsMouse = false;
|
|
1174
|
-
highlighted = null;
|
|
1175
|
-
}
|
|
1176
|
-
function onPointerDown(event) {
|
|
1177
|
-
if (!isEnabled()) return;
|
|
1178
|
-
if (trackedId != null) endGesture();
|
|
1179
|
-
const target = event.target;
|
|
1180
|
-
const row = target instanceof Element ? target.closest(MENU_ITEM_SELECTOR) : null;
|
|
1181
|
-
if (row == null || !isRowInsideMenu(row)) return;
|
|
1182
|
-
highlighted = row;
|
|
1183
|
-
trackedId = event.pointerId;
|
|
1184
|
-
trackedIsMouse = event.pointerType === "mouse";
|
|
1185
|
-
doc = menuRef.value?.ownerDocument ?? null;
|
|
1186
|
-
if (trackedIsMouse) {
|
|
1187
|
-
doc?.addEventListener("mouseup", onDocumentMouseUp, true);
|
|
1188
|
-
return;
|
|
1189
|
-
}
|
|
1190
|
-
doc?.addEventListener("pointermove", onDocumentPointerMove, true);
|
|
1191
|
-
doc?.addEventListener("pointerup", onDocumentPointerUp, true);
|
|
1192
|
-
doc?.addEventListener("pointercancel", onDocumentPointerCancel, true);
|
|
1193
|
-
}
|
|
1194
|
-
onBeforeUnmount(endGesture);
|
|
1195
|
-
return { onPointerDown };
|
|
1196
|
-
}
|
|
1197
|
-
//#endregion
|
|
1198
833
|
//#region src/ContextMenu/ContextMenu.vue
|
|
1199
834
|
const _hoisted_1 = [
|
|
1200
835
|
"aria-label",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ar as
|
|
1
|
+
import { ar as DateInputEmits, cr as DateInputNativePicker, dr as DateInputSlots, fr as DateInputStatus, ir as _default, lr as DateInputPresentation, or as DateInputFormat, pr as DateInputStatusType, sr as DateInputFormatName, ur as DateInputProps } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { _default as DateInput, type DateInputEmits, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
|
package/dist/DateInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateInput-D4XFAEMp.js";
|
|
2
2
|
export { _sfc_main as DateInput };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
2
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "./useDatePresentation-C07PnOCw.js";
|
|
3
|
+
import { a as useAstryxLocale, o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
3
4
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
4
|
-
import { a as useAstryxMessages, i as useAstryxLocale } from "./context-DmOLCubj.js";
|
|
5
5
|
import { t as _sfc_main$2 } from "./FieldIcon--NTgW5IU.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./BottomSheet-
|
|
6
|
+
import { t as _sfc_main$3 } from "./BottomSheet-BV6vfgGu.js";
|
|
7
7
|
import { t as _sfc_main$4 } from "./Icon-bteSId7T.js";
|
|
8
|
-
import { n as isCalendarDateDisabled, r as toCalendarDate, t as _sfc_main$5 } from "./Calendar-
|
|
8
|
+
import { n as isCalendarDateDisabled, r as toCalendarDate, t as _sfc_main$5 } from "./Calendar-DmTeM7PO.js";
|
|
9
9
|
import { t as _sfc_main$6 } from "./Spinner-9cYUCnDy.js";
|
|
10
10
|
import { t as _sfc_main$7 } from "./Field-8zRxzDHE.js";
|
|
11
11
|
import { t as _sfc_main$8 } from "./Popover-D7zqpFwU.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as
|
|
1
|
+
import { $n as _default, er as DateRange, nr as DateRangeInputProps, rr as DateRangePreset, tr as DateRangeInputEmits } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateRangeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateRangeInput-Cp6AZfew.js";
|
|
2
2
|
export { _sfc_main as DateRangeInput };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, r as formatDateRange, s as orderRange, t as applyRangeClick } from "./useDateRange-CIXoE_8k.js";
|
|
2
|
+
import { a as useAstryxLocale, o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
3
|
+
import { a as weekdayNames, i as standaloneShortWeekdayNames, r as formatCalendarMonth } from "./locale-sLw5Caia.js";
|
|
2
4
|
import { a as todayISODate, n as buildMonthGrid, t as addMonths } from "./useMonthGrid-fGHSSrFc.js";
|
|
3
5
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
4
|
-
import { a as useAstryxMessages, i as useAstryxLocale } from "./context-DmOLCubj.js";
|
|
5
|
-
import { n as standaloneShortWeekdayNames, r as weekdayNames, t as formatCalendarMonth } from "./locale-CCwVnyMZ.js";
|
|
6
6
|
import { t as _sfc_main$2 } from "./FieldIcon--NTgW5IU.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
|
|
8
8
|
import { t as _sfc_main$4 } from "./Icon-bteSId7T.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qn as DateTimeInputSize, Xn as DateTimeInputEmits, Yn as _default, Zn as DateTimeInputProps } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateTimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateTimeInput-B6MPPp76.js";
|
|
2
2
|
export { _sfc_main as DateTimeInput };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
1
2
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./context-DmOLCubj.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./IconButton-BNQuz9W_.js";
|
|
5
5
|
import { t as _sfc_main$3 } from "./Spinner-9cYUCnDy.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./Field-8zRxzDHE.js";
|
|
7
|
-
import { t as _sfc_main$5 } from "./DateInput-
|
|
8
|
-
import { t as _sfc_main$6 } from "./TimeField-
|
|
7
|
+
import { t as _sfc_main$5 } from "./DateInput-D4XFAEMp.js";
|
|
8
|
+
import { t as _sfc_main$6 } from "./TimeField-Biiuv0hB.js";
|
|
9
9
|
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, mergeModels, openBlock, ref, unref, useId, useModel, watch, withCtx } from "vue";
|
|
10
10
|
import "../styles/date-time-input.css";
|
|
11
11
|
//#region src/DateTimeInput/DateTimeInput.vue
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as DropdownMenuSize, C as DropdownMenuRadioGroupEmits, D as DropdownMenuRadioItemSlots, E as DropdownMenuRadioItemProps, F as DropdownMenuSubMenuSlots, I as DropdownMenuTriggerProps, M as DropdownMenuSubMenuEmits, N as DropdownMenuSubMenuPresentation, O as DropdownMenuRadioOptionData, P as DropdownMenuSubMenuProps, S as DropdownMenuRadioData, T as DropdownMenuRadioGroupSlots, _ as DropdownMenuItemSlots, a as DropdownMenuCheckboxData, b as DropdownMenuPresentation, c as DropdownMenuCheckboxItemSlots, d as DropdownMenuEntry, f as DropdownMenuGroupProps, g as DropdownMenuItemProps, h as DropdownMenuItemEmits, i as DropdownMenuButtonProps, j as DropdownMenuSlots, k as DropdownMenuSection, l as DropdownMenuDividerData, m as DropdownMenuItemData, n as _default$5, o as DropdownMenuCheckboxItemEmits, p as DropdownMenuGroupSlots, r as _default$1, s as DropdownMenuCheckboxItemProps, t as _default$6, u as DropdownMenuEmits, v as DropdownMenuItemVariant, w as DropdownMenuRadioGroupProps, x as DropdownMenuProps, y as DropdownMenuOption } from "../DropdownMenuRadioItem.vue-
|
|
2
|
-
import { a as _default, c as useDropdownMenuContext, i as _default$2, l as useDropdownMenuRadioGroup, n as _default$4, o as DropdownMenuContextValue, r as _default$3, s as DropdownMenuRadioGroupContext, t as _default$7 } from "../index-
|
|
1
|
+
import { A as DropdownMenuSize, C as DropdownMenuRadioGroupEmits, D as DropdownMenuRadioItemSlots, E as DropdownMenuRadioItemProps, F as DropdownMenuSubMenuSlots, I as DropdownMenuTriggerProps, M as DropdownMenuSubMenuEmits, N as DropdownMenuSubMenuPresentation, O as DropdownMenuRadioOptionData, P as DropdownMenuSubMenuProps, S as DropdownMenuRadioData, T as DropdownMenuRadioGroupSlots, _ as DropdownMenuItemSlots, a as DropdownMenuCheckboxData, b as DropdownMenuPresentation, c as DropdownMenuCheckboxItemSlots, d as DropdownMenuEntry, f as DropdownMenuGroupProps, g as DropdownMenuItemProps, h as DropdownMenuItemEmits, i as DropdownMenuButtonProps, j as DropdownMenuSlots, k as DropdownMenuSection, l as DropdownMenuDividerData, m as DropdownMenuItemData, n as _default$5, o as DropdownMenuCheckboxItemEmits, p as DropdownMenuGroupSlots, r as _default$1, s as DropdownMenuCheckboxItemProps, t as _default$6, u as DropdownMenuEmits, v as DropdownMenuItemVariant, w as DropdownMenuRadioGroupProps, x as DropdownMenuProps, y as DropdownMenuOption } from "../DropdownMenuRadioItem.vue-CXEURBcq.js";
|
|
2
|
+
import { a as _default, c as useDropdownMenuContext, i as _default$2, l as useDropdownMenuRadioGroup, n as _default$4, o as DropdownMenuContextValue, r as _default$3, s as DropdownMenuRadioGroupContext, t as _default$7 } from "../index-12QYAbiz.js";
|
|
3
3
|
export { _default as DropdownMenu, type DropdownMenuButtonProps, type DropdownMenuCheckboxData, _default$1 as DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemEmits, type DropdownMenuCheckboxItemProps, type DropdownMenuCheckboxItemSlots, type DropdownMenuContextValue, _default$2 as DropdownMenuDivider, type DropdownMenuDividerData, type DropdownMenuEmits, type DropdownMenuEntry, _default$3 as DropdownMenuGroup, type DropdownMenuGroupProps, type DropdownMenuGroupSlots, _default$4 as DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuItemEmits, type DropdownMenuItemProps, type DropdownMenuItemSlots, type DropdownMenuItemVariant, type DropdownMenuOption, type DropdownMenuPresentation, type DropdownMenuProps, type DropdownMenuRadioData, _default$5 as DropdownMenuRadioGroup, type DropdownMenuRadioGroupContext, type DropdownMenuRadioGroupEmits, type DropdownMenuRadioGroupProps, type DropdownMenuRadioGroupSlots, _default$6 as DropdownMenuRadioItem, type DropdownMenuRadioItemProps, type DropdownMenuRadioItemSlots, type DropdownMenuRadioOptionData, type DropdownMenuSection, type DropdownMenuSize, type DropdownMenuSlots, _default$7 as DropdownMenuSubMenu, type DropdownMenuSubMenuEmits, type DropdownMenuSubMenuPresentation, type DropdownMenuSubMenuProps, type DropdownMenuSubMenuSlots, type DropdownMenuTriggerProps, useDropdownMenuContext, useDropdownMenuRadioGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as _sfc_main$1, n as _sfc_main$6, o as useDropdownMenuContext, r as _sfc_main$5, s as useDropdownMenuRadioGroup } from "../useMenuDrillIn-
|
|
2
|
-
import { a as _sfc_main$2, i as _sfc_main$3, r as _sfc_main$4, t as _sfc_main } from "../DropdownMenu
|
|
3
|
-
import { t as _sfc_main$7 } from "../DropdownMenu-
|
|
1
|
+
import { i as _sfc_main$1, n as _sfc_main$6, o as useDropdownMenuContext, r as _sfc_main$5, s as useDropdownMenuRadioGroup } from "../useMenuDrillIn-BgjJcY3K.js";
|
|
2
|
+
import { a as _sfc_main$2, i as _sfc_main$3, r as _sfc_main$4, t as _sfc_main } from "../DropdownMenu--lnUeJEG.js";
|
|
3
|
+
import { t as _sfc_main$7 } from "../DropdownMenu-6E9jFdFe.js";
|
|
4
4
|
export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuCheckboxItem, _sfc_main$2 as DropdownMenuDivider, _sfc_main$3 as DropdownMenuGroup, _sfc_main$4 as DropdownMenuItem, _sfc_main$5 as DropdownMenuRadioGroup, _sfc_main$6 as DropdownMenuRadioItem, _sfc_main$7 as DropdownMenuSubMenu, useDropdownMenuContext, useDropdownMenuRadioGroup };
|
|
@@ -4,10 +4,10 @@ import { t as useDismiss } from "./useDismiss-Cj8x_51F.js";
|
|
|
4
4
|
import { n as getFocusables } from "./focus-CpficIgf.js";
|
|
5
5
|
import { t as useTypeahead } from "./useTypeahead-PAK8lMYz.js";
|
|
6
6
|
import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
|
|
7
|
-
import { t as _sfc_main$6 } from "./BottomSheet-
|
|
7
|
+
import { t as _sfc_main$6 } from "./BottomSheet-BV6vfgGu.js";
|
|
8
8
|
import { t as _sfc_main$7 } from "./Icon-bteSId7T.js";
|
|
9
|
-
import { t as _sfc_main$8 } from "./Item-
|
|
10
|
-
import { a as dropdownMenuContextKey, i as _sfc_main$10, n as _sfc_main$9, o as useDropdownMenuContext, r as _sfc_main$11, t as useMenuDrillIn } from "./useMenuDrillIn-
|
|
9
|
+
import { t as _sfc_main$8 } from "./Item-DrYJL1TG.js";
|
|
10
|
+
import { a as dropdownMenuContextKey, i as _sfc_main$10, n as _sfc_main$9, o as useDropdownMenuContext, r as _sfc_main$11, t as useMenuDrillIn } from "./useMenuDrillIn-BgjJcY3K.js";
|
|
11
11
|
import { t as _sfc_main$12 } from "./Divider-BtwnL18I.js";
|
|
12
12
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, vShow, watch, withCtx, withDirectives } from "vue";
|
|
13
13
|
import "../styles/dropdown-menu.css";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as useDismiss } from "./useDismiss-Cj8x_51F.js";
|
|
2
|
-
import {
|
|
2
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
3
3
|
import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./Icon-bteSId7T.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./Item-
|
|
6
|
-
import { a as dropdownMenuContextKey, o as useDropdownMenuContext } from "./useMenuDrillIn-
|
|
7
|
-
import { n as useMenuFocus, o as MENU_ITEM_ROLES, r as _sfc_main$3, s as activateMenuItem } from "./DropdownMenu
|
|
5
|
+
import { t as _sfc_main$2 } from "./Item-DrYJL1TG.js";
|
|
6
|
+
import { a as dropdownMenuContextKey, o as useDropdownMenuContext } from "./useMenuDrillIn-BgjJcY3K.js";
|
|
7
|
+
import { n as useMenuFocus, o as MENU_ITEM_ROLES, r as _sfc_main$3, s as activateMenuItem } from "./DropdownMenu--lnUeJEG.js";
|
|
8
8
|
import { t as _sfc_main$4 } from "./Spinner-9cYUCnDy.js";
|
|
9
9
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
10
10
|
import { Fragment, Teleport, computed, createBlock, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeStyle, onBeforeUnmount, openBlock, provide, ref, renderSlot, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
package/dist/{DropdownMenuRadioItem.vue-uVM0FD2f.d.ts → DropdownMenuRadioItem.vue-CXEURBcq.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as ButtonProps } from "./types-WlmsNL1I.js";
|
|
2
2
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
3
|
-
import {
|
|
3
|
+
import { f as ItemTarget } from "./types-DGYHIu4I.js";
|
|
4
4
|
import { Component, VNodeChild } from "vue";
|
|
5
5
|
//#region src/DropdownMenu/types.d.ts
|
|
6
6
|
/** Size of the menu, derived from the trigger button's size. */
|
package/dist/EmptyState/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../EmptyState-
|
|
1
|
+
import { t as _sfc_main } from "../EmptyState-0RWymQUS.js";
|
|
2
2
|
export { _sfc_main as EmptyState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Heading-
|
|
2
|
-
import { t as _sfc_main$2 } from "./Text-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Heading-B9C3LZlS.js";
|
|
2
|
+
import { t as _sfc_main$2 } from "./Text-DIzZw6FA.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, renderSlot, toDisplayString, useTemplateRef, withCtx } from "vue";
|
|
4
4
|
import "../styles/empty-state.css";
|
|
5
5
|
//#region src/EmptyState/EmptyState.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gn as FileInputProps, Hn as _default, Jn as FileInputValue, Kn as FileInputSize, Un as FileInputEmits, Wn as FileInputMode, qn as FileInputStatus } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
|
package/dist/FileInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../FileInput-
|
|
1
|
+
import { t as _sfc_main } from "../FileInput-DuNwdbAo.js";
|
|
2
2
|
export { _sfc_main as FileInput };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
2
|
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
3
3
|
import { n as selectFiles, t as formatFileSize } from "./useFileSelection-BPtaegqK.js";
|
|
4
|
-
import {
|
|
4
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
5
5
|
import { t as _sfc_main$2 } from "./FieldIcon--NTgW5IU.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
|
|
7
7
|
import { t as _sfc_main$4 } from "./Icon-bteSId7T.js";
|
package/dist/Grid/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GridProps, c as GridSizeValue, d as GridSpanProps, f as GridSpanSlots, i as GridColumns, l as GridSlots, n as _default, o as GridRepeat, r as GridAlignment, s as GridResponsiveColumns, t as _default$1, u as GridSpanColumns } from "../index-
|
|
1
|
+
import { a as GridProps, c as GridSizeValue, d as GridSpanProps, f as GridSpanSlots, i as GridColumns, l as GridSlots, n as _default, o as GridRepeat, r as GridAlignment, s as GridResponsiveColumns, t as _default$1, u as GridSpanColumns } from "../index-c67ca7eJ.js";
|
|
2
2
|
export { _default as Grid, type GridAlignment, type GridColumns, type GridProps, type GridRepeat, type GridResponsiveColumns, type GridSizeValue, type GridSlots, _default$1 as GridSpan, type GridSpanColumns, type GridSpanProps, type GridSpanSlots };
|
package/dist/Heading/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { _default as Heading, type HeadingColor, type HeadingDisplay, type HeadingLevel, type HeadingProps, type HeadingType, type HeadingWeight };
|
|
1
|
+
import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-eshFLli0.js";
|
|
2
|
+
export { _default as Heading, type HeadingColor, type HeadingDisplay, type HeadingJustify, type HeadingLevel, type HeadingProps, type HeadingTruncateTooltip, type HeadingType, type HeadingWeight, type HeadingWordBreak, type HeadingWrap };
|
package/dist/Heading/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Heading-
|
|
1
|
+
import { t as _sfc_main } from "../Heading-B9C3LZlS.js";
|
|
2
2
|
export { _sfc_main as Heading };
|