@astryx-vue/core 0.25.0 → 0.26.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-Cub9_aPC.js → AlertDialog-Sku86l_R.js} +191 -5
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-D62A7lqZ.js → AppShell-CJWvaqgZ.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BKoSK75s.js → Avatar-C5KaulzE.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +1 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DGhRZLw4.js → BottomSheet-BtuF3uH6.js} +6 -3
- package/dist/{BottomSheet-CpLYy3vb.js → BottomSheet-DKrJyrhw.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D-nHDHV8.js → Breadcrumbs-Cvzwy6sZ.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/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-U1qq8gkF.js → Chat-BIHEfSec.js} +202 -40
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-qm6lkjAw.js → CheckboxInput-wmX3Ekj-.js} +5 -5
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DuCKhJHJ.js → CheckboxList-JWXHHU-u.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BmUloCSR.js → Collapsible-BDCJRfFN.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-Cy7trpD3.js → CommandPalette-CJyQd7P-.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DMBiVQWp.js → ComplexSelector-DIb8LjYJ.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-63ay7EE-.js → ContextMenu-HLvsROcS.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-B3Q91FDT.js → DateInput-D5YBijbb.js} +14 -33
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B6Z66OsH.js → DateRangeInput-BlcHsqgx.js} +5 -5
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B_7cn7ze.js → DateTimeInput-Bx3LWb9Y.js} +6 -6
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CBPD5b-S.js → Dialog-CNLEL4Mf.js} +1 -1
- package/dist/{Dialog-C4FZ7p7Q.js → Dialog-CxeXQTqH.js} +1 -1
- package/dist/{DialogHeader-CQ3pnLYi.js → DialogHeader-CjXS_wba.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BOwQLKm9.js → Drawer-B_4HN6v5.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-9CR9TiKG.js → DropdownMenu-CvdeExRQ.js} +3 -3
- package/dist/{DropdownMenu-DwIfoTnV.js → DropdownMenu-D_fBzKvf.js} +38 -9
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BG5g2jwJ.js → EmptyState-DUaFClsX.js} +4 -50
- package/dist/Field/index.d.ts +3 -3
- package/dist/Field/index.js +2 -2
- package/dist/{Field-eAowUUMX.js → Field-Btyrw1hd.js} +2 -2
- package/dist/{FieldLabel-CgYk-ORu.js → FieldLabel-B4l3sS4O.js} +3 -3
- 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-B7zeePbM.js → FileInput-BUwV9fQa.js} +135 -85
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-CGJVeNsL.js → FormLayout-0_X9o-L4.js} +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-B1dNZQtu.js → Heading-BuZaxfIK.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-LJi9llxi.js → InfoTip-BDo2xI8h.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-B8PGJZKH.js → InputGroup-1Ukiu-dg.js} +6 -6
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DaZS5Dch.js → InternationalizationProvider-B2Gv5yAm.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B75ygGzG.js → Link-ruNSnGtC.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cqrcj-ct.js → Markdown-C-KT_riK.js} +2 -2
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DLpEONfs.js → MobileNavToggle-BGNYwwfI.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-aR88r9xp.js → MoreMenu-DnwzVBEE.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-UTaDe-YT.js → MultiSelector-Cl_HzKvn.js} +6 -6
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-DS6y8ZAY.js → NavMenu-pCZjhMHe.js} +1 -1
- package/dist/{NavMenuItem-BqIi3o3D.js → NavMenuItem-BIqpJmH6.js} +1 -1
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-ClkOGF5j.js → NumberInput-Dz0H_XPw.js} +384 -97
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-UnVXBDIW.js → OverflowList-MCN1PhBB.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CTCLE02h.js → Pagination-Cq9BIzPe.js} +59 -48
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/Popover-BJAyg1Qh.js +1247 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BBOum0TP.js → PowerSearch-wXnusKnz.js} +14 -14
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Bgg6zsKR.js → ProgressBar-C6x0E-BF.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DPy5JQhm.js → RadioGroup-LUDji_LA.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-UN7IxQg8.js → RadioList-CmeUUgn-.js} +1 -1
- package/dist/Resizable/index.d.ts +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-CCtsUveZ.js → Selector-BL_JH51H.js} +6 -6
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-COl5ApOz.js → SideNav-DtAQA-o-.js} +5 -5
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CYie9hWm.js → Slider-DEMdW9An.js} +3 -3
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-CHfgSYmv.js → StatusDot-_rucEf3d.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-D24CvhDS.js → Switch-BxRYZTQV.js} +5 -5
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DToCh5JW.js → TabList-D8KzfcGB.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D3mzxBr0.js → Table-DYDBgr3y.js} +14 -14
- package/dist/Text/index.js +1 -1
- package/dist/{Text-5p-eZodt.js → Text-CHauN5So.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bp6D-riO.js → TextArea-BJl6YH4p.js} +53 -19
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BYslwBDZ.js → TextInput-CGOVY0Zk.js} +77 -33
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-B_a8tOS7.js → Thumbnail-C3MvJ67s.js} +1 -1
- package/dist/{TimeField-MDSJny9m.js → TimeField-C2of7Ok5.js} +12 -31
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-B19amuxi.js → TimeInput-B_YY-IHW.js} +3 -3
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-BD3tfzrF.js → Timer-OULaFQFf.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CqWoZUKM.js → Timestamp-B6J0nfYH.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-C-eorFsF.js → Tokenizer-CSmIMDc4.js} +2 -2
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-88zhGfzF.js → Tooltip-gT9_hIEv.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-DMFIsFwy.js → TopNav-BsrhSbkn.js} +2 -2
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-nU2gSmQm.js → TreeList-BEPHdVYu.js} +2 -2
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-DUQfmy_r.js → Typeahead-CdLc7S2v.js} +3 -3
- package/dist/{types-fRasDCe4.d.ts → adaptationTypes-Cn_pfrsw.d.ts} +155 -155
- package/dist/animator-BooLoGyI.js +3164 -0
- package/dist/announceRenderedText-CslZ0cev.js +50 -0
- package/dist/{assertOptions-DVRsfCk1.js → assertOptions-CFn7Gdcr.js} +1 -1
- package/dist/{batch-DR5SgbnX.js → batch-CM-vJhQg.js} +2 -278
- package/dist/{handle-ma1yF_B_.js → bezier-Cts7gENO.js} +1 -21
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +3 -3
- package/dist/{composables-Do86VAmM.js → composables-D9DVeNnL.js} +4 -3162
- package/dist/{context-DsNhYm5O.js → context-CrVCeUUK.js} +1 -1
- package/dist/context-DH8E-qjm.js +173 -0
- package/dist/{edge-qfeek_VV.js → edge-BYXwSggM.js} +1 -1
- package/dist/{edgeRide-iWUNdlxe.js → edgeRide-B5mlN2Q4.js} +3 -3
- package/dist/escape-DzSxSmez.js +10 -0
- package/dist/{field-CehUqCe0.js → field-BaUBjqf5.js} +4 -2
- package/dist/{fieldParts-CbWvZLhH.js → fieldParts-CuE5V12i.js} +1 -1
- package/dist/handle-BazRxHwq.js +22 -0
- package/dist/holdEntranceInput-DMCOeRqu.js +37 -0
- package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
- package/dist/{index-CsYDrQ9R.d.ts → index-668zPVsH.d.ts} +1 -1
- package/dist/{index-_FjbcSgD.d.ts → index-7Q-wnbe7.d.ts} +1 -1
- package/dist/{index-CO9GW-ik.d.ts → index-B-3EGjfQ.d.ts} +1 -1
- package/dist/{index-Dcxqzk_d.d.ts → index-B3uBbehw.d.ts} +4 -4
- package/dist/{index-CnVjgLP5.d.ts → index-BCW6qCcS.d.ts} +1 -1
- package/dist/{index-QnlWyUxN.d.ts → index-BFGtLIp8.d.ts} +2 -2
- package/dist/{index-DDAcxZAP.d.ts → index-BZUVNr2c.d.ts} +1 -1
- package/dist/{index-BhdxP-OG.d.ts → index-BcRvRqWU.d.ts} +2 -2
- package/dist/{index-CEjvYAUZ.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-BtgkNd0Q.d.ts → index-C2HVLdNb.d.ts} +2 -2
- package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
- package/dist/{index-BfoazhEu.d.ts → index-CTXG-KKT.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-lmd9LZKB.d.ts → index-ClJINYPl.d.ts} +5 -2
- package/dist/index-CuFLztiI.d.ts +49 -0
- package/dist/{index-BxWCX2pJ.d.ts → index-DFLPv9io.d.ts} +3 -3
- package/dist/index-DHUCHxn2.d.ts +69 -0
- package/dist/{index-B52PMrO7.d.ts → index-DHsYyqMP.d.ts} +3 -3
- package/dist/{index-GmoeIuhl.d.ts → index-DMZ5SKJJ.d.ts} +35 -3
- package/dist/{index-DYabo8TI.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-BjmMJ_4E.d.ts → index-DSEEgvak.d.ts} +1149 -211
- package/dist/{index-DxR6cZBf.d.ts → index-DZCpswvp.d.ts} +1 -1
- package/dist/{index-etx25Eq-.d.ts → index-NOxH5oYj.d.ts} +1 -1
- package/dist/{index-CH-xSiJz.d.ts → index-XY0rleGM.d.ts} +2 -2
- package/dist/{index-0RIgvtdm.d.ts → index-ZXrvTM3A.d.ts} +2 -2
- package/dist/{index-DGXCnzOL.d.ts → index-aHC2C89h.d.ts} +1 -1
- package/dist/{index-0pBqcQXV.d.ts → index-tpkJfk6X.d.ts} +6 -1
- package/dist/index.d.ts +44 -45
- package/dist/index.js +74 -74
- package/dist/{holdEntranceInput-DjEzfGRU.js → inputHold-BmChuR9x.js} +87 -85
- package/dist/inputHoldState-pblUT4oh.js +39 -0
- package/dist/{landing-qVsYAZ-v.js → landing-B9Uvex6x.js} +3 -2
- package/dist/lazyBottomSheet-CL_PrTxb.js +16 -0
- package/dist/{loadCatalog-C8mRnC0E.d.ts → loadCatalog-2Hu-xisJ.d.ts} +2 -0
- package/dist/{loadCatalog-BeQt6Uq-.js → loadCatalog-umh_C97k.js} +2 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-B4FpGKpc.js → locale-BDPlcO62.js} +1 -1
- package/dist/{useHeldPresentation-fQsuYFhz.js → presentationHold-7IkbR4d8.js} +14 -22
- package/dist/progress-FQfSgLZC.js +38 -0
- package/dist/renderedText-BwJdmps3.js +32 -0
- package/dist/textEntryTraits-cb0LZSNl.js +11 -0
- package/dist/themeTiming-CWEvdh31.js +287 -0
- package/dist/{context-WY1ippwe.js → transientCopy-VAsg2a46.js} +1 -172
- package/dist/{types-OGMYGejX.d.ts → types-BA1veIoa.d.ts} +25 -2
- package/dist/{types-bAQk3F8G.d.ts → types-Cvh2VwQZ.d.ts} +4 -2
- package/dist/{types-C1ydeFiu.d.ts → types-DL-hRibg.d.ts} +1 -1
- package/dist/{useChatStreamScroll-BIMKffDA.js → useChatStreamScroll-Cv51kRT0.js} +91 -30
- package/dist/useEntryErrorReport-Wee3N8IA.js +51 -0
- package/dist/useHeldPresentation-7MH-RlSF.js +24 -0
- package/dist/{useInputStatusIcon-B6m_t8cK.d.ts → useInputStatusIcon-CFkOmDS4.d.ts} +1 -1
- package/dist/{useMenuDrillIn-CDn2na4X.js → useMenuDrillIn-CP0P49ej.js} +1 -1
- package/dist/{useMenuPress-CxUqSUZ9.js → useMenuPress-Di_3jhOx.js} +3 -1
- package/dist/{useTooltip-CJHbG8Pv.js → useTooltip-BpBMQ815.js} +2 -32
- package/dist/{useTruncationTooltip-BTcr1LCR.js → useTruncationTooltip-t5G978XB.js} +2 -2
- package/package.json +1 -1
- package/styles/alert-dialog.css +5 -0
- package/styles/chat.css +45 -17
- package/styles/dropdown-menu.css +47 -38
- package/styles/file-input.css +8 -1
- package/styles/input-group.css +0 -15
- package/styles/number-input.css +49 -4
- package/styles/pagination.css +0 -22
- package/styles/popover.css +13 -0
- package/styles/text-area.css +16 -1
- package/styles/text-input.css +26 -5
- package/dist/Popover-CZvRSqqD.js +0 -374
- package/dist/index-B63NOJRc.d.ts +0 -957
- package/dist/index-B9WzWqzk.d.ts +0 -18
- package/dist/types-DIYwbkpe.d.ts +0 -33
- package/dist/{index-CHx33xGa.d.ts → index-BqhgeAT4.d.ts} +2 -2
|
@@ -33,4 +33,4 @@ function showsRequiredIndicator(isRequired, isOptional, optionality) {
|
|
|
33
33
|
return Boolean(isRequired) && optionality !== "required";
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
|
-
export {
|
|
36
|
+
export { useAriaRequired as a, showsRequiredIndicator as i, formLayoutKey as n, useEntryErrorBehavior as o, showsOptionalIndicator as r, useFormLayout as s, ariaRequired as t };
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { D as glides, _ as safeAnimate, d as layoutMotion, h as beginChange, m as sampleOver, p as sampleKeyframes, r as changeStartIn } from "./batch-CM-vJhQg.js";
|
|
2
|
+
import { r as readArea, t as areaOf } from "./handle-BazRxHwq.js";
|
|
3
|
+
import { c as paintedBackground, i as placeOver, n as isCopyable, o as visiblePartCopy, s as wrapText, t as inertCopy } from "./transientCopy-VAsg2a46.js";
|
|
4
|
+
import { computed, inject, ref } from "vue";
|
|
5
|
+
//#region src/motion/layout/swap.ts
|
|
6
|
+
const NO_RIDE = {
|
|
7
|
+
x: 0,
|
|
8
|
+
y: 0
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Before a change commits: hold `element`'s old content as one transient copy
|
|
12
|
+
* (`spec:AST-105` FR8). With `isVisiblePart`, the copy is the element's
|
|
13
|
+
* visible part, its content scrolled as it was (a scroll container). Returns
|
|
14
|
+
* null without a handle, outside its area, under an immediate change, or for
|
|
15
|
+
* content too large to copy.
|
|
16
|
+
*/
|
|
17
|
+
function holdLayoutSwap(handle, element, { isVisiblePart = false } = {}) {
|
|
18
|
+
if (handle == null || typeof element.animate !== "function") return null;
|
|
19
|
+
const area = areaOf(handle, element);
|
|
20
|
+
if (area == null || layoutMotion(area).kind === "instant" || !isCopyable(element)) return null;
|
|
21
|
+
beginChange(element.ownerDocument);
|
|
22
|
+
const box = element.getBoundingClientRect();
|
|
23
|
+
if (!isVisiblePart) {
|
|
24
|
+
const copy = inertCopy(element);
|
|
25
|
+
return copy == null ? null : {
|
|
26
|
+
area,
|
|
27
|
+
copy,
|
|
28
|
+
rect: box
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const part = visiblePartCopy(element);
|
|
32
|
+
return part == null ? null : {
|
|
33
|
+
area,
|
|
34
|
+
...part
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* After the change commits, before paint: the copy leaves while the incoming
|
|
39
|
+
* elements enter, on FR4's one motion, every part started on the same
|
|
40
|
+
* timeline time. Under Reduce Motion with a coarse pointer, only opacity
|
|
41
|
+
* changes (`design:reduced-motion` DR2). Returns what ends the swap at once;
|
|
42
|
+
* it also ends when its motion does, and the copy is removed.
|
|
43
|
+
*/
|
|
44
|
+
function playLayoutSwap(swap, how) {
|
|
45
|
+
const motion = layoutMotion(swap.area);
|
|
46
|
+
if (motion.kind === "instant") return () => {};
|
|
47
|
+
const { copy } = swap;
|
|
48
|
+
const change = changeStartIn(swap.area, copy.ownerDocument);
|
|
49
|
+
placeOver(copy, how.host, swap.rect, how.copyBefore ?? null);
|
|
50
|
+
if (how.isOpaque === true) {
|
|
51
|
+
if (how.copyBefore == null) copy.style.zIndex = "1";
|
|
52
|
+
copy.style.backgroundColor = paintedBackground(copy);
|
|
53
|
+
}
|
|
54
|
+
const animations = [];
|
|
55
|
+
let isDone = false;
|
|
56
|
+
const end = () => {
|
|
57
|
+
if (isDone) return;
|
|
58
|
+
isDone = true;
|
|
59
|
+
animations.forEach((animation) => animation.cancel());
|
|
60
|
+
copy.remove();
|
|
61
|
+
how.onEnd?.();
|
|
62
|
+
};
|
|
63
|
+
const { copyText, rideWith } = how;
|
|
64
|
+
const fadedText = copyText != null && motion.kind === "glide" ? wrapText(copy) : [];
|
|
65
|
+
const parts = [];
|
|
66
|
+
if (motion.kind === "glide") {
|
|
67
|
+
const moves = rideWith != null && rideWith.isCopyMoved !== false;
|
|
68
|
+
parts.push([copy, (p, ride) => ({
|
|
69
|
+
...how.copy(p, ride),
|
|
70
|
+
...moves ? { translate: `${ride.x}px ${ride.y}px` } : null
|
|
71
|
+
})]);
|
|
72
|
+
for (const span of fadedText) parts.push([span, (p) => ({ opacity: copyText?.(p) ?? 1 })]);
|
|
73
|
+
for (const { element, frames } of how.incoming) parts.push([element, frames]);
|
|
74
|
+
} else {
|
|
75
|
+
parts.push([copy, (p) => ({ opacity: 1 - p })]);
|
|
76
|
+
for (const { element } of how.incoming) parts.push([element, (p) => ({ opacity: p })]);
|
|
77
|
+
}
|
|
78
|
+
const playAll = (durationMs, progressAt, rideAt, options, sample) => {
|
|
79
|
+
for (const [element, shape] of parts) {
|
|
80
|
+
const animation = safeAnimate(element, sample((t) => shape(progressAt(t), rideAt(t))), {
|
|
81
|
+
duration: durationMs,
|
|
82
|
+
fill: "both",
|
|
83
|
+
...options
|
|
84
|
+
}, change);
|
|
85
|
+
if (animation != null) animations.push(animation);
|
|
86
|
+
}
|
|
87
|
+
if (animations.length === 0) end();
|
|
88
|
+
else animations[0].addEventListener?.("finish", end);
|
|
89
|
+
};
|
|
90
|
+
if (motion.kind === "fade") {
|
|
91
|
+
playAll(motion.durationMs, (t) => t <= 0 ? 0 : 1, () => NO_RIDE, { easing: motion.easing }, (shape) => [shape(0), shape(motion.durationMs)]);
|
|
92
|
+
return end;
|
|
93
|
+
}
|
|
94
|
+
const { progress } = motion;
|
|
95
|
+
const progressAt = (t) => 1 - progress.remaining(t);
|
|
96
|
+
if (rideWith == null) {
|
|
97
|
+
playAll(progress.durationMs, progressAt, () => NO_RIDE, { easing: "linear" }, (shape) => sampleOver(progress.durationMs, shape));
|
|
98
|
+
return end;
|
|
99
|
+
}
|
|
100
|
+
queueMicrotask(() => {
|
|
101
|
+
if (isDone) return;
|
|
102
|
+
const glide = glides.get(rideWith.element);
|
|
103
|
+
const durationMs = glide?.durationMs ?? progress.durationMs;
|
|
104
|
+
const rideAt = (t) => {
|
|
105
|
+
if (glide == null) return {
|
|
106
|
+
x: -rideWith.travel.x,
|
|
107
|
+
y: -rideWith.travel.y
|
|
108
|
+
};
|
|
109
|
+
const now = glide.offsetAt(t);
|
|
110
|
+
const start = glide.shownBefore;
|
|
111
|
+
return {
|
|
112
|
+
x: now.x - start.x,
|
|
113
|
+
y: now.y - start.y
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
playAll(durationMs, progressAt, rideAt, { easing: "linear" }, (shape) => sampleOver(durationMs, shape));
|
|
117
|
+
});
|
|
118
|
+
return end;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* After a change commits, before paint: elements the page already renders
|
|
122
|
+
* play frames over the change's progress on FR4's one motion, with no copy,
|
|
123
|
+
* such as a surface reaching over a gap a glide opens. Under Reduce Motion
|
|
124
|
+
* with a coarse pointer, only opacity changes; under an immediate change,
|
|
125
|
+
* nothing plays. Returns what ends them at once.
|
|
126
|
+
*/
|
|
127
|
+
function playLayoutFrames(handle, parts) {
|
|
128
|
+
const area = handle == null ? null : readArea(handle);
|
|
129
|
+
const motion = area == null ? null : layoutMotion(area);
|
|
130
|
+
if (area == null || motion == null || motion.kind === "instant") return () => {};
|
|
131
|
+
const change = changeStartIn(area, area.ownerDocument);
|
|
132
|
+
const animations = [];
|
|
133
|
+
for (const { element, frames: shape } of parts) {
|
|
134
|
+
const animation = motion.kind === "glide" ? safeAnimate(element, sampleKeyframes(motion.progress, (remaining) => shape(1 - remaining, NO_RIDE)), {
|
|
135
|
+
duration: motion.progress.durationMs,
|
|
136
|
+
easing: "linear",
|
|
137
|
+
fill: "both"
|
|
138
|
+
}, change) : safeAnimate(element, [{ opacity: 0 }, { opacity: 1 }], {
|
|
139
|
+
duration: motion.durationMs,
|
|
140
|
+
easing: motion.easing
|
|
141
|
+
}, change);
|
|
142
|
+
if (animation != null) animations.push(animation);
|
|
143
|
+
}
|
|
144
|
+
const end = () => animations.forEach((animation) => animation.cancel());
|
|
145
|
+
animations[0]?.addEventListener?.("finish", end);
|
|
146
|
+
return end;
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/SideNav/context.ts
|
|
150
|
+
const sideNavRenderModeKey = Symbol("astryx-side-nav-render-mode");
|
|
151
|
+
const defaultRenderMode = computed(() => "default");
|
|
152
|
+
function useSideNavRenderMode() {
|
|
153
|
+
return inject(sideNavRenderModeKey, defaultRenderMode);
|
|
154
|
+
}
|
|
155
|
+
const sideNavCollapseKey = Symbol("astryx-side-nav-collapse");
|
|
156
|
+
const fallbackCollapse = {
|
|
157
|
+
isCollapsed: ref(false),
|
|
158
|
+
isCollapsible: ref(false),
|
|
159
|
+
navId: "",
|
|
160
|
+
toggle: () => {}
|
|
161
|
+
};
|
|
162
|
+
function useSideNavCollapse() {
|
|
163
|
+
return inject(sideNavCollapseKey, fallbackCollapse);
|
|
164
|
+
}
|
|
165
|
+
/** Internal nesting depth; zero for top-level rows and the first rail flyout level. */
|
|
166
|
+
const sideNavDepthKey = Symbol("astryx-side-nav-depth");
|
|
167
|
+
function useSideNavDepth() {
|
|
168
|
+
return inject(sideNavDepthKey, ref(0));
|
|
169
|
+
}
|
|
170
|
+
/** AppShell 借给里面的 SideNav:让内容区跟着侧栏的收展一起动。 */
|
|
171
|
+
const sideNavShellKey = Symbol("astryx-side-nav-shell");
|
|
172
|
+
//#endregion
|
|
173
|
+
export { useSideNavCollapse as a, holdLayoutSwap as c, sideNavShellKey as i, playLayoutFrames as l, sideNavDepthKey as n, useSideNavDepth as o, sideNavRenderModeKey as r, useSideNavRenderMode as s, sideNavCollapseKey as t, playLayoutSwap as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ownScaleOf, D as glides, T as visibleRect, f as round, o as bandFor, u as takesPart, w as scaleOf } from "./batch-
|
|
1
|
+
import { C as ownScaleOf, D as glides, T as visibleRect, f as round, o as bandFor, u as takesPart, w as scaleOf } from "./batch-CM-vJhQg.js";
|
|
2
2
|
//#region src/motion/layout/edge.ts
|
|
3
3
|
/** Whether `element` lays its inline axis out right to left. */
|
|
4
4
|
function isRtl(element) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as sharedWeakMap } from "./inputStream-LZdK8luP.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { D as glides, O as numbersIn, T as visibleRect, _ as safeAnimate, d as layoutMotion, i as changeStartOf, m as sampleOver, n as batches, p as sampleKeyframes, u as takesPart, v as retimeSettle, w as scaleOf, x as intersects } from "./batch-CM-vJhQg.js";
|
|
3
|
+
import { a as isRtl, c as slideFrame, i as holdSlideClip, l as slidingParts, n as fractionClip, o as previousInFlow, r as glideMoving, s as pxClip, t as extentOf } from "./edge-BYXwSggM.js";
|
|
4
|
+
import { t as areaOf } from "./handle-BazRxHwq.js";
|
|
5
5
|
//#region src/motion/layout/playChange.ts
|
|
6
6
|
/** Each part's slide, by its motion: a stopped slide is no glide. */
|
|
7
7
|
const slideTargets = sharedWeakMap("motion/animated-layout/slide-targets", 1);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/BottomSheet/escape.ts
|
|
2
|
+
/**
|
|
3
|
+
* 下面那张独立底部弹层能不能用 Escape(以及平台的关闭请求)关掉。
|
|
4
|
+
* Popover 的底部弹层呈现用它把 `hasEscapeDismiss` 传进去:轻点外面、向下轻扫照样
|
|
5
|
+
* 能关,Escape 可以单独关掉。单独用的 BottomSheet 读默认值 true,`purpose` 的规则
|
|
6
|
+
* 不变;弹层自己再给里面提供 true,嵌套在里面的弹层从「允许」重新开始。
|
|
7
|
+
*/
|
|
8
|
+
const bottomSheetEscapeKey = Symbol("astryx-bottom-sheet-escape");
|
|
9
|
+
//#endregion
|
|
10
|
+
export { bottomSheetEscapeKey as t };
|
|
@@ -3,12 +3,14 @@ const fieldMessages = {
|
|
|
3
3
|
"en": {
|
|
4
4
|
optional: "Optional",
|
|
5
5
|
required: "Required",
|
|
6
|
-
labelTooltip: (label) => `About ${label}
|
|
6
|
+
labelTooltip: (label) => `About ${label}`,
|
|
7
|
+
errorFallback: "Invalid value"
|
|
7
8
|
},
|
|
8
9
|
"zh-CN": {
|
|
9
10
|
optional: "可选",
|
|
10
11
|
required: "必填",
|
|
11
|
-
labelTooltip: (label) => `关于${label}
|
|
12
|
+
labelTooltip: (label) => `关于${label}`,
|
|
13
|
+
errorFallback: "无效的值"
|
|
12
14
|
}
|
|
13
15
|
};
|
|
14
16
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useInputGroupContext } from "./context-Bg7eSJ47.js";
|
|
2
2
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
3
|
-
import {
|
|
3
|
+
import { s as useFormLayout } from "./context-CrVCeUUK.js";
|
|
4
4
|
import { computed } from "vue";
|
|
5
5
|
//#region src/Field/fieldParts.ts
|
|
6
6
|
const CONTAINER_WITHOUT_FIELD_MESSAGE = "`containerClass`/`containerStyle` have no effect here because no Field box renders (inside InputGroup or a `horizontal-labels` FormLayout). Inside InputGroup, style the InputGroup.";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { o as sharedKey } from "./inputStream-LZdK8luP.js";
|
|
2
|
+
//#region src/motion/layout/handle.ts
|
|
3
|
+
/**
|
|
4
|
+
* @file handle.ts
|
|
5
|
+
* @position Internal to motion/layout; split from upstream motion/animatedLayout.ts
|
|
6
|
+
*/
|
|
7
|
+
const AREA = sharedKey("animated-layout/area", 1);
|
|
8
|
+
/** The container a handle reads, or null for a value that is not a handle. */
|
|
9
|
+
function readArea(handle) {
|
|
10
|
+
const read = handle[AREA];
|
|
11
|
+
return typeof read === "function" ? read() : null;
|
|
12
|
+
}
|
|
13
|
+
/** A handle over `area` (the container element, read when a change runs). */
|
|
14
|
+
function createAnimatedLayout(area) {
|
|
15
|
+
return Object.freeze(Object.defineProperty({}, AREA, { value: area }));
|
|
16
|
+
}
|
|
17
|
+
function areaOf(handle, element) {
|
|
18
|
+
const area = readArea(handle);
|
|
19
|
+
return area != null && area !== element && area.contains(element) ? area : null;
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { createAnimatedLayout as n, readArea as r, areaOf as t };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t as isCoarsePointer } from "./coarsePointer-BfMx3H23.js";
|
|
2
|
+
import { t as holdInput } from "./inputHold-BmChuR9x.js";
|
|
3
|
+
//#region src/layer/holdEntranceInput.ts
|
|
4
|
+
/**
|
|
5
|
+
* @file holdEntranceInput.ts
|
|
6
|
+
* @input 刚开始播 CSS 进场动画的浮层根元素
|
|
7
|
+
* @output holdEntranceInput:主指针是粗略指针(手指、笔)时,进场播完之前挡住输入
|
|
8
|
+
* @position 用 CSS 进场的浮层(Dialog、Drawer、MobileNav)的进场暂挡,建在 `inputHold.ts` 上
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* 进场播完前(最多 `capMs`)把手指和笔的输入挡在 `layer` 外面。返回放开的函数;
|
|
12
|
+
* 没有进场在播、或主指针是精细指针时什么都不挡,返回 `null`。
|
|
13
|
+
*/
|
|
14
|
+
function holdEntranceInput(layer, { isModal = true, entrance: animated = layer, capMs } = {}) {
|
|
15
|
+
if (animated == null || typeof animated.getAnimations !== "function") return null;
|
|
16
|
+
const entrance = animated.getAnimations().filter(isEntrance);
|
|
17
|
+
if (entrance.length === 0) return null;
|
|
18
|
+
if (!isCoarsePointer(layer.ownerDocument.defaultView)) return null;
|
|
19
|
+
const ended = Promise.all(entrance.map(async (animation) => animation.finished));
|
|
20
|
+
return holdInput(layer, {
|
|
21
|
+
until: capMs == null ? ended : Promise.race([ended, after(capMs)]),
|
|
22
|
+
scope: isModal ? "viewport" : "surface"
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function after(ms) {
|
|
26
|
+
await new Promise((resolve) => {
|
|
27
|
+
setTimeout(resolve, ms);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/** 会自己结束的、正在播的动画:进场,而不是转圈。 */
|
|
31
|
+
function isEntrance(animation) {
|
|
32
|
+
if (animation.playState !== "running") return false;
|
|
33
|
+
const end = animation.effect?.getComputedTiming().endTime;
|
|
34
|
+
return typeof end === "number" && Number.isFinite(end);
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { holdEntranceInput as t };
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "reset" | "submit";
|
|
12
|
-
elevation: ButtonElevation;
|
|
13
12
|
isDisabled: boolean;
|
|
13
|
+
elevation: ButtonElevation;
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
isIconOnly: boolean;
|
|
16
16
|
isInterruptible: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as IndicatorName, E as IndicatorComponent, M as IndicatorProps, P as IndicatorSize, T as CoreIndicatorName, g as ThemeDefinition } from "./adaptationTypes-Cn_pfrsw.js";
|
|
2
2
|
import { ComputedRef, VNodeChild } from "vue";
|
|
3
3
|
//#region src/Indicator/CheckIndicator.vue.d.ts
|
|
4
4
|
type __VLS_Props$1 = IndicatorProps<'singleSelection'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CalendarSystem, i as AstryxLocale } from "./power-search-CuMzfLwW.js";
|
|
2
|
-
import { s as AstryxMessages } from "./loadCatalog-
|
|
2
|
+
import { s as AstryxMessages } from "./loadCatalog-2Hu-xisJ.js";
|
|
3
3
|
import { ComputedRef, InjectionKey, MaybeRefOrGetter } from "vue";
|
|
4
4
|
//#region src/locale/context.d.ts
|
|
5
5
|
declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<string>>;
|
|
@@ -99,8 +99,8 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
99
99
|
//#region src/Stepper/Stepper.vue.d.ts
|
|
100
100
|
type __VLS_Slots = StepperSlots;
|
|
101
101
|
declare const __VLS_base: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
|
|
102
|
-
orientation: StepperOrientation;
|
|
103
102
|
density: StepperDensity;
|
|
103
|
+
orientation: StepperOrientation;
|
|
104
104
|
indicatorPosition: StepperIndicatorPosition;
|
|
105
105
|
hasCollapsibleLabels: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as ExtendedIconName } from "./types-D8t_HevJ.js";
|
|
2
2
|
import { n as LayerPlacement } from "./position-DFW5ymAF.js";
|
|
3
3
|
import { t as OptionActionNode } from "./optionAction-Cg7xQLUA.js";
|
|
4
|
-
import { o as FieldStatusInput } from "./types-
|
|
4
|
+
import { o as FieldStatusInput } from "./types-Cvh2VwQZ.js";
|
|
5
5
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
6
6
|
import { Component, VNode, VNodeChild } from "vue";
|
|
7
7
|
//#region src/Selector/types.d.ts
|
|
@@ -174,18 +174,18 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
|
|
|
174
174
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
175
175
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
|
-
isLoading: boolean;
|
|
178
|
-
variant: SelectorVariant;
|
|
179
177
|
status: SelectorStatusInput;
|
|
180
178
|
isOptional: boolean;
|
|
181
179
|
indicatorPosition: SelectorIndicatorPosition;
|
|
180
|
+
isLoading: boolean;
|
|
181
|
+
variant: SelectorVariant;
|
|
182
182
|
modelValue: string | number | null;
|
|
183
183
|
isLabelHidden: boolean;
|
|
184
184
|
isRequired: boolean;
|
|
185
185
|
statusVariant: SelectorStatusVariant;
|
|
186
186
|
isReadOnly: boolean;
|
|
187
|
-
disabled: boolean;
|
|
188
187
|
presentation: SelectorPresentation;
|
|
188
|
+
disabled: boolean;
|
|
189
189
|
searchable: boolean;
|
|
190
190
|
clearable: boolean;
|
|
191
191
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CalendarSystem } from "./power-search-CuMzfLwW.js";
|
|
2
|
-
import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-
|
|
2
|
+
import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-2Hu-xisJ.js";
|
|
3
3
|
import { ComputedRef, InjectionKey } from "vue";
|
|
4
4
|
//#region src/InternationalizationProvider/catalog.d.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as ExtendedIconName } from "./types-D8t_HevJ.js";
|
|
2
2
|
import { s as ButtonSize } from "./types-DRpOiAlm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as FieldStatusInput, u as FieldStatusVariant } from "./types-Cvh2VwQZ.js";
|
|
4
4
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
5
|
-
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-
|
|
5
|
+
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-BA1veIoa.js";
|
|
6
6
|
import { Component, HTMLAttributes, Ref, StyleValue, VNode } from "vue";
|
|
7
7
|
//#region src/ComplexSelector/types.d.ts
|
|
8
8
|
interface ComplexSelectorState {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as FieldStatusProps, u as FieldStatusVariant } from "./types-Cvh2VwQZ.js";
|
|
2
2
|
//#region src/Field/FieldStatus.vue.d.ts
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<FieldStatusProps, {
|
|
4
4
|
element: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
|
|
@@ -36,9 +36,9 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
36
36
|
blur: typeof blur;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
38
38
|
isDisabled: boolean;
|
|
39
|
-
as: ItemElement;
|
|
40
|
-
layout: ItemLayout;
|
|
41
39
|
density: ListDensity;
|
|
40
|
+
layout: ItemLayout;
|
|
41
|
+
as: ItemElement;
|
|
42
42
|
isSelected: boolean;
|
|
43
43
|
align: ItemAlign;
|
|
44
44
|
isHighlighted: boolean;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
28
28
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
block: boolean;
|
|
31
|
-
size: NavItemSize;
|
|
32
31
|
isDisabled: boolean;
|
|
32
|
+
size: NavItemSize;
|
|
33
33
|
isIconOnly: boolean;
|
|
34
34
|
isSelected: boolean;
|
|
35
35
|
isFocusableWhenDisabled: boolean;
|
|
@@ -89,11 +89,11 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
89
89
|
placement: HoverCardPlacement;
|
|
90
90
|
alignment: HoverCardAlignment;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
|
+
isEnabled: boolean;
|
|
92
93
|
delay: number;
|
|
93
94
|
hideDelay: number;
|
|
94
95
|
focusTrigger: HoverCardFocusTrigger;
|
|
95
96
|
touchTrigger: HoverCardTouchTrigger;
|
|
96
|
-
isEnabled: boolean;
|
|
97
97
|
hasHoverIndication: HoverCardHoverIndication;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
99
99
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
175
175
|
}>, {
|
|
176
176
|
position: OverlayPosition;
|
|
177
177
|
align: OverlayAlign;
|
|
178
|
-
showOn: OverlayShowOn;
|
|
179
178
|
scrim: OverlayScrimMode;
|
|
179
|
+
showOn: OverlayShowOn;
|
|
180
180
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
181
181
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
182
182
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
|
|
|
192
192
|
isOpen: boolean;
|
|
193
193
|
position: OverlayPosition;
|
|
194
194
|
align: OverlayAlign;
|
|
195
|
-
showOn: OverlayShowOn;
|
|
196
195
|
scrim: OverlayScrimMode;
|
|
196
|
+
showOn: OverlayShowOn;
|
|
197
197
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
198
198
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
199
199
|
declare const _default: typeof __VLS_export;
|
|
@@ -405,11 +405,11 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
|
|
|
405
405
|
}>, {
|
|
406
406
|
status: PowerSearchStatus;
|
|
407
407
|
statusVariant: PowerSearchStatusVariant;
|
|
408
|
-
overflow: PowerSearchOverflow;
|
|
409
408
|
hasClear: boolean;
|
|
409
|
+
labelHidden: boolean;
|
|
410
410
|
disabled: boolean;
|
|
411
411
|
clearable: boolean;
|
|
412
|
-
|
|
412
|
+
overflow: PowerSearchOverflow;
|
|
413
413
|
readOnly: boolean;
|
|
414
414
|
maxTokenLength: number;
|
|
415
415
|
maxSearchResults: number;
|
|
@@ -162,8 +162,8 @@ declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}
|
|
|
162
162
|
}>, {
|
|
163
163
|
layout: TabListLayout;
|
|
164
164
|
isFullBleed: boolean;
|
|
165
|
-
overflow: TabListOverflow;
|
|
166
165
|
hasDivider: boolean;
|
|
166
|
+
overflow: TabListOverflow;
|
|
167
167
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
168
168
|
declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
169
169
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -63,8 +63,8 @@ interface TreeListSlots {
|
|
|
63
63
|
//#region src/TreeList/TreeList.vue.d.ts
|
|
64
64
|
type __VLS_Slots = TreeListSlots;
|
|
65
65
|
declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
|
|
66
|
-
variant: TreeListVariant;
|
|
67
66
|
density: TreeListDensity;
|
|
67
|
+
variant: TreeListVariant;
|
|
68
68
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
69
69
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
70
70
|
declare const _default: typeof __VLS_export;
|
|
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
label?: (props: typeof __VLS_1) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
24
|
-
variant: DividerVariant;
|
|
25
24
|
orientation: DividerOrientation;
|
|
25
|
+
variant: DividerVariant;
|
|
26
26
|
isFullBleed: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -343,8 +343,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
343
343
|
};
|
|
344
344
|
}>> & Readonly<{}>, {
|
|
345
345
|
plugins: readonly (MarkdownPluginEntry<MarkdownExtensionNode<string, string, MarkdownAstDataValue, "inline" | "block">> | MarkdownPlugin)[] | undefined;
|
|
346
|
-
content: string;
|
|
347
346
|
density: MarkdownDensity | undefined;
|
|
347
|
+
content: string;
|
|
348
348
|
display: MarkdownDisplay | undefined;
|
|
349
349
|
contentWidth: string | number | undefined;
|
|
350
350
|
components: MarkdownComponents | undefined;
|
|
@@ -92,8 +92,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
|
|
|
92
92
|
variant: DialogVariant;
|
|
93
93
|
width: string | number;
|
|
94
94
|
padding: DialogPadding;
|
|
95
|
-
isInline: boolean;
|
|
96
95
|
position: DialogPosition;
|
|
96
|
+
isInline: boolean;
|
|
97
97
|
purpose: DialogPurpose;
|
|
98
98
|
maxHeight: string | number;
|
|
99
99
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as ThemeIconVariant, f as DefineThemeInput, g as ThemeDefinition, m as MediaThemeProps, v as ThemeMode, y as ThemeProps } from "./adaptationTypes-Cn_pfrsw.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/Theme/dataTokens.d.ts
|
|
4
4
|
/**
|
|
@@ -43,8 +43,8 @@ interface ProgressBarProps {
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/ProgressBar/ProgressBar.vue.d.ts
|
|
45
45
|
declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
46
|
-
size: ProgressBarSize;
|
|
47
46
|
isDisabled: boolean;
|
|
47
|
+
size: ProgressBarSize;
|
|
48
48
|
value: number;
|
|
49
49
|
variant: ProgressBarVariant;
|
|
50
50
|
isLabelHidden: boolean;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as PopoverProps, n as PopoverPadding, o as PopoverRole, r as PopoverPlacement, s as AdaptivePresentation, t as PopoverAlignment } from "./types-BA1veIoa.js";
|
|
3
3
|
import { CSSProperties, ComputedRef, MaybeRefOrGetter, Ref } from "vue";
|
|
4
4
|
//#region src/Popover/Popover.vue.d.ts
|
|
5
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_17: {};
|
|
5
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_17: {}, __VLS_35: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
} & {
|
|
9
9
|
default?: (props: typeof __VLS_3) => any;
|
|
10
10
|
} & {
|
|
11
11
|
content?: (props: typeof __VLS_17) => any;
|
|
12
|
+
} & {
|
|
13
|
+
content?: (props: typeof __VLS_35) => any;
|
|
12
14
|
};
|
|
13
15
|
declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
16
|
openChange: (isOpen: boolean) => any;
|
|
@@ -23,6 +25,7 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
23
25
|
placement: LayerPlacement;
|
|
24
26
|
alignment: LayerAlignment;
|
|
25
27
|
hasAutoFocus: boolean;
|
|
28
|
+
presentation: AdaptivePresentation;
|
|
26
29
|
role: PopoverRole;
|
|
27
30
|
hasCloseButton: boolean;
|
|
28
31
|
closeButtonLabel: string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
//#region src/Badge/types.d.ts
|
|
2
|
+
interface BadgeVariantMap {
|
|
3
|
+
blue: true;
|
|
4
|
+
cyan: true;
|
|
5
|
+
error: true;
|
|
6
|
+
green: true;
|
|
7
|
+
info: true;
|
|
8
|
+
neutral: true;
|
|
9
|
+
orange: true;
|
|
10
|
+
pink: true;
|
|
11
|
+
purple: true;
|
|
12
|
+
red: true;
|
|
13
|
+
success: true;
|
|
14
|
+
teal: true;
|
|
15
|
+
warning: true;
|
|
16
|
+
yellow: true;
|
|
17
|
+
}
|
|
18
|
+
type BadgeVariant = Extract<keyof BadgeVariantMap, string>;
|
|
19
|
+
interface BadgeProps {
|
|
20
|
+
/**
|
|
21
|
+
* The visual style of the badge.
|
|
22
|
+
*
|
|
23
|
+
* @default 'neutral'
|
|
24
|
+
*/
|
|
25
|
+
variant?: BadgeVariant;
|
|
26
|
+
/**
|
|
27
|
+
* Badge text. A string or number is also set as the title so a clipped
|
|
28
|
+
* label stays reachable. The default slot overrides this when both are set.
|
|
29
|
+
*/
|
|
30
|
+
label?: string | number;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/Badge/Badge.vue.d.ts
|
|
34
|
+
type __VLS_Slots = {
|
|
35
|
+
default?: () => unknown;
|
|
36
|
+
icon?: () => unknown;
|
|
37
|
+
};
|
|
38
|
+
declare const __VLS_base: import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
39
|
+
variant: BadgeVariant;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { BadgeVariantMap as i, BadgeProps as n, BadgeVariant as r, _default as t };
|