@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
package/dist/Thumbnail/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Thumbnail-
|
|
1
|
+
import { t as _sfc_main } from "../Thumbnail-BnQwX1cQ.js";
|
|
2
2
|
export { _sfc_main as Thumbnail };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./Tooltip-C2fh9anJ.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./IconButton-BNQuz9W_.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./Icon-bteSId7T.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./Spinner-9cYUCnDy.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as useCoarsePointer, i as parseDisplayTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-DWk6oTAZ.js";
|
|
2
|
-
import {
|
|
2
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.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 "./Icon-bteSId7T.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputProps, it as TimeInputEmits, ot as TimeInputSize, rt as _default } from "../index-
|
|
1
|
+
import { at as TimeInputProps, it as TimeInputEmits, ot as TimeInputSize, rt as _default } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
|
package/dist/TimeInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../TimeInput-C9gptCOK.js";
|
|
2
2
|
export { _sfc_main as TimeInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Field-8zRxzDHE.js";
|
|
2
|
-
import { t as _sfc_main$2 } from "./TimeField-
|
|
2
|
+
import { t as _sfc_main$2 } from "./TimeField-Biiuv0hB.js";
|
|
3
3
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, openBlock, useId, useModel, withCtx } from "vue";
|
|
4
4
|
//#region src/TimeInput/TimeInput.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
package/dist/Timer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-
|
|
1
|
+
import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-bvr3WHvs.js";
|
|
2
2
|
export { _default as Timer, type TimerColor, type TimerFormat, type TimerPresentation, type TimerProps, type TimerType, getPresentation };
|
package/dist/Timer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getPresentation, t as _sfc_main } from "../Timer-
|
|
1
|
+
import { n as getPresentation, t as _sfc_main } from "../Timer-kxzQx3tp.js";
|
|
2
2
|
export { _sfc_main as Timer, getPresentation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Text-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Text-DIzZw6FA.js";
|
|
2
2
|
import { computed, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, useTemplateRef, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/timer.css";
|
|
4
4
|
//#region src/Timer/format.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as formatRelativeTime, G as _default, J as TimestampProps, K as TimestampColor, Q as formatTooltipLines, X as TimestampTooltipFormat, Y as TimestampTooltipEntry, Z as TimestampTooltipLine, et as FormatInstantOptions, nt as formatInstant, q as TimestampFormat, tt as InstantFormat } from "../index-
|
|
1
|
+
import { $ as formatRelativeTime, G as _default, J as TimestampProps, K as TimestampColor, Q as formatTooltipLines, X as TimestampTooltipFormat, Y as TimestampTooltipEntry, Z as TimestampTooltipLine, et as FormatInstantOptions, nt as formatInstant, q as TimestampFormat, tt as InstantFormat } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
package/dist/Timestamp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
|
|
2
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-
|
|
2
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-D7bd_nF3.js";
|
|
3
3
|
export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as useAstryxLocale, o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
2
|
+
import { t as _sfc_main$2 } from "./Text-DIzZw6FA.js";
|
|
3
3
|
import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
|
|
4
4
|
import { t as _sfc_main$4 } from "./Icon-bteSId7T.js";
|
|
5
5
|
import { t as _sfc_main$5 } from "./HoverCard-EhbWaGOW.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonElevation, B as ToggleButtonGroupValue, D as _default$1, F as ToggleButtonGroupOrientation, H as ToggleButtonProps, I as ToggleButtonGroupProps, L as ToggleButtonGroupSingleProps, M as ToggleButtonGroupBaseProps, N as ToggleButtonGroupEmits, O as _default, P as ToggleButtonGroupMultipleProps, R as ToggleButtonGroupSlots, U as ToggleButtonSize, V as ToggleButtonPressedChangeHandler, W as ToggleButtonSlots, j as ToggleButtonEmits, k as ToggleButtonChangeAction, z as ToggleButtonGroupType } from "../index-
|
|
1
|
+
import { A as ToggleButtonElevation, B as ToggleButtonGroupValue, D as _default$1, F as ToggleButtonGroupOrientation, H as ToggleButtonProps, I as ToggleButtonGroupProps, L as ToggleButtonGroupSingleProps, M as ToggleButtonGroupBaseProps, N as ToggleButtonGroupEmits, O as _default, P as ToggleButtonGroupMultipleProps, R as ToggleButtonGroupSlots, U as ToggleButtonSize, V as ToggleButtonPressedChangeHandler, W as ToggleButtonSlots, j as ToggleButtonEmits, k as ToggleButtonChangeAction, z as ToggleButtonGroupType } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
package/dist/Token/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-CpiWVbRZ.js";
|
|
2
2
|
export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
|
package/dist/Token/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
2
2
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useAttrs, withCtx } from "vue";
|
|
3
3
|
import "../styles/visually-hidden-utility.css";
|
|
4
4
|
import "../styles/token.css";
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-rwzamZg4.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
2
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
2
3
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
3
|
-
import { a as useAstryxMessages } from "./context-DmOLCubj.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./Field-8zRxzDHE.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./Token-
|
|
5
|
+
import { t as _sfc_main$2 } from "./Token-D2GsI_Ei.js";
|
|
6
6
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-BN9LQnon.js";
|
|
7
|
-
import {
|
|
7
|
+
import { r as useTypeaheadMenu, t as _sfc_main$3 } from "./TypeaheadMenu-BEObzonz.js";
|
|
8
8
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
9
9
|
import "../styles/visually-hidden-utility.css";
|
|
10
10
|
import "../styles/typeahead.css";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-
|
|
1
|
+
import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipProps, i as TooltipPlacement, n as TooltipAlignment, o as TooltipTouchTrigger, r as TooltipFocusTrigger, t as _default } from "../index-
|
|
1
|
+
import { a as TooltipProps, i as TooltipPlacement, n as TooltipAlignment, o as TooltipTouchTrigger, r as TooltipFocusTrigger, t as _default } from "../index-Blm197N_.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger };
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tooltip-
|
|
1
|
+
import { t as _sfc_main } from "../Tooltip-C2fh9anJ.js";
|
|
2
2
|
export { _sfc_main as Tooltip };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as isFocusable } from "./focus-CpficIgf.js";
|
|
2
2
|
import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
|
|
3
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent,
|
|
3
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, useId, vShow, watch, withDirectives } from "vue";
|
|
4
4
|
import "../styles/tooltip.css";
|
|
5
5
|
//#region src/Tooltip/Tooltip.vue
|
|
6
6
|
const _hoisted_1 = ["data-placement"];
|
|
@@ -8,6 +8,7 @@ const HOVER_BRIDGE_DELAY = 100;
|
|
|
8
8
|
const GAP = 4;
|
|
9
9
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
10
10
|
name: "AstryxTooltip",
|
|
11
|
+
inheritAttrs: false,
|
|
11
12
|
__name: "Tooltip",
|
|
12
13
|
props: {
|
|
13
14
|
content: { default: "" },
|
|
@@ -32,12 +33,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
32
33
|
isDefaultOpen: {
|
|
33
34
|
type: Boolean,
|
|
34
35
|
default: false
|
|
36
|
+
},
|
|
37
|
+
anchorsOnSelf: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
35
40
|
}
|
|
36
41
|
},
|
|
37
42
|
emits: ["openChange"],
|
|
38
43
|
setup(__props, { emit: __emit }) {
|
|
39
44
|
const props = __props;
|
|
40
45
|
const emit = __emit;
|
|
46
|
+
const attrs = useAttrs();
|
|
47
|
+
const instance = getCurrentInstance();
|
|
41
48
|
const ACTION_TAGS = [
|
|
42
49
|
"A",
|
|
43
50
|
"BUTTON",
|
|
@@ -165,6 +172,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
165
172
|
function resolveTrigger() {
|
|
166
173
|
const wrapper = wrapperRef.value;
|
|
167
174
|
if (!wrapper) return null;
|
|
175
|
+
if (props.anchorsOnSelf) {
|
|
176
|
+
isTextTrigger.value = false;
|
|
177
|
+
return wrapper;
|
|
178
|
+
}
|
|
168
179
|
const child = wrapper.firstElementChild;
|
|
169
180
|
isTextTrigger.value = child == null && (wrapper.textContent ?? "").trim() !== "";
|
|
170
181
|
if (child) return child;
|
|
@@ -175,6 +186,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
175
186
|
return null;
|
|
176
187
|
}
|
|
177
188
|
function bindTrigger() {
|
|
189
|
+
if (props.anchorsOnSelf) {
|
|
190
|
+
const el = instance?.vnode.el;
|
|
191
|
+
wrapperRef.value = el instanceof HTMLElement ? el : null;
|
|
192
|
+
}
|
|
178
193
|
const next = resolveTrigger();
|
|
179
194
|
if (next === trigger) return;
|
|
180
195
|
unbindTrigger();
|
|
@@ -231,14 +246,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
231
246
|
document.removeEventListener("keydown", onKeydown);
|
|
232
247
|
});
|
|
233
248
|
return (_ctx, _cache) => {
|
|
234
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
249
|
+
return openBlock(), createElementBlock(Fragment, null, [!__props.anchorsOnSelf ? (openBlock(), createElementBlock("span", mergeProps({
|
|
250
|
+
key: 0,
|
|
235
251
|
ref_key: "wrapperRef",
|
|
236
|
-
ref: wrapperRef
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}, [renderSlot(_ctx.$slots, "default")], 2), (openBlock(), createBlock(Teleport, { to: "body" }, [createCommentVNode(" eslint-disable-next-line vue-a11y/mouse-events-have-key-events, vue-a11y/no-static-element-interactions -- 气泡上的鼠标事件仅用于指针移入气泡时保持显示;键盘焦点由触发元素的 focusin / focusout 处理。 "), withDirectives(createElementVNode("div", {
|
|
252
|
+
ref: wrapperRef
|
|
253
|
+
}, unref(attrs), { class: ["astryx-tooltip-trigger", {
|
|
254
|
+
"astryx-tooltip-trigger--text": isTextTrigger.value,
|
|
255
|
+
"astryx-tooltip-trigger--indicated": showIndication.value
|
|
256
|
+
}] }), [renderSlot(_ctx.$slots, "default")], 16)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1), (openBlock(), createBlock(Teleport, { to: "body" }, [createCommentVNode(" eslint-disable-next-line vue-a11y/mouse-events-have-key-events, vue-a11y/no-static-element-interactions -- 气泡上的鼠标事件仅用于指针移入气泡时保持显示;键盘焦点由触发元素的 focusin / focusout 处理。 "), withDirectives(createElementVNode("div", {
|
|
242
257
|
id: tooltipId,
|
|
243
258
|
ref_key: "bubbleRef",
|
|
244
259
|
ref: bubbleRef,
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-
|
|
1
|
+
import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-B9rqmYxh.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-arWFLTBM.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
2
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
3
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
3
4
|
import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as _sfc_main$8, r as mobileNavKey, t as _sfc_main$7 } from "./MobileNavToggle-fqcSafkc.js";
|
|
5
|
+
import { n as _sfc_main$8, r as mobileNavKey, t as _sfc_main$7 } from "./MobileNavToggle-Dh3uLivq.js";
|
|
6
6
|
import { t as _sfc_main$9 } from "./Icon-bteSId7T.js";
|
|
7
7
|
import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
|
|
8
8
|
import { t as _sfc_main$10 } from "./NavItem-FFOisITc.js";
|
|
9
|
-
import { n as navMenuCloseKey, t as _sfc_main$11 } from "./NavDisclosure-
|
|
10
|
-
import { n as _sfc_main$13, t as _sfc_main$12 } from "./NavMenuItem-
|
|
11
|
-
import {
|
|
9
|
+
import { n as navMenuCloseKey, t as _sfc_main$11 } from "./NavDisclosure-C6sPZ89n.js";
|
|
10
|
+
import { n as _sfc_main$13, t as _sfc_main$12 } from "./NavMenuItem-E7S8gBh-.js";
|
|
11
|
+
import { t as _sfc_main$14 } from "./NavHeadingSurface-Cb3x9iDx.js";
|
|
12
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, normalizeClass, normalizeProps, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, withCtx, withDirectives, withModifiers } from "vue";
|
|
12
13
|
import "../styles/top-nav.css";
|
|
13
14
|
//#region src/TopNav/TopNav.vue
|
|
14
|
-
const _hoisted_1$
|
|
15
|
-
const _hoisted_2$
|
|
16
|
-
const _hoisted_3$
|
|
15
|
+
const _hoisted_1$4 = ["aria-label"];
|
|
16
|
+
const _hoisted_2$4 = { class: "astryx-top-nav__start" };
|
|
17
|
+
const _hoisted_3$4 = {
|
|
17
18
|
key: 0,
|
|
18
19
|
class: "astryx-top-nav__heading"
|
|
19
20
|
};
|
|
20
|
-
const _hoisted_4$
|
|
21
|
+
const _hoisted_4$4 = {
|
|
21
22
|
key: 1,
|
|
22
23
|
class: "astryx-top-nav__items"
|
|
23
24
|
};
|
|
@@ -60,7 +61,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
60
61
|
class: normalizeClass(["astryx-top-nav", { "astryx-top-nav--centered": hasCenter.value && !isCompact.value }]),
|
|
61
62
|
"aria-label": label.value
|
|
62
63
|
}, [
|
|
63
|
-
createElementVNode("div", _hoisted_2$
|
|
64
|
+
createElementVNode("div", _hoisted_2$4, [unref(slots).heading ? (openBlock(), createElementBlock("div", _hoisted_3$4, [renderSlot(_ctx.$slots, "heading")])) : createCommentVNode("v-if", true), !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [renderSlot(_ctx.$slots, "start"), renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)]),
|
|
64
65
|
hasCenter.value && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_5$1, [renderSlot(_ctx.$slots, "center")])) : createCommentVNode("v-if", true),
|
|
65
66
|
createElementVNode("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "end"), showShellToggle.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
66
67
|
key: 0,
|
|
@@ -73,7 +74,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
73
74
|
"onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => mobileOpen.value = $event),
|
|
74
75
|
controls: drawerId
|
|
75
76
|
}, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])
|
|
76
|
-
], 10, _hoisted_1$
|
|
77
|
+
], 10, _hoisted_1$4),
|
|
77
78
|
shellCompact.value && hasDrawer.value ? (openBlock(), createBlock(Teleport, {
|
|
78
79
|
key: 0,
|
|
79
80
|
to: `#${unref(shell).mobileNavId}-items`
|
|
@@ -102,31 +103,61 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
102
103
|
});
|
|
103
104
|
//#endregion
|
|
104
105
|
//#region src/TopNav/TopNavHeading.vue
|
|
105
|
-
const _hoisted_1$4 = {
|
|
106
|
-
key: 0,
|
|
107
|
-
class: "astryx-top-nav-heading__icon"
|
|
108
|
-
};
|
|
109
|
-
const _hoisted_2$4 = { class: "astryx-top-nav-heading__title" };
|
|
110
106
|
const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
111
107
|
name: "AstryxTopNavHeading",
|
|
112
108
|
__name: "TopNavHeading",
|
|
113
109
|
props: {
|
|
114
110
|
heading: {},
|
|
115
111
|
href: {},
|
|
112
|
+
headingHref: {},
|
|
113
|
+
superheading: {},
|
|
114
|
+
superheadingHref: {},
|
|
115
|
+
subheading: {},
|
|
116
|
+
subheadingHref: {},
|
|
117
|
+
logoLabel: {},
|
|
116
118
|
as: {}
|
|
117
119
|
},
|
|
118
120
|
setup(__props) {
|
|
119
121
|
const props = __props;
|
|
120
|
-
const
|
|
122
|
+
const slots = useSlots();
|
|
123
|
+
const headingHref = computed(() => props.headingHref ?? props.href);
|
|
121
124
|
return (_ctx, _cache) => {
|
|
122
|
-
return openBlock(), createBlock(
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
125
|
+
return openBlock(), createBlock(_sfc_main$14, {
|
|
126
|
+
kind: "top",
|
|
127
|
+
as: __props.as,
|
|
128
|
+
heading: __props.heading,
|
|
129
|
+
"heading-href": headingHref.value,
|
|
130
|
+
"logo-label": __props.logoLabel,
|
|
131
|
+
subheading: __props.subheading,
|
|
132
|
+
"subheading-href": __props.subheadingHref,
|
|
133
|
+
superheading: __props.superheading,
|
|
134
|
+
"superheading-href": __props.superheadingHref
|
|
135
|
+
}, createSlots({ _: 2 }, [
|
|
136
|
+
unref(slots).logo || unref(slots).icon ? {
|
|
137
|
+
name: "icon",
|
|
138
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "logo"), !unref(slots).logo ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : createCommentVNode("v-if", true)]),
|
|
139
|
+
key: "0"
|
|
140
|
+
} : void 0,
|
|
141
|
+
unref(slots).end ? {
|
|
142
|
+
name: "end",
|
|
143
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "end")]),
|
|
144
|
+
key: "1"
|
|
145
|
+
} : void 0,
|
|
146
|
+
unref(slots).menu ? {
|
|
147
|
+
name: "menu",
|
|
148
|
+
fn: withCtx((scope) => [renderSlot(_ctx.$slots, "menu", normalizeProps(guardReactiveProps(scope)))]),
|
|
149
|
+
key: "2"
|
|
150
|
+
} : void 0
|
|
151
|
+
]), 1032, [
|
|
152
|
+
"as",
|
|
153
|
+
"heading",
|
|
154
|
+
"heading-href",
|
|
155
|
+
"logo-label",
|
|
156
|
+
"subheading",
|
|
157
|
+
"subheading-href",
|
|
158
|
+
"superheading",
|
|
159
|
+
"superheading-href"
|
|
160
|
+
]);
|
|
130
161
|
};
|
|
131
162
|
}
|
|
132
163
|
});
|
|
@@ -200,8 +231,8 @@ const _hoisted_1$3 = {
|
|
|
200
231
|
class: "astryx-top-nav-mega astryx-top-nav-mega--drawer"
|
|
201
232
|
};
|
|
202
233
|
const _hoisted_2$3 = ["aria-expanded"];
|
|
203
|
-
const _hoisted_3$
|
|
204
|
-
const _hoisted_4$
|
|
234
|
+
const _hoisted_3$3 = { class: "astryx-top-nav-mega__drawer" };
|
|
235
|
+
const _hoisted_4$3 = { class: "astryx-top-nav-mega__items" };
|
|
205
236
|
const _hoisted_5 = {
|
|
206
237
|
key: 0,
|
|
207
238
|
class: "astryx-top-nav-mega__featured"
|
|
@@ -247,7 +278,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
247
278
|
icon: "chevronDown",
|
|
248
279
|
size: "sm",
|
|
249
280
|
class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
|
|
250
|
-
}, null, 8, ["class"])], 8, _hoisted_2$3), withDirectives(createElementVNode("div", _hoisted_3$
|
|
281
|
+
}, null, 8, ["class"])], 8, _hoisted_2$3), withDirectives(createElementVNode("div", _hoisted_3$3, [createElementVNode("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$11, {
|
|
251
282
|
key: 1,
|
|
252
283
|
hover: "",
|
|
253
284
|
"panel-class": "astryx-top-nav-mega__panel",
|
|
@@ -291,8 +322,15 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
291
322
|
});
|
|
292
323
|
//#endregion
|
|
293
324
|
//#region src/TopNav/TopNavMegaMenuFeaturedCard.vue
|
|
294
|
-
const _hoisted_1$2 =
|
|
295
|
-
|
|
325
|
+
const _hoisted_1$2 = [
|
|
326
|
+
"src",
|
|
327
|
+
"alt",
|
|
328
|
+
"role",
|
|
329
|
+
"aria-hidden"
|
|
330
|
+
];
|
|
331
|
+
const _hoisted_2$2 = { class: "astryx-top-nav-mega-card__body" };
|
|
332
|
+
const _hoisted_3$2 = { class: "astryx-top-nav-mega-card__title" };
|
|
333
|
+
const _hoisted_4$2 = {
|
|
296
334
|
key: 0,
|
|
297
335
|
class: "astryx-top-nav-mega-card__description"
|
|
298
336
|
};
|
|
@@ -303,29 +341,61 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
303
341
|
title: {},
|
|
304
342
|
description: {},
|
|
305
343
|
href: {},
|
|
344
|
+
image: {},
|
|
345
|
+
imageAlt: {},
|
|
346
|
+
linkLabel: {},
|
|
347
|
+
linkHref: {},
|
|
306
348
|
as: {}
|
|
307
349
|
},
|
|
308
350
|
setup(__props) {
|
|
309
351
|
const props = __props;
|
|
310
352
|
const closeMenu = inject(navMenuCloseKey, void 0);
|
|
311
|
-
const
|
|
312
|
-
|
|
313
|
-
|
|
353
|
+
const ctaHref = computed(() => {
|
|
354
|
+
if (!props.linkLabel) return void 0;
|
|
355
|
+
return props.linkHref || props.href;
|
|
356
|
+
});
|
|
357
|
+
const wholeHref = computed(() => ctaHref.value ? void 0 : props.href);
|
|
358
|
+
const root = computed(() => wholeHref.value ? resolveNavRoot(wholeHref.value, false, props.as) : "div");
|
|
359
|
+
const ctaRoot = computed(() => ctaHref.value ? resolveNavRoot(ctaHref.value, false, props.as) : "span");
|
|
360
|
+
const imageIsDecorative = computed(() => props.image != null && !props.imageAlt);
|
|
361
|
+
function onNavigate() {
|
|
362
|
+
closeMenu?.();
|
|
314
363
|
}
|
|
315
364
|
return (_ctx, _cache) => {
|
|
316
365
|
return openBlock(), createBlock(resolveDynamicComponent(root.value), {
|
|
317
|
-
class: "astryx-top-nav-mega-card",
|
|
318
|
-
href:
|
|
319
|
-
to:
|
|
320
|
-
onClick
|
|
366
|
+
class: normalizeClass(["astryx-top-nav-mega-card", { "astryx-top-nav-mega-card--static": !wholeHref.value }]),
|
|
367
|
+
href: wholeHref.value || void 0,
|
|
368
|
+
to: wholeHref.value && __props.as != null ? wholeHref.value : void 0,
|
|
369
|
+
onClick: _cache[0] || (_cache[0] = ($event) => wholeHref.value ? onNavigate() : void 0)
|
|
321
370
|
}, {
|
|
322
|
-
default: withCtx(() => [
|
|
323
|
-
|
|
324
|
-
|
|
371
|
+
default: withCtx(() => [__props.image ? (openBlock(), createElementBlock("img", {
|
|
372
|
+
key: 0,
|
|
373
|
+
class: "astryx-top-nav-mega-card__image",
|
|
374
|
+
src: __props.image,
|
|
375
|
+
alt: __props.imageAlt ?? "",
|
|
376
|
+
role: imageIsDecorative.value ? "presentation" : void 0,
|
|
377
|
+
"aria-hidden": imageIsDecorative.value ? "true" : void 0
|
|
378
|
+
}, null, 8, _hoisted_1$2)) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2$2, [
|
|
379
|
+
createElementVNode("span", _hoisted_3$2, toDisplayString(__props.title), 1),
|
|
380
|
+
__props.description ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true),
|
|
381
|
+
ctaHref.value && __props.linkLabel ? (openBlock(), createBlock(resolveDynamicComponent(ctaRoot.value), {
|
|
382
|
+
key: 1,
|
|
383
|
+
class: "astryx-top-nav-mega-card__link",
|
|
384
|
+
href: ctaHref.value,
|
|
385
|
+
to: __props.as != null ? ctaHref.value : void 0,
|
|
386
|
+
onClick: withModifiers(onNavigate, ["stop"])
|
|
387
|
+
}, {
|
|
388
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.linkLabel) + " → ", 1)]),
|
|
389
|
+
_: 1
|
|
390
|
+
}, 8, ["href", "to"])) : createCommentVNode("v-if", true),
|
|
325
391
|
renderSlot(_ctx.$slots, "default")
|
|
326
|
-
]),
|
|
392
|
+
])]),
|
|
327
393
|
_: 3
|
|
328
|
-
}, 8, [
|
|
394
|
+
}, 8, [
|
|
395
|
+
"class",
|
|
396
|
+
"href",
|
|
397
|
+
"to"
|
|
398
|
+
]);
|
|
329
399
|
};
|
|
330
400
|
}
|
|
331
401
|
});
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-C9xvMpJZ.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./Badge-CjDQPF5g.js";
|
|
3
3
|
import { s as isIconGlyph, t as _sfc_main$3 } from "./Icon-bteSId7T.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, useId, vShow, withCtx, withDirectives } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { _default as Typeahead, type TypeaheadEmits, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
|
1
|
+
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-DxR1FChm.js";
|
|
2
|
+
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as _sfc_main$2 } from "../TypeaheadMenu-BEObzonz.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-_V11btpv.js";
|
|
3
|
+
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|