@astryx-vue/core 0.42.5 → 0.43.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-JxwAj9d0.js → AlertDialog-r9VdV_oH.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BQz-P6TD.js → Avatar-Dl2oiG7t.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DiL8_fei.js → Banner-u7GJQV3O.js} +33 -16
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DRimCV1O.js → BottomSheet-C65IqXMQ.js} +2 -2
- package/dist/{BottomSheet-q49-srZ5.js → BottomSheet-CY-dU3F5.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DJU3Bz_u.js → Breadcrumbs-D_GhNvfK.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-D993OBya.js → Button-D8vn_DnZ.js} +22 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CknFA9IA.js → ButtonGroup-Bt7UZF_U.js} +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-Ch3n05iF.js → Carousel-BE-PqpOJ.js} +48 -14
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-ZZNA436T.js → Chat-D_CxKvTw.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-ChbqO3Hp.js → CheckboxInput-CiSb9VDk.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-3y4ehVhz.js → CheckboxListItem-BwGzAz8V.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-N2hjeC8T.js → Code-Cnk4QmuK.js} +1 -1
- package/dist/{CodeBlock-osW2DJ_E.js → CodeBlock-PuLo1vOn.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CIpvefL3.js → CommandPalette-BdfvSd8U.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BB4He_wN.js → ComplexSelector-QpUODnLj.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-F315dVbZ.js → ContextMenu-BebiNEFX.js} +3 -3
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-Cm8zmBUt.js → DateInput-B1C1bpAH.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-FiY0JZxV.js → DateRangeInput-ByHRQ-Is.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DBBrIFnm.js → DateTimeInput-DkFcxpoJ.js} +6 -6
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-6rKG9kce.js → Dialog-CgnIHMCI.js} +32 -5
- package/dist/{Dialog-CEbICn0m.js → Dialog-zqsAwjle.js} +1 -1
- package/dist/{DialogHeader-DEUH-s-L.js → DialogHeader-BpQQMQcb.js} +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-DiRhP2q-.js → Drawer-CWL0fCGw.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CQ-ZROFm.js → DropdownMenu-Sb9A2F_S.js} +5 -5
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DOMOEsvj.js → EmptyState-B57OV1V_.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DJGFZuwh.js → Field-jM0Ithrd.js} +1 -1
- package/dist/{FieldInfoTip-DFlEh8tG.js → FieldInfoTip-BrxcbuTn.js} +1 -1
- package/dist/{FieldLabel-BZiHqHsQ.js → FieldLabel-BmjvZVOQ.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-D99uvmKg.js → FileInput-Bb6LdXY1.js} +4 -4
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-CsSZgiqn.js → Heading-Cymy5utP.js} +3 -3
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DhEjewin.js → IconButton-BdXfxjCD.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-B_7kJX7x.js → InfoTip-BCOxwsJ4.js} +1 -1
- package/dist/{InputClearButton-BGtTipa-.js → InputClearButton-Dp87bq1c.js} +3 -2
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-DC2V0AYP.js → InputGroup-CsEB0Ufk.js} +1 -1
- package/dist/{Item-DznHXYbG.js → Item-DOATMVXE.js} +4 -4
- package/dist/Kbd/index.js +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CBS2EhuG.js → Lightbox-CQ0sOdK4.js} +40 -11
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-5KuMIFYl.js → Link-CRNgZw--.js} +14 -4
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +4 -4
- package/dist/{List-BVpWTW6J.js → List-CsumsvTg.js} +2 -2
- package/dist/{ListItem-BzOD8HbS.js → ListItem-DHpWkhT9.js} +2 -2
- package/dist/{LongPressGestureRecognizer-C1JQQdg-.js → LongPressGestureRecognizer-V_iVvLNU.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-B0VlS0CH.js → Markdown-DwCAq1ds.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DYa6tOl8.js → MoreMenu-BJqN4qQ6.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CnsBju0o.js → MultiSelector-BI_uF-yk.js} +5 -5
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DADBh_WZ.js → NumberInput-DIgfEtYW.js} +3 -3
- package/dist/OverflowList/index.d.ts +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-DeV3vsXr.js → Pagination-BPGgks2l.js} +2 -2
- package/dist/{PanGestureRecognizer-_yCWSqMD.js → PanGestureRecognizer-Crc0PhW0.js} +1 -1
- package/dist/{PickerWheel-DJqK1f2w.js → PickerWheel-WEFgBW8I.js} +4 -4
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BVzTrVp-.js → Popover-OhEtacTy.js} +254 -34
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CdXq9Nma.js → PowerSearch-DPGknVx8.js} +24 -24
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Otv4DLQP.js → ProgressBar-IRNmWLg-.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BYZ9mspa.js → RadioGroup-DoI7wu5m.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-BjiT8DAp.js → RadioListItem-Bb0ggwoG.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DgZ2y1ff.js → SegmentedControl-DjruBeFm.js} +2 -2
- 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-DERRZ5Hh.js → Selector-D8BEYok_.js} +3 -3
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-_MGkSxQG.js → SideNav-BYWNIIXT.js} +3 -3
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BrZeUJJF.js → Slider-pnFJ6MfZ.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-lLOYfbOY.js → Spinner-D6U81W87.js} +1 -1
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Ce31aeru.js → StatusDot-CdtauWfk.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-MeieW4dP.js → Switch-BJ9skC9r.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-wVIUIfKH.js → Table-DQazvJ4Q.js} +170 -31
- package/dist/{TapGestureRecognizer-CH88amVE.js → TapGestureRecognizer-Cv0y3c02.js} +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BLPg6wdX.js → Text-9twwURuI.js} +3 -3
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BPNEV23k.js → TextArea-C66zML5G.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-D3XelSwo.js → TextInput-BGsRns-X.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BoTOXxGq.js → Thumbnail-iJILNRPc.js} +3 -3
- package/dist/{TimeField-BdVLsMYr.js → TimeField-Ct2akfr9.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D-i2TFnX.js → TimeInput-CBVMN37Z.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-i3ujG9pH.js → Timer-DBujcX_B.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BqNCcvsK.js → Timestamp-Dv6_wb89.js} +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BGzbZs-G.js → Toast-C3khq9NA.js} +12 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-CqVXRm6U.js → ToggleButton-fvo3Mxmb.js} +2 -2
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-B9pKIuXP.js → Token-B_jnJ700.js} +47 -7
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-TB5Cd8Pz.js → Tokenizer-3nwPA8Az.js} +12 -12
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CFQrHG0a.js → Tooltip-W32cHQH0.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-PNNYCcZn.js → Typeahead-KXBQ4jXf.js} +5 -5
- package/dist/{accessibleName-BVk1Rzrl.js → accessibleName-Dpzu2nL1.js} +1 -1
- package/dist/{announceRenderedText-CslZ0cev.js → announceRenderedText-pHs_kfQB.js} +3 -2
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +4 -4
- package/dist/{composables-DeNxbB0w.js → composables-cdO2fBF6.js} +7 -18
- package/dist/{context-Cgkyk-b7.js → context-Ds4l8NtJ.js} +6 -1
- package/dist/devWarnings-DI1R0rGp.js +14 -0
- package/dist/{index-C93nwgTW.d.ts → index-51CkIKnI.d.ts} +1 -1
- package/dist/{index-PydsflFS.d.ts → index-ADSpm_Dq.d.ts} +8 -8
- package/dist/{index-J83fLEyo.d.ts → index-B7-c8UTz.d.ts} +3 -3
- package/dist/{index-B44fLswd.d.ts → index-B7Yl723I.d.ts} +1 -1
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
- package/dist/{index-B7vE2Dx8.d.ts → index-BK9UUbsu.d.ts} +2 -2
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-BaFphczL.d.ts} +1 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-CJT9kM7e.d.ts → index-BstD8W_P.d.ts} +19 -4
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-CpLGbFCR.d.ts → index-C5aEstRY.d.ts} +3 -3
- package/dist/{index-C3JmGujU.d.ts → index-C9uW39Mj.d.ts} +2 -2
- package/dist/{index-Bwh8O-v8.d.ts → index-CC9ETLL4.d.ts} +2 -2
- package/dist/{index-hE8MBOld.d.ts → index-CLOppj9J.d.ts} +8 -8
- package/dist/{index-Dk50Zh3F.d.ts → index-D3UaSnbN.d.ts} +1 -1
- package/dist/{index-DAz4l6Jw.d.ts → index-DD3c1ZhS.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-DDrL_-hJ.d.ts} +2 -2
- package/dist/{index-CEdoNcHF.d.ts → index-K9yFjQxo.d.ts} +3 -3
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-Ak1b0V24.d.ts → index-a6o69uPN.d.ts} +1 -1
- package/dist/{index-0RIgvtdm.d.ts → index-beOIC0Qk.d.ts} +1 -1
- package/dist/{index-CLbslOVk.d.ts → index-cxXrnuj3.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-CAC3Bhus.d.ts → index-vuxO2gyJ.d.ts} +83 -83
- package/dist/index.d.ts +32 -32
- package/dist/index.js +79 -79
- package/dist/internal/touch.js +6 -6
- package/dist/{itemSlots-CIQbrKkZ.js → itemSlots-D9aPTELK.js} +2 -2
- package/dist/{layerFocusReturn-uixUCSc8.js → layerFocusReturn-Bl6yja5A.js} +50 -2
- package/dist/{lazyBottomSheet-BfDsDl4w.js → lazyBottomSheet-CXBBo9Ao.js} +1 -1
- package/dist/rootFocusHandoff-CORyJeRP.js +25 -0
- package/dist/{snapPagingCatcher-DUb8YU3G.js → snapPagingCatcher-CQ34r-x-.js} +1 -1
- package/dist/{types-DTlpQo7j.d.ts → types-BsFCq23a.d.ts} +11 -2
- package/dist/{useFingerScroll-DO4LVzDf.js → useFingerScroll-CC19P9JS.js} +1 -1
- package/dist/{useGestureRecognizer-CozA1twZ.js → useGestureRecognizer-D5kNuQzG.js} +1 -1
- package/dist/{useInputStatusIcon-BvJML52B.js → useInputStatusIcon-BW70yd3c.js} +1 -1
- package/dist/{useResizable-CKDaU_se.d.ts → useResizable-CJFVvx_2.d.ts} +4 -0
- package/dist/{useTooltip-CdD6ivAv.js → useTooltip-D5kJD9ed.js} +1 -1
- package/dist/{useTruncationTooltip-C37kvtXu.js → useTruncationTooltip-Cx4R7Fyp.js} +12 -5
- package/dist/{useTypeaheadMenuConfig-DHX88vqs.js → useTypeaheadMenuConfig-TSkUldd9.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/styles/button.css +7 -2
- package/styles/carousel.css +15 -0
- package/styles/citation.css +7 -2
- package/styles/dialog.css +5 -0
- package/styles/drawer.css +6 -0
- package/styles/popover.css +11 -3
- package/styles/table.css +31 -8
- package/styles/toast.css +6 -0
- package/styles/token.css +30 -0
- package/dist/{GestureHost-CRgadcBb.js → GestureHost-DXlDxyns.js} +1 -1
- package/dist/{Kbd-CbD993ig.js → Kbd-CwtGTUmB.js} +1 -1
- package/dist/{index-DKlE9Iqk.d.ts → index-7tsRPFfY.d.ts} +1 -1
- package/dist/{useResizable-mkUwYfmy.js → useResizable-Diq3vRVH.js} +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-
|
|
1
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-r9VdV_oH.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as pressGroupItemProps } from "./useTouchHitArea-CxqNaIyt.js";
|
|
2
2
|
import { t as useActionGroupTracking } from "./useActionGroupTracking-CGikRIWR.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$1 } from "./Button-D8vn_DnZ.js";
|
|
4
4
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
5
5
|
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
6
6
|
import { n as createMotionEngine } from "./animator-D6Buqmbt.js";
|
|
7
7
|
import { r as readThemeTimingOrInstant } from "./themeTiming-DOf0j6SM.js";
|
|
8
8
|
import { t as holdInput } from "./inputHold-B53XZ8if.js";
|
|
9
|
-
import { t as _sfc_main$2 } from "./Dialog-
|
|
10
|
-
import { t as _sfc_main$3 } from "./Heading-
|
|
9
|
+
import { t as _sfc_main$2 } from "./Dialog-CgnIHMCI.js";
|
|
10
|
+
import { t as _sfc_main$3 } from "./Heading-Cymy5utP.js";
|
|
11
11
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
12
12
|
import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
|
|
13
|
-
import { t as _sfc_main$5 } from "./Text-
|
|
13
|
+
import { t as _sfc_main$5 } from "./Text-9twwURuI.js";
|
|
14
14
|
import { n as mapRange, t as mapProgress } from "./progress-FQfSgLZC.js";
|
|
15
15
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
16
16
|
import "../styles/alert-dialog.css";
|
package/dist/AppShell/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-
|
|
1
|
+
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-T5bzxQ30.js";
|
|
2
2
|
export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-Dl2oiG7t.js";
|
|
2
2
|
export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
|
|
@@ -4,7 +4,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
|
-
import { t as _sfc_main$2 } from "./Tooltip-
|
|
7
|
+
import { t as _sfc_main$2 } from "./Tooltip-W32cHQH0.js";
|
|
8
8
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
9
9
|
import { a as resolveStatusDotMetrics, i as resolveSize, n as cssString, o as resolveStatusDotVariant, r as getInitials, s as AvatarGroupContext, t as composeAccessibleName } from "./utils-BTkg5Ie9.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Al as BannerStatus, Dl as BannerEmits, El as BannerContainer, Ol as BannerProps, Tl as _default, kl as BannerSlots } from "../index-
|
|
1
|
+
import { Al as BannerStatus, Dl as BannerEmits, El as BannerContainer, Ol as BannerProps, Tl as _default, kl as BannerSlots } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
package/dist/Banner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Banner-
|
|
1
|
+
import { t as _sfc_main } from "../Banner-u7GJQV3O.js";
|
|
2
2
|
export { _sfc_main as Banner };
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
2
|
+
import { r as buttonTooltipInNameContextKey } from "./context-Ds4l8NtJ.js";
|
|
2
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { t as _sfc_main$
|
|
4
|
-
import { t as _sfc_main$
|
|
4
|
+
import { t as _sfc_main$2 } from "./FieldIcon-C6A69-um.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./IconButton-BdXfxjCD.js";
|
|
5
6
|
import { t as bannerMessages } from "./banner-Bv76b50U.js";
|
|
6
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
7
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
7
8
|
import "../styles/banner.css";
|
|
8
9
|
import "../styles/field.css";
|
|
10
|
+
//#region src/Button/ButtonTooltipInName.vue
|
|
11
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
12
|
+
name: "AstryxButtonTooltipInName",
|
|
13
|
+
__name: "ButtonTooltipInName",
|
|
14
|
+
setup(__props) {
|
|
15
|
+
/** 包住名称已经包含提示文字的内部按钮:提示照常显示,不再挂成描述。 */
|
|
16
|
+
provide(buttonTooltipInNameContextKey, true);
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return renderSlot(_ctx.$slots, "default");
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
9
23
|
//#region src/Banner/Banner.vue
|
|
10
24
|
const _hoisted_1 = [
|
|
11
25
|
"data-container",
|
|
@@ -154,7 +168,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
154
168
|
class: "astryx-banner-icon",
|
|
155
169
|
"data-status": visualStatus.value,
|
|
156
170
|
"aria-hidden": "true"
|
|
157
|
-
}, [renderSlot(_ctx.$slots, "icon", {}, () => [icon.value ? (openBlock(), createBlock(resolveDynamicComponent(icon.value), { key: 0 })) : visualStatus.value ? (openBlock(), createBlock(_sfc_main$
|
|
171
|
+
}, [renderSlot(_ctx.$slots, "icon", {}, () => [icon.value ? (openBlock(), createBlock(resolveDynamicComponent(icon.value), { key: 0 })) : visualStatus.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
158
172
|
key: 1,
|
|
159
173
|
type: visualStatus.value,
|
|
160
174
|
size: "md",
|
|
@@ -174,7 +188,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
174
188
|
], 16, _hoisted_4),
|
|
175
189
|
hasEnd.value || __props.isDismissable || hasContent() && __props.collapsible ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
176
190
|
renderSlot(_ctx.$slots, "end"),
|
|
177
|
-
hasContent() && __props.collapsible ? (openBlock(), createBlock(_sfc_main$
|
|
191
|
+
hasContent() && __props.collapsible ? (openBlock(), createBlock(_sfc_main$3, {
|
|
178
192
|
key: 0,
|
|
179
193
|
ref_key: "toggleButton",
|
|
180
194
|
ref: toggleButton,
|
|
@@ -203,18 +217,21 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
203
217
|
"aria-expanded",
|
|
204
218
|
"aria-controls"
|
|
205
219
|
])) : createCommentVNode("v-if", true),
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
220
|
+
createCommentVNode(" 名称(「Dismiss {title}」)已经包含提示文字,提示不再挂成描述。 "),
|
|
221
|
+
__props.isDismissable ? (openBlock(), createBlock(_sfc_main$1, { key: 1 }, {
|
|
222
|
+
default: withCtx(() => [createVNode(_sfc_main$3, {
|
|
223
|
+
class: "astryx-banner-control astryx-banner-close",
|
|
224
|
+
variant: "ghost",
|
|
225
|
+
size: "sm",
|
|
226
|
+
label: dismissName.value,
|
|
227
|
+
tooltip: dismissTooltip.value,
|
|
228
|
+
onClick: dismiss
|
|
229
|
+
}, {
|
|
230
|
+
default: withCtx(() => [createVNode(_sfc_main$2, { type: "clear" })]),
|
|
231
|
+
_: 1
|
|
232
|
+
}, 8, ["label", "tooltip"])]),
|
|
216
233
|
_: 1
|
|
217
|
-
}
|
|
234
|
+
})) : createCommentVNode("v-if", true)
|
|
218
235
|
])) : createCommentVNode("v-if", true)
|
|
219
236
|
], 8, _hoisted_2), hasContent() && expanded.value ? (openBlock(), createElementBlock("div", {
|
|
220
237
|
key: 0,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main } from "../BottomSheet-
|
|
2
|
-
import { t as _sfc_main$1 } from "../BottomSheet-
|
|
1
|
+
import { n as _sfc_main } from "../BottomSheet-CY-dU3F5.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "../BottomSheet-C65IqXMQ.js";
|
|
3
3
|
export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as writeScrimOpacity, a as isClosingTogether, b as focusSheetPanel, c as reportClosedTogether, d as bottomSheetSwitcherKey, f as cancelScrimWrite, g as returnFocusTo, h as presentWithClearScrim, i as getBottomSheetBeneath, l as setBottomSheetOpen, m as presentStepModally, o as notifyBottomSheetHostChanged, p as closeDialogKeepingFocus, r as useSheetLayerDismiss, s as registerBottomSheet, u as useModalOutletWhile, v as BOTTOM_SHEET_STACK_DEFAULT_VIEW, y as bottomSheetHostKey } from "./BottomSheet-
|
|
1
|
+
import { _ as writeScrimOpacity, a as isClosingTogether, b as focusSheetPanel, c as reportClosedTogether, d as bottomSheetSwitcherKey, f as cancelScrimWrite, g as returnFocusTo, h as presentWithClearScrim, i as getBottomSheetBeneath, l as setBottomSheetOpen, m as presentStepModally, o as notifyBottomSheetHostChanged, p as closeDialogKeepingFocus, r as useSheetLayerDismiss, s as registerBottomSheet, u as useModalOutletWhile, v as BOTTOM_SHEET_STACK_DEFAULT_VIEW, y as bottomSheetHostKey } from "./BottomSheet-CY-dU3F5.js";
|
|
2
2
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
3
3
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
4
|
-
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-
|
|
4
|
+
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-Bl6yja5A.js";
|
|
5
5
|
import { computed, createElementBlock, defineComponent, getCurrentInstance, inject, mergeModels, normalizeClass, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useAttrs, useModel, useTemplateRef, watch } from "vue";
|
|
6
6
|
import "../styles/bottom-sheet.css";
|
|
7
7
|
//#region src/BottomSheet/switcher/useSwitcherStack.ts
|
|
@@ -15,7 +15,7 @@ import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
|
15
15
|
import { t as rubberBand } from "./rubberBand-CE3LYEUx.js";
|
|
16
16
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-COtRAAWq.js";
|
|
17
17
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
18
|
-
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-
|
|
18
|
+
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-Bl6yja5A.js";
|
|
19
19
|
import { i as removeModalOutlet, r as notifyTopLayerEntry, t as addModalOutlet } from "./modalOutlet-C2nqIYUt.js";
|
|
20
20
|
import { o as provideLayoutContainer } from "./context-D-Hwh-Jf.js";
|
|
21
21
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$3, o as _sfc_main$2, s as _sfc_main$1 } from "../accessibleName-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
1
|
+
import { a as _sfc_main$3, o as _sfc_main$2, s as _sfc_main$1 } from "../accessibleName-Dpzu2nL1.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-D_GhNvfK.js";
|
|
3
3
|
export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
|
|
@@ -3,7 +3,7 @@ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide
|
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./DropdownMenu-
|
|
6
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-Sb9A2F_S.js";
|
|
7
7
|
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
8
8
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
9
9
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DRpOiAlm.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-C5aEstRY.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
package/dist/Button/index.js
CHANGED
|
@@ -11,10 +11,12 @@ import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js
|
|
|
11
11
|
import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-BjnT3wIz.js";
|
|
12
12
|
import { t as _sfc_main$4 } from "./LayerContentBoundary-CMjCvF35.js";
|
|
13
13
|
import { r as isKeyboardModality } from "./interactionModality-4Km2ibsq.js";
|
|
14
|
+
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
15
|
+
import { t as useRootFocusHandoff } from "./rootFocusHandoff-CORyJeRP.js";
|
|
14
16
|
import { n as cutTextDirection, r as plainSlotText, t as CUT_TEXT_PAGE_ALIGN_CLASS } from "./textDirection-DJl_tYja.js";
|
|
15
17
|
import { t as _sfc_main$5 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
16
18
|
import { t as _sfc_main$6 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
17
|
-
import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-
|
|
19
|
+
import { n as buttonHitAreaContextKey, r as buttonTooltipInNameContextKey, t as buttonGroupContextKey } from "./context-Ds4l8NtJ.js";
|
|
18
20
|
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
19
21
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
20
22
|
import { Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toRef, unref, useAttrs, useId, useSlots, useTemplateRef, withCtx } from "vue";
|
|
@@ -326,6 +328,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
326
328
|
return root.$el instanceof HTMLElement ? root.$el : null;
|
|
327
329
|
});
|
|
328
330
|
useTouchHitArea(element, hasHitArea);
|
|
331
|
+
useRootFocusHandoff(() => element.value, () => rootComponent.value);
|
|
329
332
|
const buttonTooltip = useButtonTooltip(hasTooltip);
|
|
330
333
|
const labelElement = useTemplateRef("labelText");
|
|
331
334
|
const cutLabel = useCutTextOnKeyboardFocus({
|
|
@@ -364,7 +367,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
364
367
|
if (attrs["aria-labelledby"] != null) return void 0;
|
|
365
368
|
return ariaLabel.value ?? props.label;
|
|
366
369
|
});
|
|
367
|
-
const
|
|
370
|
+
const isTooltipInName = readLayerScoped(buttonTooltipInNameContextKey);
|
|
371
|
+
const isTooltipName = computed(() => {
|
|
372
|
+
const tooltip = (props.tooltip ?? "").trim();
|
|
373
|
+
const name = accessibleName.value;
|
|
374
|
+
if (!hasTooltip.value || name == null) return false;
|
|
375
|
+
return isTooltipInName ? name.includes(tooltip) : tooltip === name.trim();
|
|
376
|
+
});
|
|
368
377
|
const ariaDescribedBy = computed(() => {
|
|
369
378
|
const consumerDescription = attrs["aria-describedby"];
|
|
370
379
|
const descriptions = [typeof consumerDescription === "string" ? consumerDescription : void 0, hasTooltip.value && !isTooltipName.value ? tooltipId : void 0].filter(Boolean);
|
|
@@ -390,14 +399,23 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
390
399
|
const value = attrs[name];
|
|
391
400
|
return value === false || value == null || value === "" ? void 0 : value;
|
|
392
401
|
}
|
|
402
|
+
/** 真正禁用时,调用方的事件监听除了焦点和失焦都不交给元素,和原生 disabled 一样什么都不触发。 */
|
|
403
|
+
function isWithheldListener(key) {
|
|
404
|
+
return isTrueDisabled.value && /^on[A-Z]/.test(key) && !/^on(?:Focus|Blur)/.test(key);
|
|
405
|
+
}
|
|
393
406
|
function getForwardedAttrs() {
|
|
394
407
|
return {
|
|
395
|
-
...Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key))),
|
|
408
|
+
...Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key) && !isWithheldListener(key))),
|
|
396
409
|
...press.pressableProps,
|
|
397
410
|
...groupItemProps.value
|
|
398
411
|
};
|
|
399
412
|
}
|
|
400
413
|
function handleRootClick(event) {
|
|
414
|
+
const isBusy = isLoadingState.value && !props.isInterruptible;
|
|
415
|
+
if (renderAsLink.value && isBusy && (isApplePlatform() ? event.metaKey : event.ctrlKey)) {
|
|
416
|
+
event.stopPropagation();
|
|
417
|
+
return;
|
|
418
|
+
}
|
|
401
419
|
return action.handleClick(event);
|
|
402
420
|
}
|
|
403
421
|
function handleRootKeydown(event) {
|
|
@@ -410,6 +428,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
410
428
|
return;
|
|
411
429
|
}
|
|
412
430
|
invokeNativeEventHandler(attrs.onKeydown ?? attrs.onKeyDown, event);
|
|
431
|
+
if (event.key === "Enter" && event.repeat) event.preventDefault();
|
|
413
432
|
}
|
|
414
433
|
__expose({ element });
|
|
415
434
|
return (_ctx, _cache) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cl as ButtonGroupSlots, Sl as ButtonGroupProps, wl as ButtonGroupOrientation, xl as _default } from "../index-
|
|
1
|
+
import { Cl as ButtonGroupSlots, Sl as ButtonGroupProps, wl as ButtonGroupOrientation, xl as _default } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-
|
|
1
|
+
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-Bt7UZF_U.js";
|
|
2
2
|
export { _sfc_main as ButtonGroup, ButtonGroup_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-CxqNaIyt.js";
|
|
2
2
|
import { t as useActionGroupTracking } from "./useActionGroupTracking-CGikRIWR.js";
|
|
3
3
|
import { i as useSize, r as provideSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
|
-
import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-
|
|
4
|
+
import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-Ds4l8NtJ.js";
|
|
5
5
|
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _l as CalendarHandleRef, al as UseCalendarNavigationReturn, bl as CalendarSlots, cl as UseCalendarDaysOptions, dl as UseCalendarConstraintsOptions, fl as UseCalendarConstraintsReturn, gl as CalendarHandle, hl as CalendarEmits, il as UseCalendarNavigationOptions, ll as UseCalendarDaysReturn, ml as _default, ol as useCalendarNavigation, pl as useCalendarConstraints, sl as CalendarDay, ul as useCalendarDays, vl as CalendarProps, yl as CalendarRangeValue } from "../index-
|
|
1
|
+
import { _l as CalendarHandleRef, al as UseCalendarNavigationReturn, bl as CalendarSlots, cl as UseCalendarDaysOptions, dl as UseCalendarConstraintsOptions, fl as UseCalendarConstraintsReturn, gl as CalendarHandle, hl as CalendarEmits, il as UseCalendarNavigationOptions, ll as UseCalendarDaysReturn, ml as _default, ol as useCalendarNavigation, pl as useCalendarConstraints, sl as CalendarDay, ul as useCalendarDays, vl as CalendarProps, yl as CalendarRangeValue } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as Calendar, type CalendarDay, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots, type UseCalendarConstraintsOptions, type UseCalendarConstraintsReturn, type UseCalendarDaysOptions, type UseCalendarDaysReturn, type UseCalendarNavigationOptions, type UseCalendarNavigationReturn, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CardSlots, i as CardSizeValue, n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap, t as _default } from "../index-
|
|
1
|
+
import { a as CardSlots, i as CardSizeValue, n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap, t as _default } from "../index-Bgk1Rj2A.js";
|
|
2
2
|
export { _default as Card, type CardElevation, type CardProps, type CardSizeValue, type CardSlots, type CardVariant, type CardVariantMap };
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $c as _default, el as CarouselGap, nl as CarouselProps, rl as CarouselSlots, tl as CarouselHandle } from "../index-
|
|
1
|
+
import { $c as _default, el as CarouselGap, nl as CarouselProps, rl as CarouselSlots, tl as CarouselHandle } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as Carousel, type CarouselGap, type CarouselHandle, type CarouselProps, type CarouselSlots };
|
package/dist/Carousel/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Carousel-
|
|
1
|
+
import { t as _sfc_main } from "../Carousel-BE-PqpOJ.js";
|
|
2
2
|
export { _sfc_main as Carousel };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BUSj1-Th.js";
|
|
2
|
+
import { r as themeReducesMotion } from "./reducedMotionMark-CYSyfURo.js";
|
|
2
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
4
|
+
import { t as _sfc_main$2 } from "./IconButton-BdXfxjCD.js";
|
|
4
5
|
import { a as moveSnapPaging, c as snapStops, i as moveHeldSnapPaging, n as isSnapPaging, o as nearestStop, t as attachSnapPaging } from "./snapPagingValue-B5hfph1H.js";
|
|
5
6
|
import { t as carouselMessages } from "./carousel-Uaa3h_cg.js";
|
|
6
7
|
import { Comment, Fragment, Text, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, h, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, unref, watch, withCtx } from "vue";
|
|
@@ -97,8 +98,9 @@ function useCarouselPaging(scroller, hasSnap, onHeld) {
|
|
|
97
98
|
}
|
|
98
99
|
//#endregion
|
|
99
100
|
//#region src/Carousel/useCarouselScroll.ts
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
/** 减少动态效果:用户的系统设置,或主题的 `reducedMotion: 'always'`。这时按钮驱动的滚动不做动画。 */
|
|
102
|
+
function reducesMotion(element) {
|
|
103
|
+
return themeReducesMotion(element) || typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
102
104
|
}
|
|
103
105
|
function isRtlElement(element) {
|
|
104
106
|
return getComputedStyle(element).direction === "rtl";
|
|
@@ -130,10 +132,11 @@ function readOverflow(element) {
|
|
|
130
132
|
}
|
|
131
133
|
/**
|
|
132
134
|
* 除了滚动,还有这些会改变一行是否溢出:滚动区自己的尺寸、每张卡片的尺寸、
|
|
133
|
-
* 卡片的增删、滚动区的 class 或 style
|
|
135
|
+
* 卡片的增删、滚动区的 class 或 style(换了间距或内边距)。尺寸变化交给 `onResize`,
|
|
136
|
+
* 其余交给 `onChange`。返回停止观察的函数。
|
|
134
137
|
*/
|
|
135
|
-
function observeContent(element, onChange) {
|
|
136
|
-
const resize = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(
|
|
138
|
+
function observeContent(element, onResize, onChange) {
|
|
139
|
+
const resize = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(onResize);
|
|
137
140
|
const observed = /* @__PURE__ */ new Set();
|
|
138
141
|
function followChildren() {
|
|
139
142
|
const children = new Set(element.children);
|
|
@@ -181,6 +184,8 @@ function useCarouselScroller(scroller) {
|
|
|
181
184
|
overflowStart: false,
|
|
182
185
|
overflowEnd: false
|
|
183
186
|
});
|
|
187
|
+
const isFirstMeasurement = ref(false);
|
|
188
|
+
let hasMeasured = false;
|
|
184
189
|
let frame = 0;
|
|
185
190
|
let stopObservingContent = null;
|
|
186
191
|
function measure() {
|
|
@@ -219,7 +224,7 @@ function useCarouselScroller(scroller) {
|
|
|
219
224
|
const element = scroller.value;
|
|
220
225
|
if (element == null) return;
|
|
221
226
|
if (moveSnapPaging(element, (at, end) => pagingStep(element, at, end, direction, hasLoop && end > 1))) return;
|
|
222
|
-
const behavior =
|
|
227
|
+
const behavior = reducesMotion(element) ? "auto" : "smooth";
|
|
223
228
|
const rtlSign = isRtlElement(element) ? -1 : 1;
|
|
224
229
|
const state = readOverflow(element);
|
|
225
230
|
if (hasLoop && state.hasOverflow) {
|
|
@@ -245,7 +250,7 @@ function useCarouselScroller(scroller) {
|
|
|
245
250
|
const items = element?.children;
|
|
246
251
|
if (element == null || items == null || items.length === 0) return;
|
|
247
252
|
const target = items[Math.max(0, Math.min(index, items.length - 1))];
|
|
248
|
-
const behavior =
|
|
253
|
+
const behavior = reducesMotion(target) ? "auto" : "smooth";
|
|
249
254
|
const containerRect = element.getBoundingClientRect();
|
|
250
255
|
const itemRect = target.getBoundingClientRect();
|
|
251
256
|
const rtl = isRtlElement(element);
|
|
@@ -285,13 +290,31 @@ function useCarouselScroller(scroller) {
|
|
|
285
290
|
const rtl = isRtlElement(element);
|
|
286
291
|
scrollByDirection((event.key === "ArrowRight" ? !rtl : rtl) ? 1 : -1, hasLoop);
|
|
287
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* 第一次测量放在共用尺寸观察的第一次通知里:那是浏览器自己排版之后、画第一帧之前,
|
|
295
|
+
* 挂载时不额外强制排版。同一批通知里滚动区和各张卡片的条目一起到,只量一遍。
|
|
296
|
+
* 这一帧两端按钮直接显示测得的状态,下一帧起恢复淡入淡出。
|
|
297
|
+
*/
|
|
298
|
+
function onResize() {
|
|
299
|
+
if (hasMeasured) {
|
|
300
|
+
schedule();
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
hasMeasured = true;
|
|
304
|
+
isFirstMeasurement.value = true;
|
|
305
|
+
measure();
|
|
306
|
+
if (typeof requestAnimationFrame === "function") requestAnimationFrame(() => isFirstMeasurement.value = false);
|
|
307
|
+
else isFirstMeasurement.value = false;
|
|
308
|
+
}
|
|
288
309
|
onMounted(() => {
|
|
289
310
|
const element = scroller.value;
|
|
290
311
|
if (element == null) return;
|
|
291
|
-
|
|
292
|
-
|
|
312
|
+
if (typeof ResizeObserver === "undefined") {
|
|
313
|
+
hasMeasured = true;
|
|
314
|
+
measure();
|
|
315
|
+
}
|
|
293
316
|
element.addEventListener("scroll", schedule, { passive: true });
|
|
294
|
-
stopObservingContent = observeContent(element, schedule);
|
|
317
|
+
stopObservingContent = observeContent(element, onResize, schedule);
|
|
295
318
|
});
|
|
296
319
|
onBeforeUnmount(() => {
|
|
297
320
|
scroller.value?.removeEventListener("scroll", schedule);
|
|
@@ -302,6 +325,7 @@ function useCarouselScroller(scroller) {
|
|
|
302
325
|
});
|
|
303
326
|
return {
|
|
304
327
|
followShown,
|
|
328
|
+
isFirstMeasurement,
|
|
305
329
|
measure,
|
|
306
330
|
onKeyDown,
|
|
307
331
|
overflow,
|
|
@@ -325,8 +349,16 @@ const _hoisted_3 = {
|
|
|
325
349
|
key: 0,
|
|
326
350
|
class: "astryx-carousel__controls"
|
|
327
351
|
};
|
|
328
|
-
const _hoisted_4 = [
|
|
329
|
-
|
|
352
|
+
const _hoisted_4 = [
|
|
353
|
+
"data-hidden",
|
|
354
|
+
"data-unfaded",
|
|
355
|
+
"inert"
|
|
356
|
+
];
|
|
357
|
+
const _hoisted_5 = [
|
|
358
|
+
"data-hidden",
|
|
359
|
+
"data-unfaded",
|
|
360
|
+
"inert"
|
|
361
|
+
];
|
|
330
362
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
331
363
|
name: "AstryxCarousel",
|
|
332
364
|
inheritAttrs: false,
|
|
@@ -359,7 +391,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
359
391
|
const startButton = ref(null);
|
|
360
392
|
const endButton = ref(null);
|
|
361
393
|
const focusedNav = ref(null);
|
|
362
|
-
const { followShown, measure, onKeyDown, overflow, scrollByDirection, scrollToIndex } = useCarouselScroller(scroller);
|
|
394
|
+
const { followShown, isFirstMeasurement, measure, onKeyDown, overflow, scrollByDirection, scrollToIndex } = useCarouselScroller(scroller);
|
|
363
395
|
useCarouselPaging(scroller, () => props.hasSnap, followShown);
|
|
364
396
|
const regionLabel = computed(() => props.label ?? messages.value.carousel.label);
|
|
365
397
|
const canScrollStart = computed(() => props.hasLoop && overflow.value.hasOverflow ? true : overflow.value.overflowStart);
|
|
@@ -463,6 +495,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
463
495
|
createElementVNode("div", {
|
|
464
496
|
class: "astryx-carousel__pill astryx-carousel__pill--start",
|
|
465
497
|
"data-hidden": !canScrollStart.value || void 0,
|
|
498
|
+
"data-unfaded": unref(isFirstMeasurement) || void 0,
|
|
466
499
|
inert: !canScrollStart.value || void 0
|
|
467
500
|
}, [createVNode(_sfc_main$2, {
|
|
468
501
|
variant: "ghost",
|
|
@@ -482,6 +515,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
482
515
|
createElementVNode("div", {
|
|
483
516
|
class: "astryx-carousel__pill astryx-carousel__pill--end",
|
|
484
517
|
"data-hidden": !canScrollEnd.value || void 0,
|
|
518
|
+
"data-unfaded": unref(isFirstMeasurement) || void 0,
|
|
485
519
|
inert: !canScrollEnd.value || void 0
|
|
486
520
|
}, [createVNode(_sfc_main$2, {
|
|
487
521
|
variant: "ghost",
|
package/dist/Center/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-
|
|
1
|
+
import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-BKnyTWPM.js";
|
|
2
2
|
export { _default as Center, type CenterAxis, type CenterProps, type CenterSizeValue, type CenterSlots };
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $s as ChatComposerDrawerSlots, Ac as ChatMessageBubbleVariant, As as useChatListContext, Bc as ChatReasoningEmits, Bs as _default$9, Cc as ChatLayoutScrollButtonEmits, Cs as TokenPortal, Dc as ChatMessageBubbleGroup, Ds as ChatComposerContextValue, Ec as ChatLayoutSlots, Es as useChatComposerTokens, Fc as ChatMessageMetadataSlots, Fs as _default$14, Gc as ChatSystemMessageVariant, Gs as _default$4, Hc as ChatReasoningSlots, Hs as _default$7, Ic as ChatMessageProps, Is as _default$13, Jc as ChatToolCallsEmits, Js as _default$1, Kc as ChatToolCallItem, Ks as _default$3, Lc as ChatMessageSender, Ls as _default$12, Mc as ChatMessageListProps, Ms as _default$17, Nc as ChatMessageListSlots, Ns as _default$16, Oc as ChatMessageBubbleProps, Os as useChatComposerContext, Pc as ChatMessageMetadataProps, Ps as _default$15, Qc as ChatUnreadDividerProps, Qs as ChatComposerDrawerProps, Rc as ChatMessageSlots, Rs as _default$11, Sc as ChatLayoutProps, Ss as useSpeechRecognition, Tc as ChatLayoutScrollSlotProps, Ts as UseChatComposerTokensReturn, Uc as ChatSystemMessageProps, Us as _default$6, Vc as ChatReasoningProps, Vs as _default$8, Wc as ChatSystemMessageSlots, Ws as _default$5, Xc as ChatToolCallsSlots, Xs as ChatComposerDensity, Yc as ChatToolCallsProps, Ys as _default, Zc as ChatTypingIndicatorProps, Zs as ChatComposerDrawerEmits, _c as ChatSendButtonProps, _s as UseChatDictationOptions, ac as ChatComposerInputProps, bc as ChatTokenizedTextSlots, bs as UseSpeechRecognitionOptions, cc as ChatComposerStatus, dc as ChatComposerTokenCustom, ec as ChatComposerElevation, fc as ChatComposerTokenElementProps, fs as PASTE_TOKEN_THRESHOLD, gc as ChatSendButtonEmits, gs as useChatPasteAsToken, hc as ChatDictationButtonProps, hs as pastedTextLabel, ic as ChatComposerInputHandle, jc as ChatMessageListAlign, js as useChatMessageContext, kc as ChatMessageBubbleSlots, ks as useChatLayoutContext, lc as ChatComposerToken, mc as ChatComposerTriggerItem, ms as UseChatPasteAsTokenReturn, nc as ChatComposerInputControl, oc as ChatComposerProps, pc as ChatComposerTrigger, ps as UseChatPasteAsTokenOptions, qc as ChatToolCallStatus, qs as _default$2, rc as ChatComposerInputEmits, sc as ChatComposerSlots, tc as ChatComposerEmits, uc as ChatComposerTokenBadge, vc as ChatSendButtonSlots, vs as useChatDictation, wc as ChatLayoutScrollButtonProps, ws as UseChatComposerTokensOptions, xc as ChatDensity, xs as UseSpeechRecognitionReturn, yc as ChatTokenizedTextProps, ys as SpeechRecognitionError, zc as ChatMessageStatus, zs as _default$10 } from "../index-
|
|
1
|
+
import { $s as ChatComposerDrawerSlots, Ac as ChatMessageBubbleVariant, As as useChatListContext, Bc as ChatReasoningEmits, Bs as _default$9, Cc as ChatLayoutScrollButtonEmits, Cs as TokenPortal, Dc as ChatMessageBubbleGroup, Ds as ChatComposerContextValue, Ec as ChatLayoutSlots, Es as useChatComposerTokens, Fc as ChatMessageMetadataSlots, Fs as _default$14, Gc as ChatSystemMessageVariant, Gs as _default$4, Hc as ChatReasoningSlots, Hs as _default$7, Ic as ChatMessageProps, Is as _default$13, Jc as ChatToolCallsEmits, Js as _default$1, Kc as ChatToolCallItem, Ks as _default$3, Lc as ChatMessageSender, Ls as _default$12, Mc as ChatMessageListProps, Ms as _default$17, Nc as ChatMessageListSlots, Ns as _default$16, Oc as ChatMessageBubbleProps, Os as useChatComposerContext, Pc as ChatMessageMetadataProps, Ps as _default$15, Qc as ChatUnreadDividerProps, Qs as ChatComposerDrawerProps, Rc as ChatMessageSlots, Rs as _default$11, Sc as ChatLayoutProps, Ss as useSpeechRecognition, Tc as ChatLayoutScrollSlotProps, Ts as UseChatComposerTokensReturn, Uc as ChatSystemMessageProps, Us as _default$6, Vc as ChatReasoningProps, Vs as _default$8, Wc as ChatSystemMessageSlots, Ws as _default$5, Xc as ChatToolCallsSlots, Xs as ChatComposerDensity, Yc as ChatToolCallsProps, Ys as _default, Zc as ChatTypingIndicatorProps, Zs as ChatComposerDrawerEmits, _c as ChatSendButtonProps, _s as UseChatDictationOptions, ac as ChatComposerInputProps, bc as ChatTokenizedTextSlots, bs as UseSpeechRecognitionOptions, cc as ChatComposerStatus, dc as ChatComposerTokenCustom, ec as ChatComposerElevation, fc as ChatComposerTokenElementProps, fs as PASTE_TOKEN_THRESHOLD, gc as ChatSendButtonEmits, gs as useChatPasteAsToken, hc as ChatDictationButtonProps, hs as pastedTextLabel, ic as ChatComposerInputHandle, jc as ChatMessageListAlign, js as useChatMessageContext, kc as ChatMessageBubbleSlots, ks as useChatLayoutContext, lc as ChatComposerToken, mc as ChatComposerTriggerItem, ms as UseChatPasteAsTokenReturn, nc as ChatComposerInputControl, oc as ChatComposerProps, pc as ChatComposerTrigger, ps as UseChatPasteAsTokenOptions, qc as ChatToolCallStatus, qs as _default$2, rc as ChatComposerInputEmits, sc as ChatComposerSlots, tc as ChatComposerEmits, uc as ChatComposerTokenBadge, vc as ChatSendButtonSlots, vs as useChatDictation, wc as ChatLayoutScrollButtonProps, ws as UseChatComposerTokensOptions, xc as ChatDensity, xs as UseSpeechRecognitionReturn, yc as ChatTokenizedTextProps, ys as SpeechRecognitionError, zc as ChatMessageStatus, zs as _default$10 } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as ChatComposer, type ChatComposerContextValue, type ChatComposerDensity, _default$1 as ChatComposerDrawer, type ChatComposerDrawerEmits, type ChatComposerDrawerProps, type ChatComposerDrawerSlots, type ChatComposerElevation, type ChatComposerEmits, _default$2 as ChatComposerInput, type ChatComposerInputControl, type ChatComposerInputEmits, type ChatComposerInputHandle, type ChatComposerInputProps, type ChatComposerProps, type ChatComposerSlots, type ChatComposerStatus, type ChatComposerToken, type ChatComposerTokenBadge, type ChatComposerTokenCustom, _default$3 as ChatComposerTokenElement, type ChatComposerTokenElementProps, type ChatComposerTrigger, type ChatComposerTriggerItem, type ChatDensity, _default$4 as ChatDictationButton, type ChatDictationButtonProps, _default$5 as ChatLayout, type ChatLayoutProps, _default$6 as ChatLayoutScrollButton, type ChatLayoutScrollButtonEmits, type ChatLayoutScrollButtonProps, type ChatLayoutScrollSlotProps, type ChatLayoutSlots, _default$7 as ChatMessage, _default$8 as ChatMessageBubble, type ChatMessageBubbleGroup, type ChatMessageBubbleProps, type ChatMessageBubbleSlots, type ChatMessageBubbleVariant, _default$9 as ChatMessageList, type ChatMessageListAlign, type ChatMessageListProps, type ChatMessageListSlots, _default$10 as ChatMessageMetadata, type ChatMessageMetadataProps, type ChatMessageMetadataSlots, type ChatMessageProps, type ChatMessageSender, type ChatMessageSlots, type ChatMessageStatus, _default$11 as ChatReasoning, type ChatReasoningEmits, type ChatReasoningProps, type ChatReasoningSlots, _default$12 as ChatSendButton, type ChatSendButtonEmits, type ChatSendButtonProps, type ChatSendButtonSlots, _default$13 as ChatSystemMessage, type ChatSystemMessageProps, type ChatSystemMessageSlots, type ChatSystemMessageVariant, _default$14 as ChatTokenizedText, type ChatTokenizedTextProps, type ChatTokenizedTextSlots, type ChatToolCallItem, type ChatToolCallStatus, _default$15 as ChatToolCalls, type ChatToolCallsEmits, type ChatToolCallsProps, type ChatToolCallsSlots, _default$16 as ChatTypingIndicator, type ChatTypingIndicatorProps, _default$17 as ChatUnreadDivider, type ChatUnreadDividerProps, PASTE_TOKEN_THRESHOLD, type SpeechRecognitionError, type TokenPortal, type UseChatComposerTokensOptions, type UseChatComposerTokensReturn, type UseChatDictationOptions, type UseChatPasteAsTokenOptions, type UseChatPasteAsTokenReturn, type UseSpeechRecognitionOptions, type UseSpeechRecognitionReturn, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|
package/dist/Chat/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-
|
|
1
|
+
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-D_CxKvTw.js";
|
|
2
2
|
export { _sfc_main as ChatComposer, _sfc_main$1 as ChatComposerDrawer, _sfc_main$2 as ChatComposerInput, _sfc_main$3 as ChatComposerTokenElement, _sfc_main$4 as ChatDictationButton, _sfc_main$5 as ChatLayout, _sfc_main$6 as ChatLayoutScrollButton, _sfc_main$7 as ChatMessage, _sfc_main$8 as ChatMessageBubble, _sfc_main$9 as ChatMessageList, _sfc_main$10 as ChatMessageMetadata, _sfc_main$11 as ChatReasoning, _sfc_main$12 as ChatSendButton, _sfc_main$13 as ChatSystemMessage, _sfc_main$14 as ChatTokenizedText, _sfc_main$15 as ChatToolCalls, _sfc_main$16 as ChatTypingIndicator, _sfc_main$17 as ChatUnreadDivider, PASTE_TOKEN_THRESHOLD, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|
|
@@ -2,7 +2,7 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
|
2
2
|
import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
4
|
import { t as _sfc_main$24 } from "./Icon-BUSj1-Th.js";
|
|
5
|
-
import { t as _sfc_main$25 } from "./Button-
|
|
5
|
+
import { t as _sfc_main$25 } from "./Button-D8vn_DnZ.js";
|
|
6
6
|
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-ChlwPVfw.js";
|
|
7
7
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
8
8
|
import { a as trackInteractionModality, r as isKeyboardModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
@@ -26,8 +26,8 @@ import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
|
26
26
|
import { t as _sfc_main$28 } from "./Divider-mOZ6vIQw.js";
|
|
27
27
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
28
28
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
29
|
-
import { t as useAnnounceRenderedText } from "./announceRenderedText-
|
|
30
|
-
import { t as _sfc_main$29 } from "./Spinner-
|
|
29
|
+
import { t as useAnnounceRenderedText } from "./announceRenderedText-pHs_kfQB.js";
|
|
30
|
+
import { t as _sfc_main$29 } from "./Spinner-D6U81W87.js";
|
|
31
31
|
import { t as chatMessages } from "./chat-DPxoTm_S.js";
|
|
32
32
|
import { t as _sfc_main$30 } from "./HoverCard-BmehvS0D.js";
|
|
33
33
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, reactive, readonly, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toValue, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { as as _default, cs as CheckboxInputEmits, ds as CheckboxValue, ls as CheckboxInputProps, os as CheckboxInputChangeAction, ss as CheckboxInputChangeEvent, us as CheckboxInputSlots } from "../index-
|
|
1
|
+
import { as as _default, cs as CheckboxInputEmits, ds as CheckboxValue, ls as CheckboxInputProps, os as CheckboxInputChangeAction, ss as CheckboxInputChangeEvent, us as CheckboxInputSlots } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as CheckboxInput, type CheckboxInputChangeAction, type CheckboxInputChangeEvent, type CheckboxInputEmits, type CheckboxInputProps, type CheckboxInputSlots, type CheckboxValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../CheckboxInput-
|
|
1
|
+
import { t as _sfc_main } from "../CheckboxInput-CiSb9VDk.js";
|
|
2
2
|
export { _sfc_main as CheckboxInput };
|
|
@@ -8,7 +8,7 @@ import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
|
8
8
|
import { t as useIndicator } from "./useIndicator-Co1ERlg-.js";
|
|
9
9
|
import { n as pressBoxProps, t as registerBoxHold } from "./boxHold-DNjO01uo.js";
|
|
10
10
|
import { t as ariaRequired } from "./context-CrVCeUUK.js";
|
|
11
|
-
import { t as _sfc_main$3 } from "./FieldLabel-
|
|
11
|
+
import { t as _sfc_main$3 } from "./FieldLabel-BmjvZVOQ.js";
|
|
12
12
|
import { t as _sfc_main$4 } from "./FieldStatus-QjwGygl3.js";
|
|
13
13
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
14
14
|
import "../styles/button.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $o as _default$1, es as _default, is as CheckboxListProps, ns as CheckboxListItemEmits, rs as CheckboxListItemProps, ts as CheckboxListEmits } from "../index-
|
|
1
|
+
import { $o as _default$1, es as _default, is as CheckboxListProps, ns as CheckboxListItemEmits, rs as CheckboxListItemProps, ts as CheckboxListEmits } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as CheckboxList, type CheckboxListEmits, _default$1 as CheckboxListItem, type CheckboxListItemEmits, type CheckboxListItemProps, type CheckboxListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxListItem-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxListItem-BwGzAz8V.js";
|
|
2
2
|
export { _sfc_main as CheckboxList, _sfc_main$1 as CheckboxListItem };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { c as useItemDescriptionId } from "./itemSlots-
|
|
2
|
+
import { c as useItemDescriptionId } from "./itemSlots-D9aPTELK.js";
|
|
3
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
4
|
+
import { t as _sfc_main$3 } from "./Tooltip-W32cHQH0.js";
|
|
5
5
|
import { t as observeContent } from "./sharedMutationObserver-Dvh3N1N2.js";
|
|
6
|
-
import { n as checkboxRowPressKey, t as _sfc_main$4 } from "./CheckboxInput-
|
|
7
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
6
|
+
import { n as checkboxRowPressKey, t as _sfc_main$4 } from "./CheckboxInput-CiSb9VDk.js";
|
|
7
|
+
import { t as _sfc_main$5 } from "./Field-jM0Ithrd.js";
|
|
8
8
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
9
|
-
import { n as _sfc_main$6, t as _sfc_main$7 } from "./ListItem-
|
|
9
|
+
import { n as _sfc_main$6, t as _sfc_main$7 } from "./ListItem-DHpWkhT9.js";
|
|
10
10
|
import { t as checkboxListMessages } from "./checkbox-list-uI6q4y3V.js";
|
|
11
11
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, watchEffect, withCtx } from "vue";
|
|
12
12
|
import "../styles/checkbox-list.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Qo as ClickableCardSlots, Xo as ClickableCardEmits, Yo as _default, Zo as ClickableCardProps } from "../index-
|
|
1
|
+
import { Qo as ClickableCardSlots, Xo as ClickableCardEmits, Yo as _default, Zo as ClickableCardProps } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
|
package/dist/Code/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
|
|
2
|
-
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-
|
|
2
|
+
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-PuLo1vOn.js";
|
|
3
3
|
import { g as isCodeLanguage, m as createCodeLanguage } from "../grammar-DzM9qeTd.js";
|
|
4
4
|
import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "../syntaxTheme-R7xnu5x5.js";
|
|
5
|
-
import { _ as CodeLineTokens, a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$2, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "../Code-
|
|
5
|
+
import { _ as CodeLineTokens, a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$2, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "../Code-Cnk4QmuK.js";
|
|
6
6
|
export { _sfc_main as Code, _sfc_main$1 as CodeBlock, CodeLineTokens, DIFF_SYNTAX_TOKEN_KEYS, HIGHLIGHTED_TOKEN_TYPES, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, _sfc_main$2 as SyntaxTheme, allSyntaxPresets, applyHighlightRanges, applyHighlightRangesFlat, catppuccinLatte, catppuccinMocha, createCodeLanguage, darkSyntaxPresets, defineSyntaxTheme, diffLineKind, dracula, flatTokensToLines, githubDark, githubLight, isCodeLanguage, lightSyntaxPresets, monokai, nord, oneDarkPro, oneLight, parseFenceLanguage, solarizedLight, splitDiffLines, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, useClipboard as useCopyToClipboard, useSyntaxTheme };
|