@astryx-vue/core 0.42.5 → 0.42.6
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-CQxV1x0M.js} +3 -3
- 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/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DJU3Bz_u.js → Breadcrumbs-B6UW2BdV.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/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/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CIpvefL3.js → CommandPalette-DX9qEl8X.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BB4He_wN.js → ComplexSelector-DtewMXzB.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-F315dVbZ.js → ContextMenu-Bs77yiLi.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-Cm8zmBUt.js → DateInput-BQ_q7nbT.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-FiY0JZxV.js → DateRangeInput-lun9lX7q.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DBBrIFnm.js → DateTimeInput-Dm8lyQlG.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-DEUH-s-L.js → DialogHeader-BpQQMQcb.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-DiRhP2q-.js → Drawer-C82o6bdA.js} +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CQ-ZROFm.js → DropdownMenu-BiYgf2YY.js} +4 -4
- 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.d.ts +1 -1
- 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-DpZLzzTZ.js} +7 -7
- 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.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-s09q_Lot.js} +4 -4
- 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/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DeV3vsXr.js → Pagination-CvPQ6Xvk.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 +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BVzTrVp-.js → Popover-VGJEMOBl.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CdXq9Nma.js → PowerSearch-B8VKqYSb.js} +23 -23
- 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.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-BV2L5xMI.js} +2 -2
- 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/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-Dsf4UU08.js} +170 -31
- package/dist/{TapGestureRecognizer-CH88amVE.js → TapGestureRecognizer-Cv0y3c02.js} +2 -2
- package/dist/Text/index.d.ts +1 -1
- 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-a83r3-AM.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D-i2TFnX.js → TimeInput-BiYKuVMQ.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-DQMcX2nf.js} +3 -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-f1byujPP.js} +10 -10
- 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/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-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-0RIgvtdm.d.ts → index-BI1QLuYB.d.ts} +1 -1
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-CEdoNcHF.d.ts → index-BfOs5BQj.d.ts} +2 -2
- package/dist/{index-Dk50Zh3F.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-Bwh8O-v8.d.ts → index-CC9ETLL4.d.ts} +2 -2
- package/dist/{index-CpLGbFCR.d.ts → index-CI-FbXLB.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
- package/dist/{index-CJT9kM7e.d.ts → index-CqvIpZ-t.d.ts} +1 -1
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/{index-hE8MBOld.d.ts → index-CuBP0rmj.d.ts} +5 -5
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-DAz4l6Jw.d.ts → index-DD3c1ZhS.d.ts} +1 -1
- package/dist/{index-PydsflFS.d.ts → index-DFlzXsvO.d.ts} +4 -4
- package/dist/{index-B44fLswd.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-J83fLEyo.d.ts → index-DgNCHxvu.d.ts} +2 -2
- package/dist/{index-CAC3Bhus.d.ts → index-Upg2KRlh.d.ts} +66 -66
- package/dist/{index-CLbslOVk.d.ts → index-cxXrnuj3.d.ts} +1 -1
- package/dist/{index-C3JmGujU.d.ts → index-mK1ICsVg.d.ts} +1 -1
- package/dist/index.d.ts +23 -23
- package/dist/index.js +75 -75
- package/dist/internal/touch.js +6 -6
- package/dist/{itemSlots-CIQbrKkZ.js → itemSlots-D9aPTELK.js} +2 -2
- package/dist/rootFocusHandoff-CORyJeRP.js +25 -0
- package/dist/{snapPagingCatcher-DUb8YU3G.js → snapPagingCatcher-CQ34r-x-.js} +1 -1
- 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/table.css +31 -8
- 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-DrIxH3YE.d.ts} +1 -1
- package/dist/{useResizable-mkUwYfmy.js → useResizable-Diq3vRVH.js} +1 -1
|
@@ -8,25 +8,25 @@ import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
|
8
8
|
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
9
9
|
import { c as motionNow, s as isIdentityText } from "./cssValues-Cr6PhYTx.js";
|
|
10
10
|
import { n as createMotionEngine, r as SETTLE_THRESHOLD, t as animatorFor } from "./animator-D6Buqmbt.js";
|
|
11
|
-
import { n as isDevBuild } from "./devBuild-G249YcdZ.js";
|
|
12
11
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
13
12
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
14
13
|
import { n as solveDecay } from "./decay-ClFADeqT.js";
|
|
15
|
-
import { i as coast, n as paging, t as SettleCatcher } from "./snapPagingCatcher-
|
|
14
|
+
import { i as coast, n as paging, t as SettleCatcher } from "./snapPagingCatcher-CQ34r-x-.js";
|
|
16
15
|
import { d as springs, u as registerSpringsTable } from "./springs-BqW2WrS-.js";
|
|
17
|
-
import { t as getGestureHost } from "./GestureHost-
|
|
18
|
-
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-
|
|
16
|
+
import { t as getGestureHost } from "./GestureHost-DXlDxyns.js";
|
|
17
|
+
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-Crc0PhW0.js";
|
|
19
18
|
import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
20
19
|
import { t as VelocityTracker } from "./VelocityTracker-Cw1aVRnL.js";
|
|
21
|
-
import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-
|
|
20
|
+
import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-D9aPTELK.js";
|
|
22
21
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
23
22
|
import { n as listMessages, t as keyboardHintMessages } from "./keyboard-hint-DZrL82bU.js";
|
|
24
23
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
25
|
-
import { t as _sfc_main$5 } from "./Kbd-
|
|
24
|
+
import { t as _sfc_main$5 } from "./Kbd-CwtGTUmB.js";
|
|
26
25
|
import { n as paintedBackground, t as inertClone } from "./inertClone-BUK-k6-n.js";
|
|
27
26
|
import { t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
|
|
28
27
|
import { a as markLeaving, n as isLeaving, t as REORDER_ENGINE } from "./reorderTypes-CvmAkO-R.js";
|
|
29
|
-
import { t as
|
|
28
|
+
import { t as createDevWarnings } from "./devWarnings-DI1R0rGp.js";
|
|
29
|
+
import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-V_iVvLNU.js";
|
|
30
30
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
31
31
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
32
32
|
import { r as makeSnapPaging, s as snapPages } from "./snapPagingValue-B5hfph1H.js";
|
|
@@ -1285,17 +1285,6 @@ function clampTop(top, height, bounds) {
|
|
|
1285
1285
|
return Math.min(max, Math.max(min, top));
|
|
1286
1286
|
}
|
|
1287
1287
|
//#endregion
|
|
1288
|
-
//#region src/composables/internal/devWarnings.ts
|
|
1289
|
-
/** 每个 key 只警告一次,key 默认就是消息本身。生产构建里什么也不做。 */
|
|
1290
|
-
function createDevWarnings() {
|
|
1291
|
-
const warned = /* @__PURE__ */ new Set();
|
|
1292
|
-
return (component, message, key = message) => {
|
|
1293
|
-
if (!isDevBuild() || warned.has(key)) return;
|
|
1294
|
-
warned.add(key);
|
|
1295
|
-
devWarn(component, message);
|
|
1296
|
-
};
|
|
1297
|
-
}
|
|
1298
|
-
//#endregion
|
|
1299
1288
|
//#region src/List/reorder/reorderBase.ts
|
|
1300
1289
|
var ReorderBase = class {
|
|
1301
1290
|
getList;
|
|
@@ -6,5 +6,10 @@ const buttonGroupContextKey = defineLayerScopedKey("astryx-button-group", null);
|
|
|
6
6
|
* 输入框的清除按钮也提供 false,它用输入框自己的那一小圈。浮层里的按钮读到默认值 true,照样画自己的。
|
|
7
7
|
*/
|
|
8
8
|
const buttonHitAreaContextKey = defineLayerScopedKey("astryx-button-hit-area", true);
|
|
9
|
+
/**
|
|
10
|
+
* 仅库内部使用。为 true 时,按钮的名称已经包含提示文字(Banner 的关闭按钮、输入框的清除按钮),
|
|
11
|
+
* 提示照常显示,但不再挂成描述,读屏不会把同一个词读两遍。包不导出它。
|
|
12
|
+
*/
|
|
13
|
+
const buttonTooltipInNameContextKey = defineLayerScopedKey("astryx-button-tooltip-in-name", false);
|
|
9
14
|
//#endregion
|
|
10
|
-
export { buttonHitAreaContextKey as n, buttonGroupContextKey as t };
|
|
15
|
+
export { buttonHitAreaContextKey as n, buttonTooltipInNameContextKey as r, buttonGroupContextKey as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { n as isDevBuild } from "./devBuild-G249YcdZ.js";
|
|
2
|
+
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
3
|
+
//#region src/composables/internal/devWarnings.ts
|
|
4
|
+
/** 每个 key 只警告一次,key 默认就是消息本身。生产构建里什么也不做。 */
|
|
5
|
+
function createDevWarnings() {
|
|
6
|
+
const warned = /* @__PURE__ */ new Set();
|
|
7
|
+
return (component, message, key = message) => {
|
|
8
|
+
if (!isDevBuild() || warned.has(key)) return;
|
|
9
|
+
warned.add(key);
|
|
10
|
+
devWarn(component, message);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { createDevWarnings as t };
|
|
@@ -45,8 +45,8 @@ interface TimerProps {
|
|
|
45
45
|
//#region src/Timer/Timer.vue.d.ts
|
|
46
46
|
declare const __VLS_export: import("vue").DefineComponent<TimerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimerProps> & Readonly<{}>, {
|
|
47
47
|
type: TimerType;
|
|
48
|
-
format: "clock" | "elapsed";
|
|
49
48
|
color: TimerColor;
|
|
49
|
+
format: "clock" | "elapsed";
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
//#endregion
|
|
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
|
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
|
|
20
20
|
as: StackElement;
|
|
21
|
-
wrap: StackWrap;
|
|
22
21
|
direction: StackDirection;
|
|
22
|
+
wrap: StackWrap;
|
|
23
23
|
isScrollable: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
@@ -125,7 +125,6 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
125
125
|
isDisabled: boolean;
|
|
126
126
|
variant: PaginationVariant;
|
|
127
127
|
step: number;
|
|
128
|
-
disabled: boolean;
|
|
129
128
|
page: number;
|
|
130
129
|
pageSize: number;
|
|
131
130
|
total: number;
|
|
@@ -133,6 +132,7 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
133
132
|
showSizeChanger: boolean;
|
|
134
133
|
pageSizeOptions: number[];
|
|
135
134
|
showTotal: boolean;
|
|
135
|
+
disabled: boolean;
|
|
136
136
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
137
137
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
138
138
|
declare const _default: typeof __VLS_export;
|
|
@@ -101,8 +101,8 @@ type __VLS_Slots = {
|
|
|
101
101
|
declare const __VLS_base: import("vue").DefineComponent<CenterProps, {
|
|
102
102
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
103
103
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CenterProps> & Readonly<{}>, {
|
|
104
|
-
isInline: boolean;
|
|
105
104
|
axis: CenterAxis;
|
|
105
|
+
isInline: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
107
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
108
108
|
declare const _default: typeof __VLS_export;
|
|
@@ -161,8 +161,8 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
161
161
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
|
|
162
162
|
modelValue: Value;
|
|
163
163
|
}) & {
|
|
164
|
-
onChange?: ((value: Value) => any) | undefined;
|
|
165
164
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
165
|
+
onChange?: ((value: Value) => any) | undefined;
|
|
166
166
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
167
167
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
168
168
|
"onUpdate:modelValue"?: ((value: Value) => any) | undefined;
|
|
@@ -172,7 +172,7 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
172
172
|
expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
|
|
173
173
|
attrs: any;
|
|
174
174
|
slots: ComplexSelectorSlots<Value>;
|
|
175
|
-
emit: (((evt: "
|
|
175
|
+
emit: (((evt: "click", event: MouseEvent) => void) & ((evt: "change", value: Value) => void) & ((evt: "keydown", event: KeyboardEvent) => void) & ((evt: "openChange", isOpen: boolean) => void)) & ((event: "update:modelValue", value: Value) => void);
|
|
176
176
|
}>) => import("vue").VNode & {
|
|
177
177
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
178
178
|
};
|
|
@@ -84,10 +84,10 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
84
84
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
86
|
label: string;
|
|
87
|
+
content: string;
|
|
87
88
|
isOpen: boolean;
|
|
88
89
|
placement: HoverCardPlacement;
|
|
89
90
|
alignment: HoverCardAlignment;
|
|
90
|
-
content: string;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
92
|
isEnabled: boolean;
|
|
93
93
|
delay: number;
|
|
@@ -80,10 +80,10 @@ type __VLS_Slots = {} & {
|
|
|
80
80
|
};
|
|
81
81
|
declare const __VLS_base: import("vue").DefineComponent<HeadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
|
|
82
82
|
color: HeadingColor;
|
|
83
|
+
maxLines: number;
|
|
83
84
|
display: HeadingDisplay;
|
|
84
85
|
justify: HeadingJustify;
|
|
85
86
|
hasCapsize: boolean;
|
|
86
|
-
maxLines: number;
|
|
87
87
|
hasTruncateTooltip: HeadingTruncateTooltip;
|
|
88
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ResizableRegion, r as ResizableProps } from "./useResizable-
|
|
1
|
+
import { i as ResizableRegion, r as ResizableProps } from "./useResizable-CJFVvx_2.js";
|
|
2
2
|
import { VNodeChild } from "vue";
|
|
3
3
|
//#region src/Resizable/types.d.ts
|
|
4
4
|
type ResizeDirection = 'horizontal' | 'vertical';
|
|
@@ -37,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<ResizeHandleProps, {
|
|
|
37
37
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
38
38
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResizeHandleProps> & Readonly<{}>, {
|
|
39
39
|
isDisabled: boolean;
|
|
40
|
-
position: ResizePosition;
|
|
41
40
|
direction: ResizeDirection;
|
|
41
|
+
position: ResizePosition;
|
|
42
42
|
isReversed: boolean;
|
|
43
43
|
hasDivider: boolean;
|
|
44
44
|
isAlwaysVisible: boolean;
|
|
@@ -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
|
-
isDisabled: boolean;
|
|
13
12
|
elevation: ButtonElevation;
|
|
13
|
+
isDisabled: boolean;
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
isIconOnly: boolean;
|
|
16
16
|
isInterruptible: boolean;
|
|
@@ -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
|
-
position: DialogPosition;
|
|
96
95
|
isInline: boolean;
|
|
96
|
+
position: DialogPosition;
|
|
97
97
|
purpose: DialogPurpose;
|
|
98
98
|
maxHeight: string | number;
|
|
99
99
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -20,10 +20,10 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
20
20
|
label: string;
|
|
21
21
|
anchor: HTMLElement | null;
|
|
22
22
|
width: string | number;
|
|
23
|
-
padding: PopoverPadding;
|
|
24
23
|
isOpen: boolean;
|
|
25
24
|
placement: LayerPlacement;
|
|
26
25
|
alignment: LayerAlignment;
|
|
26
|
+
padding: PopoverPadding;
|
|
27
27
|
hasAutoFocus: boolean;
|
|
28
28
|
presentation: AdaptivePresentation;
|
|
29
29
|
role: PopoverRole;
|
|
@@ -9,10 +9,10 @@ declare const __VLS_base: import("vue").DefineComponent<TextProps, {}, {}, {}, {
|
|
|
9
9
|
type: TextType;
|
|
10
10
|
as: TextAs;
|
|
11
11
|
color: TextColor;
|
|
12
|
+
maxLines: number;
|
|
12
13
|
display: TextDisplay;
|
|
13
14
|
justify: TextJustify;
|
|
14
15
|
hasCapsize: boolean;
|
|
15
|
-
maxLines: number;
|
|
16
16
|
hasTruncateTooltip: TextTruncateTooltip;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -175,17 +175,17 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
175
175
|
blur: () => void | undefined;
|
|
176
176
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
177
|
search: (query: string) => any;
|
|
178
|
-
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
179
178
|
click: (event: MouseEvent) => any;
|
|
180
179
|
focus: (event: FocusEvent) => any;
|
|
180
|
+
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
181
181
|
keydown: (event: KeyboardEvent) => any;
|
|
182
182
|
openChange: (isOpen: boolean) => any;
|
|
183
183
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
184
184
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
185
185
|
onSearch?: ((query: string) => any) | undefined;
|
|
186
|
-
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
187
186
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
188
187
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
188
|
+
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
189
189
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
190
190
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
191
191
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
@@ -197,13 +197,13 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
197
197
|
modelValue: readonly (string | number)[];
|
|
198
198
|
statusVariant: MultiSelectorStatusVariant;
|
|
199
199
|
isReadOnly: boolean;
|
|
200
|
-
disabled: boolean;
|
|
201
200
|
presentation: MultiSelectorPresentation;
|
|
202
|
-
|
|
203
|
-
clearable: boolean;
|
|
201
|
+
disabled: boolean;
|
|
204
202
|
labelHidden: boolean;
|
|
203
|
+
clearable: boolean;
|
|
205
204
|
hasCreate: boolean;
|
|
206
205
|
optional: boolean;
|
|
206
|
+
searchable: boolean;
|
|
207
207
|
selectAll: boolean;
|
|
208
208
|
triggerDisplay: MultiSelectorTriggerDisplay;
|
|
209
209
|
maxBadges: number;
|
|
@@ -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
|
-
orientation: DividerOrientation;
|
|
25
24
|
variant: DividerVariant;
|
|
25
|
+
orientation: DividerOrientation;
|
|
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>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as SpacingStep } from "./types-BTk0WZ0b.js";
|
|
2
2
|
import { o as SizeValue } from "./types-uFMH9NaM.js";
|
|
3
|
-
import { i as ResizableRegion, r as ResizableProps } from "./useResizable-
|
|
3
|
+
import { i as ResizableRegion, r as ResizableProps } from "./useResizable-CJFVvx_2.js";
|
|
4
4
|
import { ComputedRef, VNodeChild } from "vue";
|
|
5
5
|
//#region src/Layout/context.d.ts
|
|
6
6
|
type LayoutArea = 'header' | 'start' | 'content' | 'end' | 'footer';
|
|
@@ -161,16 +161,16 @@ interface SelectorSlots {
|
|
|
161
161
|
type __VLS_Slots = SelectorSlots;
|
|
162
162
|
declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
163
163
|
search: (query: string) => any;
|
|
164
|
-
change: (value: string | number | null) => any;
|
|
165
164
|
click: (event: MouseEvent) => any;
|
|
166
165
|
focus: (event: FocusEvent) => any;
|
|
166
|
+
change: (value: string | number | null) => any;
|
|
167
167
|
keydown: (event: KeyboardEvent) => any;
|
|
168
168
|
"update:modelValue": (value: string | number | null) => any;
|
|
169
169
|
}, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
|
|
170
170
|
onSearch?: ((query: string) => any) | undefined;
|
|
171
|
-
onChange?: ((value: string | number | null) => any) | undefined;
|
|
172
171
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
173
172
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
173
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
174
174
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
175
175
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
176
176
|
}>, {
|
|
@@ -184,10 +184,10 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
|
|
|
184
184
|
isRequired: boolean;
|
|
185
185
|
statusVariant: SelectorStatusVariant;
|
|
186
186
|
isReadOnly: boolean;
|
|
187
|
-
disabled: boolean;
|
|
188
187
|
presentation: SelectorPresentation;
|
|
189
|
-
|
|
188
|
+
disabled: boolean;
|
|
190
189
|
clearable: boolean;
|
|
190
|
+
searchable: boolean;
|
|
191
191
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
192
192
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
193
193
|
declare const _default: typeof __VLS_export;
|
|
@@ -66,10 +66,10 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
66
66
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
68
|
anchor: HTMLElement | null;
|
|
69
|
+
content: string;
|
|
69
70
|
isOpen: boolean;
|
|
70
71
|
placement: TooltipPlacement;
|
|
71
72
|
alignment: TooltipAlignment;
|
|
72
|
-
content: string;
|
|
73
73
|
isDefaultOpen: boolean;
|
|
74
74
|
isEnabled: boolean;
|
|
75
75
|
delay: number;
|
|
@@ -129,9 +129,9 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
129
129
|
declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
130
130
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
131
131
|
onSearch?: ((query: string) => any) | undefined;
|
|
132
|
-
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
133
132
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
134
133
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
134
|
+
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
135
135
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
136
136
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
137
137
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
@@ -146,7 +146,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
146
146
|
}>) => void;
|
|
147
147
|
attrs: any;
|
|
148
148
|
slots: TokenizerSlots<T>;
|
|
149
|
-
emit: ((evt: "search", query: string) => void) & ((evt: "
|
|
149
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
|
|
150
150
|
}>) => import("vue").VNode & {
|
|
151
151
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
152
152
|
};
|