@astryx-vue/core 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-0wTvOo3H.js → AppShell-CumzH-8z.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-pPZ4dI_s.js → Avatar-BW0TE8t9.js} +47 -34
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-DLC_FFR5.js} +57 -13
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-GbGxrqQO.js → Banner-C5VAwo4D.js} +68 -34
- package/dist/Blockquote/index.js +1 -1
- package/dist/Blockquote-DRoKdcxZ.js +27 -0
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
- package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Breadcrumbs-CTaz7Kh4.js +223 -0
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
- package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-B7vIowKq.js → Calendar-BAqzzQm2.js} +5 -5
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CA8zpD9v.js → Carousel-DXC22UWq.js} +4 -4
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bmna9EOA.js → Chat-BdJW6IX5.js} +147 -83
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-DJHCbwgC.js} +19 -11
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-BdZIP4_J.js} +155 -38
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Djgwa0ko.js → Citation-DbZn2vms.js} +8 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
- package/dist/Code/index.js +3 -3
- package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
- package/dist/{CodeBlock-D0BFubut.js → CodeBlock-Caaflp7C.js} +3 -3
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-C_MClfAg.js} +143 -63
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-BeVQaqRf.js} +85 -20
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-C6hPYvYz.js} +297 -179
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DT518j5E.js → DateInput-BjLdmYor.js} +567 -76
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Br3wVEfD.js} +85 -20
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/DateTimeInput-CAZBwoRe.js +562 -0
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-BiOSKQso.js → Dialog-Dce4Y97V.js} +28 -11
- package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Divider/index.js +1 -1
- package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-BdGmQVb1.js} +85 -57
- package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-BzQrNV9C.js} +479 -264
- package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
- package/dist/Field/index.d.ts +4 -3
- package/dist/Field/index.js +4 -3
- package/dist/{Field-D5gUEGw4.js → Field--OEsLBfE.js} +4 -3
- package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-gxsnfkZw.js} +3 -3
- package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-jxIiWgLw.js} +12 -7
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BpdiO1V8.js → FileInput-B_pUxB0Y.js} +106 -29
- package/dist/FormLayout/index.d.ts +1 -1
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Indicator/index.js +2 -1
- package/dist/InputClearButton-CwXPan8c.js +40 -0
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-CA03Smrs.js → InputGroup-DiiocoIW.js} +2 -2
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-kBapgKAQ.js} +5 -9
- package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
- package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
- package/dist/LayerProvider/index.js +1 -1
- package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
- package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DTF9EdTG.js → Lightbox-D8wyPgMK.js} +8 -6
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BqHCtiyt.js → Link-DweIpOtN.js} +29 -12
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
- package/dist/Markdown/index.d.ts +5 -2
- package/dist/Markdown/index.js +5 -2
- package/dist/Markdown/parser/index.d.ts +4 -0
- package/dist/Markdown/parser/index.js +3 -0
- package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
- package/dist/Markdown/plugin-protocol/index.js +107 -0
- package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
- package/dist/Markdown/plugin-renderer/index.js +42 -0
- package/dist/{Markdown-CvtN7HnF.js → Markdown-DhVfOvXk.js} +195 -484
- package/dist/MediaTheme-DlLqYhDy.js +433 -0
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-B-OelQlt.js → MetadataList-CEYceIlN.js} +15 -7
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-pdoJFZHx.js} +52 -17
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-CFNqSRev.js} +72 -59
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/MultiSelector-DuVatmq5.js +1456 -0
- package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
- package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-C4v_MtkX.js} +29 -26
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
- package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-B0vzOg3N.js +727 -0
- package/dist/Outline/index.d.ts +2 -2
- package/dist/Outline/index.js +2 -2
- package/dist/{Outline-755h-lMP.js → Outline-CfGv2F1o.js} +91 -6
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BgRLZ3dh.js} +23 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DqwNQFRp.js → Pagination-Bfe12018.js} +2 -2
- package/dist/PickerWheel-CSwUYfes.js +69 -0
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BoAMdFaT.js} +774 -586
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-BIipql-L.js} +94 -26
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-xY1cwLdZ.js → RadioList-GyhgBg4j.js} +57 -8
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-TPlUCAHD.js} +103 -50
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-CPISLzp7.js +1049 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BF8mYDxl.js → SideNav-CN2QeAtY.js} +51 -37
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DWobsPgm.js → Slider-pdC0jpHu.js} +172 -46
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-DdVUadii.js +200 -0
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
- package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CE8dHysu.js → Stepper-CyaSRSdu.js} +101 -79
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DaVPRxvN.js → Switch-Z2Vfiiic.js} +38 -22
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIkK9sgK.js → TabList-DRqP0Hrv.js} +205 -63
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-fecqnm7P.js → Table-BcrrylMX.js} +726 -452
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Ab5Sw60T.js → TextArea-DA9CCG_J.js} +104 -50
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-zFT1_qgI.js → TextInput-CI96einV.js} +71 -38
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -2
- package/dist/Theme-BbDT8B_C.js +2125 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-B2ZAY59J.js} +13 -10
- package/dist/{TimeField-CoHDGmsP.js → TimeField-CpAgja9D.js} +297 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-Bw_lHS4M.js} +78 -9
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-xpQKCk0d.js → Timestamp-BFNuoTZ0.js} +5 -5
- package/dist/Toast/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toast-DwnPjx6j.js +685 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DsntTYhQ.js → Token-BfS4vi__.js} +32 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-Ci3E5bvP.js} +107 -23
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Ciq0l1w7.js → TopNav-gW59zp1o.js} +16 -15
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BUz-KZJd.js → TreeList-DaoI7zaH.js} +124 -41
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-JP9RT87x.js → Typeahead-D4JjvjK4.js} +123 -26
- package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BQlMrfqX.js} +141 -51
- package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
- package/dist/characterReferences-BJ-jLhsR.js +65 -0
- package/dist/characters-rcDbGt71.d.ts +29 -0
- package/dist/characters-wTnzjkkR.js +58 -0
- package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
- package/dist/composables/index.d.ts +5 -4
- package/dist/composables/index.js +23 -18
- package/dist/{composables-CbKx9C1Y.js → composables-Bc02zKAO.js} +167 -197
- package/dist/context-B6UElI5X.js +5 -0
- package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
- package/dist/{context-iABt_ueM.js → context-DWfi56sq.js} +451 -122
- package/dist/context-IvbU9c3T.js +8 -0
- package/dist/context-pjBxaMSh.js +28 -0
- package/dist/fieldParts--SyRZVQG.js +44 -0
- package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
- package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
- package/dist/hoverIntent-DMHGb85c.js +115 -0
- package/dist/{index-Cde5JvtX.d.ts → index-B-nESNam.d.ts} +8 -7
- package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
- package/dist/{index-Cn-sSds-.d.ts → index-B56j4eI2.d.ts} +24 -1
- package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
- package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
- package/dist/{index-0QGtSf3r.d.ts → index-BO9TY87G.d.ts} +3 -2
- package/dist/{index-IBAInumL.d.ts → index-BQEJj72c.d.ts} +23 -10
- package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
- package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
- package/dist/index-BkUkm6Al.d.ts +11 -0
- package/dist/{index-ClNU2Th8.d.ts → index-Bn-v89Vt.d.ts} +10 -6
- package/dist/{index-Bu8NA2SD.d.ts → index-BnEhvmdR.d.ts} +16 -7
- package/dist/index-Bo-ofFyg.d.ts +166 -0
- package/dist/{index-i0tNFWfz.d.ts → index-BqhgeAT4.d.ts} +2 -0
- package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
- package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
- package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
- package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
- package/dist/{index-xrzJC4wm.d.ts → index-CJ6ajsUC.d.ts} +1 -1
- package/dist/{index-B9e52paP.d.ts → index-CK-Dbh0f.d.ts} +1 -1
- package/dist/index-CKUfpmFL.d.ts +375 -0
- package/dist/{index-DXpSFlPG.d.ts → index-CKgBTAzC.d.ts} +4 -4
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-B4OOtNP8.d.ts → index-CPtDjmcX.d.ts} +3 -3
- package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
- package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
- package/dist/{index-BVKivP59.d.ts → index-CTjkJP4x.d.ts} +32 -3
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-GI9xIV9l.d.ts → index-CikMzeab.d.ts} +2 -2
- package/dist/{index-DUaLJO7l.d.ts → index-CpNlPLBF.d.ts} +172 -126
- package/dist/{index-yT1yiiww.d.ts → index-Cs1xsHKi.d.ts} +24 -12
- package/dist/{index-Cyb9Du5Z.d.ts → index-CtTGt6Dv.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
- package/dist/{index-B3Fomy15.d.ts → index-D0_HsuC3.d.ts} +3 -3
- package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
- package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
- package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
- package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
- package/dist/{index-DVmgNb78.d.ts → index-DRJZ-v1E.d.ts} +4 -4
- package/dist/{index-CL1T2j4y.d.ts → index-DY8Wph-A.d.ts} +3 -3
- package/dist/{index-B1WJxt-n.d.ts → index-DfC05uKG.d.ts} +17 -7
- package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
- package/dist/{index-D41_xqjs.d.ts → index-Dr4b_oji.d.ts} +20 -13
- package/dist/{index-CqE4Bf3Q.d.ts → index-Ds201-d2.d.ts} +16 -2
- package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
- package/dist/{index-B42oE_F-.d.ts → index-IfsSCj8J.d.ts} +18 -5
- package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
- package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
- package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
- package/dist/{index-BhpAUzUr.d.ts → index-unAZVFGz.d.ts} +2 -2
- package/dist/index.d.ts +80 -74
- package/dist/index.js +149 -134
- package/dist/inlineSize-BNe8wggI.js +66 -0
- package/dist/inputPresentation-BOyHkCDr.js +62 -0
- package/dist/interactionModality-ACpTMhak.js +44 -0
- package/dist/isApplePlatform-B1ju6F5B.js +27 -0
- package/dist/isRenderable-BnKHIqfd.js +21 -0
- package/dist/layerDepth-CNDh-IHb.js +181 -0
- package/dist/link-DuuA2eCL.js +30 -0
- package/dist/{loadCatalog-BGHKG_9N.d.ts → loadCatalog-DlLFZreI.d.ts} +281 -7
- package/dist/loadCatalog-eopw74qb.js +424 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-CabGJlGp.js +343 -0
- package/dist/modalOutlet-CUOcrhIu.js +56 -0
- package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
- package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
- package/dist/protocol-DHxY0NI8.js +113 -0
- package/dist/protocol-RSeMzAN1.d.ts +238 -0
- package/dist/publicParser-B0MRoikr.d.ts +141 -0
- package/dist/publicParser-uHC_T0Fo.js +895 -0
- package/dist/resizableChannel-3vivrEcT.js +20 -0
- package/dist/safeUrl-CsvfcZ9m.js +54 -0
- package/dist/scopedProvide-C-Df7c15.js +30 -0
- package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
- package/dist/scrollLock-C3aT4-0z.js +102 -0
- package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-mCpJBvra.js} +5 -14
- package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
- package/dist/slug-C65CUsf9.js +32 -0
- package/dist/syntaxContext-DmIfNNtb.js +4 -0
- package/dist/triggerVariant-BsL8jMHs.js +16 -0
- package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
- package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
- package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
- package/dist/upstreamMap-xr3gvREu.js +731 -0
- package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
- package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
- package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
- package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
- package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
- package/dist/{useIndicator-i1NORM7W.js → useIndicator-MZmfBWid.js} +5 -23
- package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
- package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-DAE7PExr.js} +1 -1
- package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
- package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
- package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
- package/dist/useMenuHover-Djreu23i.js +170 -0
- package/dist/useMenuPress-8foxY8z4.js +764 -0
- package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
- package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
- package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
- package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
- package/dist/usePressFeedback-BJCpjEpv.js +319 -0
- package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
- package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
- package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
- package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
- package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
- package/dist/useScrollableArea-BE8b3qm7.js +222 -0
- package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
- package/dist/useTranslator-BmWt2BBt.js +35 -0
- package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +5 -0
- package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
- package/dist/utils-z3Q6BGIJ.js +819 -0
- package/locales/SOURCE.json +1 -1
- package/package.json +18 -2
- package/reset.css +364 -1
- package/styles/avatar-group.css +9 -1
- package/styles/badge.css +8 -5
- package/styles/banner.css +124 -26
- package/styles/blockquote.css +1 -0
- package/styles/bordered-control.css +1 -1
- package/styles/bottom-sheet.css +74 -6
- package/styles/breadcrumbs.css +16 -2
- package/styles/button-group.css +3 -1
- package/styles/button.css +53 -11
- package/styles/card.css +1 -1
- package/styles/chat.css +16 -6
- package/styles/checkbox-input.css +10 -0
- package/styles/clickable-card.css +10 -3
- package/styles/collapsible.css +12 -5
- package/styles/command-palette.css +29 -14
- package/styles/complex-selector.css +22 -5
- package/styles/context-menu.css +3 -3
- package/styles/date-input.css +111 -1
- package/styles/dialog-header.css +4 -1
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +12 -3
- package/styles/field.css +5 -0
- package/styles/form-layout.css +1 -0
- package/styles/heading.css +18 -8
- package/styles/icon.css +4 -0
- package/styles/kbd.css +1 -1
- package/styles/layer.css +72 -0
- package/styles/list.css +9 -2
- package/styles/metadata-list.css +1 -0
- package/styles/mobile-nav.css +4 -1
- package/styles/multi-selector.css +48 -1
- package/styles/nav-item.css +9 -2
- package/styles/nav-menu.css +12 -2
- package/styles/number-input.css +9 -1
- package/styles/overflow-list.css +1 -1
- package/styles/popover.css +2 -1
- package/styles/power-search.css +5 -3
- package/styles/pressable.css +63 -22
- package/styles/progress-bar.css +15 -3
- package/styles/radio.css +16 -0
- package/styles/resize-handle.css +42 -0
- package/styles/segmented-control.css +12 -4
- package/styles/selector.css +53 -1
- package/styles/side-nav.css +19 -0
- package/styles/slider.css +4 -3
- package/styles/spinner.css +48 -42
- package/styles/stepper.css +58 -4
- package/styles/switch.css +26 -0
- package/styles/tab-list.css +132 -3
- package/styles/table.css +88 -10
- package/styles/text-area.css +1 -1
- package/styles/text-input.css +1 -1
- package/styles/text.css +6 -6
- package/styles/thumbnail.css +11 -3
- package/styles/time-input.css +8 -0
- package/styles/toast.css +37 -3
- package/styles/token.css +2 -2
- package/styles/tokenizer.css +1 -1
- package/styles/toolbar.css +4 -1
- package/styles/tree-list.css +1 -1
- package/styles/typeahead.css +34 -1
- package/styles.css +1 -0
- package/dist/Blockquote-DFqBv_oJ.js +0 -18
- package/dist/Breadcrumbs-DIm4figq.js +0 -141
- package/dist/ButtonGroup-ySQWanDP.js +0 -125
- package/dist/DateTimeInput-A7m2O3bg.js +0 -268
- package/dist/MultiSelector-BtAUfQ3t.js +0 -990
- package/dist/NumberInput-AZ9x3oja.js +0 -473
- package/dist/Selector-DJ2BhUTV.js +0 -677
- package/dist/Spinner-9cYUCnDy.js +0 -84
- package/dist/Theme-CtaUWo4g.js +0 -1246
- package/dist/Toast-BuqIZV5z.js +0 -322
- package/dist/context-4PuqD1Ic.js +0 -4
- package/dist/context-D5-MwxnN.js +0 -4
- package/dist/index-BH9PzQ1F.d.ts +0 -87
- package/dist/link-C4_WogdF.js +0 -18
- package/dist/loadCatalog-CXKqEB9s.js +0 -877
- package/dist/locale-DgkZEMTn.js +0 -105
- package/dist/platform-B_9W_aHW.js +0 -33
- package/dist/scrollLock-BzIvIimL.js +0 -42
- package/dist/useMenuPress-D-FRNrBW.js +0 -573
- package/dist/useScrollableArea-DDk_CluT.js +0 -172
- /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
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-B2ZAY59J.js";
|
|
2
2
|
export { _sfc_main as Thumbnail };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as _sfc_main$
|
|
5
|
-
import { t as _sfc_main$
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./IconButton-DI-XBbtV.js";
|
|
3
|
+
import { s as useAstryxMessages } from "./context-DWfi56sq.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./Tooltip-sAM8i1eO.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./Icon-KDnUyY7f.js";
|
|
6
|
+
import { t as _sfc_main$4 } from "./Spinner-DdVUadii.js";
|
|
6
7
|
import { t as _sfc_main$5 } from "./Skeleton-CrgWxJgr.js";
|
|
7
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, normalizeClass, normalizeStyle, openBlock, ref, unref, watch, withCtx } from "vue";
|
|
8
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, unref, watch, withCtx } from "vue";
|
|
8
9
|
import "../styles/thumbnail.css";
|
|
9
10
|
//#region src/Thumbnail/Thumbnail.vue
|
|
10
11
|
const _hoisted_1 = ["data-disabled", "aria-label"];
|
|
@@ -64,6 +65,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
64
65
|
const messages = useAstryxMessages();
|
|
65
66
|
const failedSrc = ref();
|
|
66
67
|
const instance = getCurrentInstance();
|
|
68
|
+
const press = usePressFeedback({ hasOverlay: false });
|
|
67
69
|
watch(() => props.src, () => {
|
|
68
70
|
failedSrc.value = void 0;
|
|
69
71
|
});
|
|
@@ -103,13 +105,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
103
105
|
role: "group",
|
|
104
106
|
"aria-label": accessibleName.value
|
|
105
107
|
}, [createElementVNode("div", _hoisted_2, [
|
|
106
|
-
hasListener("onClick") && !__props.isDisabled && !__props.isLoading ? (openBlock(), createElementBlock("button", {
|
|
108
|
+
hasListener("onClick") && !__props.isDisabled && !__props.isLoading ? (openBlock(), createElementBlock("button", mergeProps({
|
|
107
109
|
key: 0,
|
|
108
|
-
type: "button"
|
|
110
|
+
type: "button"
|
|
111
|
+
}, unref(press).pressableProps, {
|
|
109
112
|
class: "astryx-thumbnail__open",
|
|
110
113
|
"aria-label": unref(messages).thumbnail.open(accessibleName.value),
|
|
111
114
|
onClick: onOpen
|
|
112
|
-
}, [showImage.value ? (openBlock(), createElementBlock("img", {
|
|
115
|
+
}), [showImage.value ? (openBlock(), createElementBlock("img", {
|
|
113
116
|
key: 0,
|
|
114
117
|
class: "astryx-thumbnail__image",
|
|
115
118
|
src: __props.src,
|
|
@@ -120,7 +123,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
120
123
|
}, null, 40, _hoisted_4)) : showSkeleton.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
121
124
|
key: 1,
|
|
122
125
|
radius: 2
|
|
123
|
-
})) : showPlaceholder.value ? (openBlock(), createElementBlock("span", _hoisted_5, [createVNode(_sfc_main$3, { icon: "image" })])) : createCommentVNode("v-if", true)],
|
|
126
|
+
})) : showPlaceholder.value ? (openBlock(), createElementBlock("span", _hoisted_5, [createVNode(_sfc_main$3, { icon: "image" })])) : createCommentVNode("v-if", true)], 16, _hoisted_3)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [showImage.value ? (openBlock(), createElementBlock("img", {
|
|
124
127
|
key: 0,
|
|
125
128
|
class: "astryx-thumbnail__image",
|
|
126
129
|
src: __props.src,
|
|
@@ -1,23 +1,178 @@
|
|
|
1
|
-
import { t as _sfc_main$
|
|
2
|
-
import { n as useButtonTooltip } from "./Button-
|
|
3
|
-
import { t as _sfc_main$
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as _sfc_main$4 } from "./
|
|
8
|
-
import {
|
|
1
|
+
import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
+
import { n as useButtonTooltip } from "./Button-ONOoHdkg.js";
|
|
3
|
+
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
|
+
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
5
|
+
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
6
|
+
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-B7cvG-_v.js";
|
|
7
|
+
import { t as _sfc_main$4 } from "./FieldIcon--NTgW5IU.js";
|
|
8
|
+
import { t as _sfc_main$5 } from "./IconButton-DI-XBbtV.js";
|
|
9
|
+
import { s as useAstryxMessages } from "./context-DWfi56sq.js";
|
|
10
|
+
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
|
|
9
11
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
10
|
-
import { t as _sfc_main$
|
|
11
|
-
import { t as _sfc_main$
|
|
12
|
-
import {
|
|
12
|
+
import { t as _sfc_main$6 } from "./BottomSheet-B4sc3F1S.js";
|
|
13
|
+
import { t as _sfc_main$7 } from "./Icon-KDnUyY7f.js";
|
|
14
|
+
import { t as _sfc_main$8 } from "./Spinner-DdVUadii.js";
|
|
15
|
+
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
16
|
+
import { t as _sfc_main$9 } from "./PickerWheel-CSwUYfes.js";
|
|
17
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
18
|
+
import "../styles/layer.css";
|
|
19
|
+
import "../styles/date-input.css";
|
|
13
20
|
import "../styles/bordered-control.css";
|
|
14
21
|
import "../styles/time-input.css";
|
|
22
|
+
//#region src/TimeInput/TouchTimeWheels.vue
|
|
23
|
+
const _hoisted_1$1 = { class: "astryx-time-wheels" };
|
|
24
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
25
|
+
__name: "TouchTimeWheels",
|
|
26
|
+
props: {
|
|
27
|
+
modelValue: { default: null },
|
|
28
|
+
hourFormat: { default: "12h" },
|
|
29
|
+
hasSeconds: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: false
|
|
32
|
+
},
|
|
33
|
+
min: {},
|
|
34
|
+
max: {}
|
|
35
|
+
},
|
|
36
|
+
emits: ["update:modelValue"],
|
|
37
|
+
setup(__props, { emit: __emit }) {
|
|
38
|
+
const props = __props;
|
|
39
|
+
const emit = __emit;
|
|
40
|
+
const messages = useAstryxMessages();
|
|
41
|
+
const parsed = computed(() => props.modelValue ? parseISOTime(props.modelValue) : null);
|
|
42
|
+
const hour24 = computed(() => parsed.value?.hours ?? 0);
|
|
43
|
+
const minute = computed(() => parsed.value?.minutes ?? 0);
|
|
44
|
+
const second = computed(() => parsed.value?.seconds ?? 0);
|
|
45
|
+
const isPm = computed(() => hour24.value >= 12);
|
|
46
|
+
const hour12 = computed(() => hour24.value % 12 || 12);
|
|
47
|
+
function inRange(hours, minutes, seconds) {
|
|
48
|
+
return isTimeInRange(formatISOTime({
|
|
49
|
+
hours,
|
|
50
|
+
minutes,
|
|
51
|
+
seconds
|
|
52
|
+
}, props.hasSeconds), props.min, props.max);
|
|
53
|
+
}
|
|
54
|
+
function hourAllowed(hours) {
|
|
55
|
+
for (let value = 0; value < 60; value += 1) if (inRange(hours, value, 0)) return true;
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
function commit(hours, minutes, seconds) {
|
|
59
|
+
if (inRange(hours, minutes, seconds)) {
|
|
60
|
+
emit("update:modelValue", formatISOTime({
|
|
61
|
+
hours,
|
|
62
|
+
minutes,
|
|
63
|
+
seconds
|
|
64
|
+
}, props.hasSeconds));
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
for (let value = 0; value < 60; value += 1) if (inRange(hours, value, 0)) {
|
|
68
|
+
emit("update:modelValue", formatISOTime({
|
|
69
|
+
hours,
|
|
70
|
+
minutes: value,
|
|
71
|
+
seconds: 0
|
|
72
|
+
}, props.hasSeconds));
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function from12(hour, pm) {
|
|
77
|
+
if (hour === 12) return pm ? 12 : 0;
|
|
78
|
+
return pm ? hour + 12 : hour;
|
|
79
|
+
}
|
|
80
|
+
const hourOptions = computed(() => {
|
|
81
|
+
if (props.hourFormat === "24h") return Array.from({ length: 24 }, (_, hour) => ({
|
|
82
|
+
value: String(hour),
|
|
83
|
+
label: String(hour).padStart(2, "0"),
|
|
84
|
+
disabled: !hourAllowed(hour)
|
|
85
|
+
}));
|
|
86
|
+
return Array.from({ length: 12 }, (_, index) => {
|
|
87
|
+
const hour = index + 1;
|
|
88
|
+
return {
|
|
89
|
+
value: String(hour),
|
|
90
|
+
label: String(hour),
|
|
91
|
+
disabled: !hourAllowed(from12(hour, isPm.value))
|
|
92
|
+
};
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
const minuteOptions = computed(() => Array.from({ length: 60 }, (_, value) => ({
|
|
96
|
+
value: String(value),
|
|
97
|
+
label: String(value).padStart(2, "0"),
|
|
98
|
+
disabled: !inRange(hour24.value, value, second.value)
|
|
99
|
+
})));
|
|
100
|
+
const secondOptions = computed(() => Array.from({ length: 60 }, (_, value) => ({
|
|
101
|
+
value: String(value),
|
|
102
|
+
label: String(value).padStart(2, "0"),
|
|
103
|
+
disabled: !inRange(hour24.value, minute.value, value)
|
|
104
|
+
})));
|
|
105
|
+
const meridiemOptions = computed(() => [{
|
|
106
|
+
value: "am",
|
|
107
|
+
label: messages.value.dateTimeInput.meridiemAM,
|
|
108
|
+
disabled: !hourAllowed(from12(hour12.value, false))
|
|
109
|
+
}, {
|
|
110
|
+
value: "pm",
|
|
111
|
+
label: messages.value.dateTimeInput.meridiemPM,
|
|
112
|
+
disabled: !hourAllowed(from12(hour12.value, true))
|
|
113
|
+
}]);
|
|
114
|
+
function onHour(value) {
|
|
115
|
+
commit(props.hourFormat === "24h" ? Number(value) : from12(Number(value), isPm.value), minute.value, second.value);
|
|
116
|
+
}
|
|
117
|
+
function onMeridiem(value) {
|
|
118
|
+
commit(from12(hour12.value, value === "pm"), minute.value, second.value);
|
|
119
|
+
}
|
|
120
|
+
return (_ctx, _cache) => {
|
|
121
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
122
|
+
createVNode(_sfc_main$9, {
|
|
123
|
+
label: unref(messages).dateTimeInput.hourWheel,
|
|
124
|
+
options: hourOptions.value,
|
|
125
|
+
"model-value": __props.hourFormat === "24h" ? String(hour24.value) : String(hour12.value),
|
|
126
|
+
"onUpdate:modelValue": onHour
|
|
127
|
+
}, null, 8, [
|
|
128
|
+
"label",
|
|
129
|
+
"options",
|
|
130
|
+
"model-value"
|
|
131
|
+
]),
|
|
132
|
+
createVNode(_sfc_main$9, {
|
|
133
|
+
label: unref(messages).dateTimeInput.minuteWheel,
|
|
134
|
+
options: minuteOptions.value,
|
|
135
|
+
"model-value": String(minute.value),
|
|
136
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => commit(hour24.value, Number($event), second.value))
|
|
137
|
+
}, null, 8, [
|
|
138
|
+
"label",
|
|
139
|
+
"options",
|
|
140
|
+
"model-value"
|
|
141
|
+
]),
|
|
142
|
+
__props.hasSeconds ? (openBlock(), createBlock(_sfc_main$9, {
|
|
143
|
+
key: 0,
|
|
144
|
+
label: unref(messages).dateTimeInput.secondWheel,
|
|
145
|
+
options: secondOptions.value,
|
|
146
|
+
"model-value": String(second.value),
|
|
147
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => commit(hour24.value, minute.value, Number($event)))
|
|
148
|
+
}, null, 8, [
|
|
149
|
+
"label",
|
|
150
|
+
"options",
|
|
151
|
+
"model-value"
|
|
152
|
+
])) : createCommentVNode("v-if", true),
|
|
153
|
+
__props.hourFormat === "12h" ? (openBlock(), createBlock(_sfc_main$9, {
|
|
154
|
+
key: 1,
|
|
155
|
+
label: unref(messages).dateTimeInput.meridiemWheel,
|
|
156
|
+
options: meridiemOptions.value,
|
|
157
|
+
"model-value": isPm.value ? "pm" : "am",
|
|
158
|
+
"onUpdate:modelValue": onMeridiem
|
|
159
|
+
}, null, 8, [
|
|
160
|
+
"label",
|
|
161
|
+
"options",
|
|
162
|
+
"model-value"
|
|
163
|
+
])) : createCommentVNode("v-if", true)
|
|
164
|
+
]);
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
//#endregion
|
|
15
169
|
//#region src/TimeInput/TimeField.vue
|
|
16
170
|
const _hoisted_1 = [
|
|
17
171
|
"data-size",
|
|
18
172
|
"data-status",
|
|
19
173
|
"data-disabled",
|
|
20
174
|
"data-loading",
|
|
175
|
+
"data-presentation",
|
|
21
176
|
"data-options-open"
|
|
22
177
|
];
|
|
23
178
|
const _hoisted_2 = [
|
|
@@ -37,6 +192,20 @@ const _hoisted_2 = [
|
|
|
37
192
|
"aria-invalid"
|
|
38
193
|
];
|
|
39
194
|
const _hoisted_3 = [
|
|
195
|
+
"id",
|
|
196
|
+
"aria-expanded",
|
|
197
|
+
"value",
|
|
198
|
+
"placeholder",
|
|
199
|
+
"disabled",
|
|
200
|
+
"aria-disabled",
|
|
201
|
+
"aria-busy",
|
|
202
|
+
"aria-label",
|
|
203
|
+
"aria-labelledby",
|
|
204
|
+
"aria-describedby",
|
|
205
|
+
"aria-required",
|
|
206
|
+
"aria-invalid"
|
|
207
|
+
];
|
|
208
|
+
const _hoisted_4 = [
|
|
40
209
|
"id",
|
|
41
210
|
"value",
|
|
42
211
|
"placeholder",
|
|
@@ -55,8 +224,8 @@ const _hoisted_3 = [
|
|
|
55
224
|
"aria-autocomplete",
|
|
56
225
|
"aria-activedescendant"
|
|
57
226
|
];
|
|
58
|
-
const
|
|
59
|
-
const
|
|
227
|
+
const _hoisted_5 = ["aria-label"];
|
|
228
|
+
const _hoisted_6 = [
|
|
60
229
|
"id",
|
|
61
230
|
"aria-selected",
|
|
62
231
|
"data-option-index",
|
|
@@ -96,7 +265,21 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
96
265
|
optionInterval: {},
|
|
97
266
|
optionsLabel: {},
|
|
98
267
|
disabledMessage: {},
|
|
99
|
-
status: {}
|
|
268
|
+
status: {},
|
|
269
|
+
controlClass: { type: [
|
|
270
|
+
Boolean,
|
|
271
|
+
null,
|
|
272
|
+
String,
|
|
273
|
+
Object,
|
|
274
|
+
Array
|
|
275
|
+
] },
|
|
276
|
+
controlStyle: { type: [
|
|
277
|
+
Boolean,
|
|
278
|
+
null,
|
|
279
|
+
String,
|
|
280
|
+
Object,
|
|
281
|
+
Array
|
|
282
|
+
] }
|
|
100
283
|
}, {
|
|
101
284
|
"modelValue": { default: null },
|
|
102
285
|
"modelModifiers": {}
|
|
@@ -105,8 +288,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
105
288
|
setup(__props) {
|
|
106
289
|
const props = __props;
|
|
107
290
|
const model = useModel(__props, "modelValue");
|
|
291
|
+
const attrs = useAttrs();
|
|
292
|
+
const ariaRequired = useAriaRequired(props);
|
|
108
293
|
const messages = useAstryxMessages();
|
|
109
|
-
const
|
|
294
|
+
const sheetOpen = shallowRef(false);
|
|
295
|
+
const coarse = useMediaQuery("(pointer: coarse)");
|
|
110
296
|
const focused = shallowRef(false);
|
|
111
297
|
const draft = shallowRef("");
|
|
112
298
|
const container = useTemplateRef("container");
|
|
@@ -114,6 +300,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
114
300
|
useScrollbars(optionsRef);
|
|
115
301
|
const generatedId = `astryx-time-field-${useId()}`;
|
|
116
302
|
const listboxId = `${props.inputId ?? generatedId}-options`;
|
|
303
|
+
const sheetId = `${props.inputId ?? generatedId}-sheet`;
|
|
117
304
|
const disabledMessageId = `${props.inputId ?? generatedId}-disabled`;
|
|
118
305
|
const busy = computed(() => props.isLoading === true);
|
|
119
306
|
const locked = computed(() => props.isDisabled || props.isReadOnly || busy.value);
|
|
@@ -200,10 +387,21 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
200
387
|
container: optionsRef,
|
|
201
388
|
trigger: container,
|
|
202
389
|
isEnabled: isOptionsOpen,
|
|
203
|
-
|
|
390
|
+
dismissOnEscape: "ignore",
|
|
204
391
|
onDismiss: () => closeOptions()
|
|
205
392
|
});
|
|
393
|
+
function openSheet() {
|
|
394
|
+
if (!locked.value) sheetOpen.value = true;
|
|
395
|
+
}
|
|
396
|
+
function onSheetKeydown(event) {
|
|
397
|
+
if (isImeKeyEvent(event) || locked.value) return;
|
|
398
|
+
if (event.key === "ArrowDown" || event.altKey && event.key === "ArrowDown") {
|
|
399
|
+
event.preventDefault();
|
|
400
|
+
openSheet();
|
|
401
|
+
}
|
|
402
|
+
}
|
|
206
403
|
function onKeydown(event) {
|
|
404
|
+
if (isImeKeyEvent(event)) return;
|
|
207
405
|
if (event.key === "Escape" && isOptionsOpen.value) {
|
|
208
406
|
event.preventDefault();
|
|
209
407
|
closeOptions();
|
|
@@ -286,6 +484,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
286
484
|
container.value?.querySelector("input")?.focus({ preventScroll: true });
|
|
287
485
|
}
|
|
288
486
|
function onControlClick(event) {
|
|
487
|
+
if (surface.value === "sheet") {
|
|
488
|
+
openSheet();
|
|
489
|
+
return;
|
|
490
|
+
}
|
|
289
491
|
if (locked.value) return;
|
|
290
492
|
const target = event.target;
|
|
291
493
|
if (target instanceof Element && target.closest("button")) return;
|
|
@@ -300,23 +502,24 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
300
502
|
createElementVNode("div", {
|
|
301
503
|
ref_key: "container",
|
|
302
504
|
ref: container,
|
|
303
|
-
class: "astryx-time-input astryx-bordered-control",
|
|
505
|
+
class: normalizeClass(["astryx-time-input astryx-bordered-control", __props.controlClass]),
|
|
506
|
+
style: normalizeStyle(__props.controlStyle),
|
|
304
507
|
"data-size": __props.size,
|
|
305
508
|
"data-status": __props.status?.type,
|
|
306
509
|
"data-disabled": __props.isDisabled || void 0,
|
|
307
510
|
"data-loading": busy.value || void 0,
|
|
511
|
+
"data-presentation": surface.value === "sheet" ? "bottom-sheet" : surface.value === "native" ? "native" : "text",
|
|
308
512
|
"data-options-open": isOptionsOpen.value || void 0,
|
|
309
513
|
onPointerenter: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
|
|
310
514
|
onPointerleave: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args)),
|
|
311
515
|
onClick: onControlClick
|
|
312
516
|
}, [
|
|
313
|
-
createVNode(_sfc_main$
|
|
517
|
+
createVNode(_sfc_main$7, {
|
|
314
518
|
class: "astryx-time-input-icon",
|
|
315
519
|
icon: "clock",
|
|
316
520
|
size: "sm"
|
|
317
521
|
}),
|
|
318
|
-
surface.value === "native" ? (openBlock(), createElementBlock("input", {
|
|
319
|
-
key: 0,
|
|
522
|
+
surface.value === "native" ? (openBlock(), createElementBlock("input", mergeProps({ key: 0 }, unref(attrs), {
|
|
320
523
|
id: __props.inputId,
|
|
321
524
|
class: "astryx-time-input-control",
|
|
322
525
|
type: "time",
|
|
@@ -331,11 +534,34 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
331
534
|
"aria-label": __props.labelledBy ? void 0 : __props.label,
|
|
332
535
|
"aria-labelledby": __props.labelledBy,
|
|
333
536
|
"aria-describedby": resolvedDescribedBy(),
|
|
334
|
-
"aria-required":
|
|
537
|
+
"aria-required": unref(ariaRequired),
|
|
335
538
|
"aria-invalid": __props.status?.type === "error" || void 0,
|
|
336
539
|
onInput: onNativeInput
|
|
337
|
-
}, null,
|
|
338
|
-
|
|
540
|
+
}), null, 16, _hoisted_2)) : surface.value === "sheet" ? (openBlock(), createElementBlock("input", mergeProps({ key: 1 }, unref(attrs), {
|
|
541
|
+
id: __props.inputId,
|
|
542
|
+
class: "astryx-time-input-control",
|
|
543
|
+
type: "text",
|
|
544
|
+
readonly: "",
|
|
545
|
+
inputmode: "none",
|
|
546
|
+
autocomplete: "off",
|
|
547
|
+
role: "combobox",
|
|
548
|
+
"aria-haspopup": "dialog",
|
|
549
|
+
"aria-expanded": sheetOpen.value,
|
|
550
|
+
"aria-controls": sheetId,
|
|
551
|
+
value: draft.value,
|
|
552
|
+
placeholder: shownPlaceholder.value,
|
|
553
|
+
disabled: __props.isDisabled && !showsDisabledMessage.value,
|
|
554
|
+
"aria-disabled": showsDisabledMessage.value || void 0,
|
|
555
|
+
"aria-busy": busy.value || void 0,
|
|
556
|
+
"aria-label": __props.labelledBy ? void 0 : __props.label,
|
|
557
|
+
"aria-labelledby": __props.labelledBy,
|
|
558
|
+
"aria-describedby": resolvedDescribedBy(),
|
|
559
|
+
"aria-required": unref(ariaRequired),
|
|
560
|
+
"aria-invalid": __props.status?.type === "error" || void 0,
|
|
561
|
+
onClick: openSheet,
|
|
562
|
+
onKeydown: onSheetKeydown,
|
|
563
|
+
onFocus: onInputFocus
|
|
564
|
+
}), null, 16, _hoisted_3)) : (openBlock(), createElementBlock("input", mergeProps({ key: 2 }, unref(attrs), {
|
|
339
565
|
id: __props.inputId,
|
|
340
566
|
class: "astryx-time-input-control",
|
|
341
567
|
type: "text",
|
|
@@ -351,7 +577,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
351
577
|
"aria-label": __props.labelledBy ? void 0 : __props.label,
|
|
352
578
|
"aria-labelledby": __props.labelledBy,
|
|
353
579
|
"aria-describedby": resolvedDescribedBy(),
|
|
354
|
-
"aria-required":
|
|
580
|
+
"aria-required": unref(ariaRequired),
|
|
355
581
|
"aria-invalid": __props.status?.type === "error" || void 0,
|
|
356
582
|
"aria-expanded": showsOptions.value ? isOptionsOpen.value : void 0,
|
|
357
583
|
"aria-controls": showsOptions.value ? listboxId : void 0,
|
|
@@ -362,35 +588,35 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
362
588
|
onBlur,
|
|
363
589
|
onKeydown,
|
|
364
590
|
onClick: onInputClick
|
|
365
|
-
}, null,
|
|
366
|
-
__props.hasClear && model.value && !locked.value ? (openBlock(), createBlock(_sfc_main$
|
|
367
|
-
key:
|
|
591
|
+
}), null, 16, _hoisted_4)),
|
|
592
|
+
__props.hasClear && model.value && !locked.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
593
|
+
key: 3,
|
|
368
594
|
class: "astryx-input-clear-button",
|
|
369
595
|
variant: "ghost",
|
|
370
596
|
size: "sm",
|
|
371
597
|
label: clearLabel.value,
|
|
372
598
|
onClick: clear
|
|
373
599
|
}, {
|
|
374
|
-
default: withCtx(() => [createVNode(_sfc_main$
|
|
600
|
+
default: withCtx(() => [createVNode(_sfc_main$4, { type: "clear" })]),
|
|
375
601
|
_: 1
|
|
376
602
|
}, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
377
|
-
busy.value ? (openBlock(), createBlock(_sfc_main$
|
|
378
|
-
key:
|
|
603
|
+
busy.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
604
|
+
key: 4,
|
|
379
605
|
size: "sm",
|
|
380
606
|
"aria-label": __props.loadingLabel ?? unref(messages).timeInput.loading
|
|
381
|
-
}, null, 8, ["aria-label"])) : __props.status ? (openBlock(), createBlock(_sfc_main$
|
|
382
|
-
key:
|
|
607
|
+
}, null, 8, ["aria-label"])) : __props.status ? (openBlock(), createBlock(_sfc_main$4, {
|
|
608
|
+
key: 5,
|
|
383
609
|
type: __props.status.type
|
|
384
610
|
}, null, 8, ["type"])) : createCommentVNode("v-if", true)
|
|
385
|
-
],
|
|
386
|
-
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$
|
|
611
|
+
], 46, _hoisted_1),
|
|
612
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
387
613
|
key: 0,
|
|
388
614
|
id: disabledMessageId
|
|
389
615
|
}, {
|
|
390
616
|
default: withCtx(() => [createTextVNode(toDisplayString(disabledMessage.value), 1)]),
|
|
391
617
|
_: 1
|
|
392
618
|
})) : createCommentVNode("v-if", true),
|
|
393
|
-
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$
|
|
619
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
394
620
|
key: 1,
|
|
395
621
|
id: `${disabledMessageId}-tooltip`,
|
|
396
622
|
anchor: container.value,
|
|
@@ -406,10 +632,41 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
406
632
|
"onPointerEnter",
|
|
407
633
|
"onPointerLeave"
|
|
408
634
|
])) : createCommentVNode("v-if", true),
|
|
635
|
+
surface.value === "sheet" ? (openBlock(), createBlock(_sfc_main$6, {
|
|
636
|
+
key: 2,
|
|
637
|
+
"is-open": sheetOpen.value,
|
|
638
|
+
"onUpdate:isOpen": _cache[3] || (_cache[3] = ($event) => sheetOpen.value = $event),
|
|
639
|
+
label: __props.label || unref(messages).timeInput.placeholder,
|
|
640
|
+
height: "hug",
|
|
641
|
+
padding: 0
|
|
642
|
+
}, {
|
|
643
|
+
default: withCtx(() => [createElementVNode("div", {
|
|
644
|
+
id: sheetId,
|
|
645
|
+
class: "astryx-time-touch"
|
|
646
|
+
}, [createVNode(_sfc_main$1, {
|
|
647
|
+
"model-value": model.value,
|
|
648
|
+
"hour-format": __props.hourFormat,
|
|
649
|
+
"has-seconds": __props.hasSeconds,
|
|
650
|
+
min: __props.min,
|
|
651
|
+
max: __props.max,
|
|
652
|
+
"onUpdate:modelValue": commit
|
|
653
|
+
}, null, 8, [
|
|
654
|
+
"model-value",
|
|
655
|
+
"hour-format",
|
|
656
|
+
"has-seconds",
|
|
657
|
+
"min",
|
|
658
|
+
"max"
|
|
659
|
+
]), createElementVNode("button", {
|
|
660
|
+
type: "button",
|
|
661
|
+
class: "astryx-date-touch-save",
|
|
662
|
+
onClick: _cache[2] || (_cache[2] = ($event) => sheetOpen.value = false)
|
|
663
|
+
}, toDisplayString(unref(messages).dateInput.savePicking), 1)])]),
|
|
664
|
+
_: 1
|
|
665
|
+
}, 8, ["is-open", "label"])) : createCommentVNode("v-if", true),
|
|
409
666
|
(openBlock(), createBlock(Teleport, { to: "body" }, [withDirectives(createElementVNode("div", {
|
|
410
667
|
id: listboxId,
|
|
411
668
|
ref: "options",
|
|
412
|
-
class: "astryx-time-input-options",
|
|
669
|
+
class: "astryx-time-input-options astryx-layer",
|
|
413
670
|
role: "listbox",
|
|
414
671
|
"aria-label": resolvedOptionsLabel.value,
|
|
415
672
|
style: normalizeStyle(optionsStyle.value),
|
|
@@ -423,13 +680,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
423
680
|
"aria-selected": option === model.value ? "true" : "false",
|
|
424
681
|
"data-option-index": index,
|
|
425
682
|
tabindex: "-1",
|
|
426
|
-
onMousedown: _cache[
|
|
683
|
+
onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {}, ["prevent"])),
|
|
427
684
|
onClick: ($event) => selectOption(index)
|
|
428
|
-
}, toDisplayString(unref(formatDisplayTime)(option, __props.hourFormat, __props.hasSeconds)), 43,
|
|
429
|
-
}), 128))], 12,
|
|
685
|
+
}, toDisplayString(unref(formatDisplayTime)(option, __props.hourFormat, __props.hasSeconds)), 43, _hoisted_6);
|
|
686
|
+
}), 128))], 12, _hoisted_5), [[vShow, isOptionsOpen.value]])]))
|
|
430
687
|
], 64);
|
|
431
688
|
};
|
|
432
689
|
}
|
|
433
690
|
});
|
|
434
691
|
//#endregion
|
|
435
|
-
export { _sfc_main as t };
|
|
692
|
+
export { _sfc_main$1 as n, _sfc_main as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-CpNlPLBF.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-Bw_lHS4M.js";
|
|
2
2
|
export { _sfc_main as TimeInput };
|