@astryx-vue/core 0.19.1 → 0.20.1
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-CNb0dkY9.js → AlertDialog-DYYA2LOe.js} +6 -6
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-NvIT99xw.js → AppShell-zEXmJb1h.js} +116 -9
- 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-BXITu2pn.js → Banner-C4ZICVvW.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-CCW58Kl3.js → BottomSheet-DNuzJPfQ.js} +2 -2
- package/dist/{BottomSheet-HQpcSkPH.js → BottomSheet-DV7bboru.js} +1 -1
- package/dist/Breadcrumbs/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DXzBkpkd.js → Breadcrumbs-C8nA3Ft9.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-BZtim0B-.js → Button-DOfigN38.js} +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-EpWZowJP.js → ButtonGroup-BzrDhbMP.js} +2 -2
- 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-BaCXqtKK.js → Carousel-CRaHAUsZ.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CXwXzlZ0.js → Chat-DTs843Ta.js} +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-3ONBl1AY.js → CheckboxInput-Ydl1GSBh.js} +33 -3
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CbRX5YDA.js → CheckboxList-Sn_ph-Xz.js} +64 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-CLVXVlB7.js → CodeBlock-DXBJEZS6.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-ExzU7vC0.js → Collapsible-BG-u5nEt.js} +2 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CECjNvGB.js → CommandPalette-CV7t0ouM.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Dmaag1wm.js → ComplexSelector-BKjyFdHr.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CujLDt4e.js → ContextMenu-CwnY6hcJ.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CiIWOWXM.js → DateInput-BaX40vSs.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-CLVQ8E0Y.js → DateRangeInput-DplhXZqK.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-jHSN-Dzu.js → DateTimeInput-CrD1EEfs.js} +7 -7
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BQ5OBB1d.js → Dialog-B2pOTrnQ.js} +1 -1
- package/dist/{Dialog-DgdbRn2l.js → Dialog-CztWmbf8.js} +1 -1
- package/dist/{DialogHeader-D8234o9F.js → DialogHeader-CjHTNccL.js} +2 -2
- 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-Dqus7kUc.js → Drawer-DGIuMLms.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BC_zB9le.js → DropdownMenu-l9c562oA.js} +31 -8
- package/dist/{DropdownMenu-LQsXd-_V.js → DropdownMenu-r93pI0mD.js} +4 -4
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Bw0kWfMi.js → EmptyState-nyV5XxMA.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-BXkGR8H0.js → Field-CIZdFzXr.js} +1 -1
- package/dist/{FieldInfoTip-DzpUxMDh.js → FieldInfoTip-eJSORVbp.js} +1 -1
- package/dist/{FieldLabel-DI7Yqdhf.js → FieldLabel-BoMSIOLF.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BNHjbyQY.js → FileInput-DvGU92Sg.js} +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-Oph-5DDq.js → Heading-Bo6A69fA.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-Du2XBBAX.js → IconButton-oKXLxgYb.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-Bjw1ithP.js → InfoTip-DWC-vnT5.js} +1 -1
- package/dist/{InputClearButton-CED-zP2y.js → InputClearButton-CAitWZTk.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-D5PoL4cU.js → InputGroup-CeTKqJQn.js} +1 -1
- package/dist/{Item-CNR22qzk.js → Item-BSHDEJyh.js} +18 -10
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-RN_f7zRw.js → Lightbox-CesmEisI.js} +3 -3
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-BJ6ZaKcj.js → ListItem-v1GFTbba.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DnnWjJGX.js → Markdown-CIA5ejYp.js} +2 -2
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DlQmYaBx.js → MobileNavToggle-CKEOroi0.js} +75 -32
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-i80Ey9vR.js → MoreMenu-DcImQxyp.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BK6nZweN.js → MultiSelector-DedRF-RL.js} +3 -3
- package/dist/{NavHeadingSurface-C17cbKn9.js → NavHeadingSurface-DZPa2px5.js} +19 -5
- package/dist/NavItem/index.d.ts +2 -2
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BAe-tUG9.js → NavItem-CcbOJNnY.js} +18 -5
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-BsWTXomE.js → NumberInput-q9HP5L_V.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-DFQNX_Mb.js → Pagination-DfAHckUV.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CmAEizH-.js → Popover-D0jAIXkw.js} +3 -2
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-C2x4uuAM.js → PowerSearch-CU_MBQlC.js} +12 -12
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-FhoQMqg5.js → RadioGroup-Cm2n6M5C.js} +10 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DK2uXQ5S.js → RadioList-B5MaynOw.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-BCvscZM9.js → SegmentedControl-D--5X0eZ.js} +9 -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-Bo7qkt1P.js → Selector-wcbEB7BC.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-CcZLUd7G.js → SideNav-CYlAzvrT.js} +512 -58
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DIgb8ogt.js → Slider-jgmpvIDe.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-5toeiELX.js → Switch-YNk17Lct.js} +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-o3aGMDT1.js → Table-DcFujAPW.js} +12 -10
- package/dist/Text/index.js +2 -2
- package/dist/{Text-CiSw2pOi.js → Text-Bv4urzOW.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-B82oXF-m.js → TextArea-CixgkV__.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-_SIiqVOY.js → TextInput-Bpiq3FcP.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BlueoqOH.js → Thumbnail-Bktyar_H.js} +1 -1
- package/dist/{TimeField-BM-rVFhC.js → TimeField-BtiLoHqW.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CkZfhhAr.js → TimeInput-eyxw3KzD.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DiIs5GLA.js → Timer-C-N-sElU.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-D9Jyk9sD.js → Timestamp-BTs10ZLD.js} +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-D4Q6wvYu.js → Toast-DpMqZ72F.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-CO0XWWc0.js → ToggleButton-W_tpgZ8k.js} +3 -3
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-CsFiYUJ_.js → Tokenizer-Bs1VXinx.js} +2 -2
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CFkThrKq.js → TopNav-CSFUTuyI.js} +3 -3
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-ugSF9DWj.js → TreeList-B8p_lI7a.js} +18 -9
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead--kEp21ut.js → Typeahead-Bh0nap5Z.js} +2 -2
- package/dist/{landing-Bs0aMIsR.js → batch-BJD6Bt-O.js} +42 -740
- package/dist/composables/index.js +4 -4
- package/dist/{composables-BgfubKnk.js → composables-CDrwFX0l.js} +2 -19
- package/dist/context-Cj_zItu2.js +729 -0
- package/dist/{dateParser-DS_a8Ej8.js → dateParser-BKoaawL9.js} +46 -2
- package/dist/edge-DIlkB7vS.js +164 -0
- package/dist/edgeRide-D0oC2JEB.js +499 -0
- package/dist/focusAcrossSwap-Casww_IY.js +19 -0
- package/dist/focusRegion-CmDg7_4b.js +81 -0
- package/dist/{handle-BPXdHbkr.js → handle-ChN2TMKH.js} +1 -1
- package/dist/{index-C93nwgTW.d.ts → index-51CkIKnI.d.ts} +1 -1
- package/dist/{index--kbwaSXW.d.ts → index-5Hrxeq2J.d.ts} +4 -4
- package/dist/{index-D-giO0SA.d.ts → index-B63NOJRc.d.ts} +8 -8
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-CryFtTT6.d.ts → index-BIQZa2BD.d.ts} +1 -1
- package/dist/{index-CUCgbqBB.d.ts → index-BNtSmuWg.d.ts} +5 -5
- package/dist/{index-BO9TY87G.d.ts → index-BOCb89V9.d.ts} +3 -3
- package/dist/{index-Djf0M7PH.d.ts → index-BP2SjZiM.d.ts} +2 -2
- package/dist/{index-CdvmnNMH.d.ts → index-BaFphczL.d.ts} +1 -1
- package/dist/{index-CKUfpmFL.d.ts → index-C3FgFPrM.d.ts} +3 -1
- package/dist/{index-BeR-1LgF.d.ts → index-C5fbwY7Y.d.ts} +4 -3
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-ohw86wfM.d.ts → index-CaE2cqeG.d.ts} +59 -55
- package/dist/{index-Otl047R1.d.ts → index-Cb-rvc1W.d.ts} +1 -1
- package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-B449gOMC.d.ts → index-D1JXm7Et.d.ts} +3 -3
- package/dist/{index-BL4mH8aK.d.ts → index-DMN_JVEt.d.ts} +1 -1
- package/dist/{index-aE810PYg.d.ts → index-DmAEpn5E.d.ts} +1 -1
- package/dist/{index-CfXW4km8.d.ts → index-GgHVkJtB.d.ts} +1 -1
- package/dist/{index-DdT2wE_N.d.ts → index-LaQSu7ST.d.ts} +7 -7
- package/dist/{index-eCp-ElSp.d.ts → index-MvrDMqnQ.d.ts} +1 -1
- package/dist/{index-B-3EGjfQ.d.ts → index-Q1oG9yIT.d.ts} +2 -2
- package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
- package/dist/{index-Dg0JsBpI.d.ts → index-Y-AmNzkO.d.ts} +2 -2
- package/dist/{index-dWlCpnua.d.ts → index-mK1ICsVg.d.ts} +1 -1
- package/dist/{index-B3yTdknp.d.ts → index-vCRf5fyK.d.ts} +3 -2
- package/dist/index.d.ts +29 -29
- package/dist/index.js +77 -77
- package/dist/landing-C7nc9JHm.js +104 -0
- package/dist/quietFinished-CKZXgsPM.js +19 -0
- package/dist/sharedMutationObserver-Dvh3N1N2.js +41 -0
- package/dist/{timeFormat-CqrwFE42.js → timeFormat-Cnd5vu5t.js} +1 -1
- package/dist/{timeParser-D9tCF_b3.js → timeParser-nVL5sIwT.js} +34 -5
- package/dist/{types-BG23kC3S.d.ts → types-C2ZuV4jf.d.ts} +7 -1
- package/dist/{useActionGroupTracking-DGeOIv3K.js → useActionGroupTracking-fwmxDcU3.js} +1 -1
- package/dist/{useFocusTrap-BUd-fvUH.js → useFocusTrap-DsYtRdmV.js} +2 -81
- package/dist/{useInputStatusIcon-ne9V7ZQC.js → useInputStatusIcon-CVGsNTi_.js} +1 -1
- package/dist/{useMenuDrillIn-BaNYxWiS.js → useMenuDrillIn-DaH0nhPa.js} +1 -1
- package/dist/{useTimeValue-CcKrnO8z.js → useTimeValue-8YfPQffv.js} +2 -2
- package/dist/{useTouchHitArea-BI-CtI7e.js → useTouchHitArea-BKZL6tHX.js} +48 -5
- package/dist/{useTruncation-C4pdlaXa.js → useTruncation-BxYAhQtF.js} +1 -40
- package/dist/{useTruncationTooltip-DwUQN7fD.js → useTruncationTooltip-DeCGRmot.js} +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/styles/mobile-nav.css +4 -2
- package/styles/nav-item.css +3 -3
- package/styles/side-nav.css +36 -8
- package/styles/touch-hit-area.css +28 -0
- package/styles/tree-list.css +9 -4
- package/dist/context-ZsDEkhSF.js +0 -24
- package/dist/{index-BqhgeAT4.d.ts → index-BJ9Wim6J.d.ts} +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$11 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$11 } from "./BottomSheet-DV7bboru.js";
|
|
2
2
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
3
3
|
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
4
4
|
import { n as isMenuPressActivation, r as resetMenuPress } from "./strayClick-_QKRT5aH.js";
|
|
@@ -9,7 +9,7 @@ import { n as addCollection, r as addIcon } from "./registry-fNY3jasS.js";
|
|
|
9
9
|
import { n as isSafeUrl, r as sanitizeUrl, t as isSafeDestination } from "./safeUrl-CsvfcZ9m.js";
|
|
10
10
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
11
11
|
import { i as useSize, n as SizeProvider, r as provideSize, t as SizeContext } from "./SizeContext-BbaF-SEx.js";
|
|
12
|
-
import { t as _sfc_main$18 } from "./Button-
|
|
12
|
+
import { t as _sfc_main$18 } from "./Button-DOfigN38.js";
|
|
13
13
|
import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
14
14
|
import { i as useLayerGutter, r as useLayerConfig } from "./context-M-er0-Rk.js";
|
|
15
15
|
import { t as useDismiss } from "./useDismiss-Dfb0Ky7T.js";
|
|
@@ -18,9 +18,11 @@ import { t as _sfc_main$200 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
|
18
18
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
19
19
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
20
20
|
import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "./characters-wTnzjkkR.js";
|
|
21
|
-
import { _ as createAnimator, a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, g as useAnimatedLayout, h as useAnimator, i as useSnapPaging, l as useImageMode, m as useContainerReveal, n as snapToGraphemeBoundary, o as useIndicatorFocusRing, p as useControllableState, r as useStreamingText, s as imageModeFromPixels, t as useTouchTrigger, u as useGridRovingFocus } from "./composables-
|
|
21
|
+
import { _ as createAnimator, a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, g as useAnimatedLayout, h as useAnimator, i as useSnapPaging, l as useImageMode, m as useContainerReveal, n as snapToGraphemeBoundary, o as useIndicatorFocusRing, p as useControllableState, r as useStreamingText, s as imageModeFromPixels, t as useTouchTrigger, u as useGridRovingFocus } from "./composables-CDrwFX0l.js";
|
|
22
22
|
import { n as useDevWarning, t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
23
23
|
import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
|
|
24
|
+
import { a as useSideNavCollapse } from "./context-Cj_zItu2.js";
|
|
25
|
+
import { a as _sfc_main$148, i as _sfc_main$147, n as _sfc_main$150, r as _sfc_main$149, t as _sfc_main$151 } from "./SideNav-CYlAzvrT.js";
|
|
24
26
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
25
27
|
import { n as useAppShellMobile, t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
26
28
|
import { n as useAsyncSource, t as createStaticSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
@@ -33,12 +35,12 @@ import { t as useDisclosureHandle } from "./useDisclosureHandle-Df3HhAfC.js";
|
|
|
33
35
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
34
36
|
import { t as fileInputMessages } from "./file-input-CzK0qCvm.js";
|
|
35
37
|
import { n as selectFiles, t as formatFileSize } from "./useFileSelection-Cfcbh8XI.js";
|
|
36
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
38
|
+
import { t as useFocusTrap } from "./useFocusTrap-DsYtRdmV.js";
|
|
37
39
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
38
40
|
import { n as useResizable, r as useHotkeys, t as percent } from "./useResizable-BMlG1oxA.js";
|
|
39
41
|
import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
|
|
40
|
-
import { t as _sfc_main$91 } from "./IconButton-
|
|
41
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
42
|
+
import { t as _sfc_main$91 } from "./IconButton-oKXLxgYb.js";
|
|
43
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-CVGsNTi_.js";
|
|
42
44
|
import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
43
45
|
import { a as useAstryxLocale, i as provideAstryxLocale, o as useComponentMessages, r as normalizeLocale } from "./context-B8IEFCDR.js";
|
|
44
46
|
import { t as kbdMessages } from "./kbd-eX_twmH9.js";
|
|
@@ -56,26 +58,25 @@ import { t as useRestoreFocus } from "./useRestoreFocus-Cz_jM_nW.js";
|
|
|
56
58
|
import { t as useScrollableArea } from "./useScrollableArea-BaHkGWbX.js";
|
|
57
59
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
58
60
|
import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
|
|
59
|
-
import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o as formatDisplayTime24h, r as compareTime, t as adjustTime, u as parseTimeInput } from "./timeParser-
|
|
60
|
-
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-
|
|
61
|
+
import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o as formatDisplayTime24h, r as compareTime, t as adjustTime, u as parseTimeInput } from "./timeParser-nVL5sIwT.js";
|
|
62
|
+
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-8YfPQffv.js";
|
|
61
63
|
import { n as isActionTrigger } from "./useTouchTriggerInternal-Bs7obOrb.js";
|
|
62
64
|
import { t as useTypeahead } from "./useTypeahead-BrWvmOu9.js";
|
|
63
|
-
import { t as _sfc_main$69 } from "./Dialog-
|
|
65
|
+
import { t as _sfc_main$69 } from "./Dialog-CztWmbf8.js";
|
|
64
66
|
import { t as useTooltip } from "./useTooltip-C7gHRGEO.js";
|
|
65
67
|
import { t as _sfc_main$188 } from "./Tooltip-DQipgW1R.js";
|
|
66
|
-
import { n as useTruncation } from "./useTruncation-C4pdlaXa.js";
|
|
67
68
|
import { n as observeResize, r as unobserveResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
68
|
-
import {
|
|
69
|
+
import { n as useTruncation } from "./useTruncation-BxYAhQtF.js";
|
|
70
|
+
import { t as _sfc_main$88 } from "./Heading-Bo6A69fA.js";
|
|
69
71
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
70
72
|
import { t as _sfc_main$155 } from "./Stack-DPB-Ztf7.js";
|
|
71
|
-
import { t as _sfc_main$173 } from "./Text-
|
|
72
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-
|
|
73
|
+
import { t as _sfc_main$173 } from "./Text-Bv4urzOW.js";
|
|
74
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-DYYA2LOe.js";
|
|
73
75
|
import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-DuroKU_A.js";
|
|
74
76
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
75
77
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
76
|
-
import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-
|
|
77
|
-
import {
|
|
78
|
-
import { t as _sfc_main$1 } from "./AppShell-NvIT99xw.js";
|
|
78
|
+
import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-CKEOroi0.js";
|
|
79
|
+
import { t as _sfc_main$1 } from "./AppShell-zEXmJb1h.js";
|
|
79
80
|
import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
|
|
80
81
|
import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-D85dSNpq.js";
|
|
81
82
|
import { t as avatarGroupMessages } from "./avatar-group-Dcn6i_ne.js";
|
|
@@ -83,65 +84,65 @@ import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-AIu60Urv.js";
|
|
|
83
84
|
import { t as _sfc_main$7 } from "./Badge-BbPS_49c.js";
|
|
84
85
|
import "./Badge/index.js";
|
|
85
86
|
import { t as bannerMessages } from "./banner-Bv76b50U.js";
|
|
86
|
-
import { t as _sfc_main$8 } from "./Banner-
|
|
87
|
+
import { t as _sfc_main$8 } from "./Banner-C4ZICVvW.js";
|
|
87
88
|
import { t as _sfc_main$10 } from "./Blockquote-DRoKdcxZ.js";
|
|
88
89
|
import "./Blockquote/index.js";
|
|
89
|
-
import { t as _sfc_main$12 } from "./BottomSheet-
|
|
90
|
-
import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-
|
|
90
|
+
import { t as _sfc_main$12 } from "./BottomSheet-DNuzJPfQ.js";
|
|
91
|
+
import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-BSHDEJyh.js";
|
|
91
92
|
import { t as _sfc_main$43 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
92
|
-
import { a as _sfc_main$14, c as useDropdownMenuRadioGroup, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$15, r as _sfc_main$16, s as useDropdownMenuContext } from "./useMenuDrillIn-
|
|
93
|
-
import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-
|
|
93
|
+
import { a as _sfc_main$14, c as useDropdownMenuRadioGroup, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$15, r as _sfc_main$16, s as useDropdownMenuContext } from "./useMenuDrillIn-DaH0nhPa.js";
|
|
94
|
+
import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-r93pI0mD.js";
|
|
94
95
|
import { t as _sfc_main$71 } from "./Divider-mOZ6vIQw.js";
|
|
95
96
|
import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
|
|
96
97
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
97
|
-
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-
|
|
98
|
-
import { n as _sfc_main$19 } from "./ButtonGroup-
|
|
98
|
+
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-C8nA3Ft9.js";
|
|
99
|
+
import { n as _sfc_main$19 } from "./ButtonGroup-BzrDhbMP.js";
|
|
99
100
|
import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
|
|
100
101
|
import { t as _sfc_main$20 } from "./Calendar-ydp0vJdO.js";
|
|
101
102
|
import "./Calendar/index.js";
|
|
102
103
|
import { t as _sfc_main$21 } from "./Card-BbKFHWuD.js";
|
|
103
104
|
import "./Card/index.js";
|
|
104
105
|
import { t as carouselMessages } from "./carousel-Uaa3h_cg.js";
|
|
105
|
-
import { t as _sfc_main$22 } from "./Carousel-
|
|
106
|
+
import { t as _sfc_main$22 } from "./Carousel-CRaHAUsZ.js";
|
|
106
107
|
import { t as _sfc_main$23 } from "./Center-B7FTd7Hw.js";
|
|
107
108
|
import { t as chatMessages } from "./chat-BUFYB3bA.js";
|
|
108
|
-
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$25, a as _sfc_main$39, b as _sfc_main$26, c as _sfc_main$35, d as _sfc_main$32, f as _sfc_main$31, g as _sfc_main$27, h as _sfc_main$28, i as _sfc_main$40, l as _sfc_main$34, m as _sfc_main$30, n as useSpeechRecognition, o as _sfc_main$38, p as _sfc_main$29, r as _sfc_main$41, s as _sfc_main$37, t as useChatDictation, u as _sfc_main$33, v as _sfc_main$24, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$36 } from "./Chat-
|
|
109
|
+
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$25, a as _sfc_main$39, b as _sfc_main$26, c as _sfc_main$35, d as _sfc_main$32, f as _sfc_main$31, g as _sfc_main$27, h as _sfc_main$28, i as _sfc_main$40, l as _sfc_main$34, m as _sfc_main$30, n as useSpeechRecognition, o as _sfc_main$38, p as _sfc_main$29, r as _sfc_main$41, s as _sfc_main$37, t as useChatDictation, u as _sfc_main$33, v as _sfc_main$24, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$36 } from "./Chat-DTs843Ta.js";
|
|
109
110
|
import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-FHYH3VXg.js";
|
|
110
111
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
111
112
|
import { t as _sfc_main$154 } from "./Spinner-DEVPDsD0.js";
|
|
112
113
|
import "./CheckboxIndicator/index.js";
|
|
113
114
|
import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
|
|
114
|
-
import { t as _sfc_main$92 } from "./InfoTip-
|
|
115
|
+
import { t as _sfc_main$92 } from "./InfoTip-DWC-vnT5.js";
|
|
115
116
|
import { t as fieldMessages } from "./field-CehUqCe0.js";
|
|
116
|
-
import { t as _sfc_main$81 } from "./FieldLabel-
|
|
117
|
+
import { t as _sfc_main$81 } from "./FieldLabel-BoMSIOLF.js";
|
|
117
118
|
import { t as _sfc_main$82 } from "./FieldStatus-DSUCli4W.js";
|
|
118
119
|
import { a as _sfc_main$136, i as isCoreIndicatorName, n as defaultIndicators, o as _sfc_main$42, r as getIndicator, t as useIndicator } from "./useIndicator--9mGGlT2.js";
|
|
119
|
-
import { t as _sfc_main$44 } from "./CheckboxInput-
|
|
120
|
+
import { t as _sfc_main$44 } from "./CheckboxInput-Ydl1GSBh.js";
|
|
120
121
|
import "./CheckboxInput/index.js";
|
|
121
|
-
import { t as _sfc_main$80 } from "./Field-
|
|
122
|
-
import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-
|
|
123
|
-
import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-
|
|
122
|
+
import { t as _sfc_main$80 } from "./Field-CIZdFzXr.js";
|
|
123
|
+
import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-v1GFTbba.js";
|
|
124
|
+
import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-Sn_ph-Xz.js";
|
|
124
125
|
import { t as checkboxListMessages } from "./checkbox-list-uI6q4y3V.js";
|
|
125
126
|
import { t as citationMessages } from "./citation-h6fyz-JH.js";
|
|
126
127
|
import { t as _sfc_main$47 } from "./Citation-CSgRYxGU.js";
|
|
127
128
|
import { n as _sfc_main$48 } from "./ClickableCard-DH-zpF7o.js";
|
|
128
|
-
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main$49, 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$50, u as applyHighlightRanges } from "./CodeBlock-
|
|
129
|
+
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main$49, 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$50, u as applyHighlightRanges } from "./CodeBlock-DXBJEZS6.js";
|
|
129
130
|
import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "./syntaxTheme-R7xnu5x5.js";
|
|
130
131
|
import { 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$161, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "./Code-rmiC0XfO.js";
|
|
131
|
-
import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-
|
|
132
|
+
import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-BG-u5nEt.js";
|
|
132
133
|
import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
|
|
133
|
-
import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-
|
|
134
|
+
import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-CV7t0ouM.js";
|
|
134
135
|
import { t as inputMessages } from "./input-DUSvqqG_.js";
|
|
135
136
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
136
137
|
import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
|
|
137
|
-
import { n as usePopover, t as _sfc_main$131 } from "./Popover-
|
|
138
|
-
import { n as _sfc_main$60 } from "./ComplexSelector-
|
|
138
|
+
import { n as usePopover, t as _sfc_main$131 } from "./Popover-D0jAIXkw.js";
|
|
139
|
+
import { n as _sfc_main$60 } from "./ComplexSelector-BKjyFdHr.js";
|
|
139
140
|
import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
|
|
140
|
-
import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-
|
|
141
|
+
import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-CwnY6hcJ.js";
|
|
141
142
|
import { t as dateInputMessages } from "./date-input-rUD8YAow.js";
|
|
142
143
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
143
|
-
import { t as _sfc_main$66 } from "./DateInput-
|
|
144
|
-
import { A as plainDateMin, C as plainDateFromInstant, D as plainDateIsEqual, E as plainDateIsBefore, F as plainDateToISO, I as plainDateToInstant, L as plainDateToday, M as plainDateSetFirstOfMonth, N as plainDateSetStartOfWeek, O as plainDateIsInRange, P as plainDateToDate, R as plainDateWeekFieldName, S as plainDateFromISO, T as plainDateIsAfter, _ as plainDateCreate, a as DATE_FORMAT_MONTH_YEAR, b as plainDateFormat, c as DATE_FORMAT_SHORT_WITH_YEAR, d as SHARED_DATE_FORMAT_OPTIONS, f as formatSharedDate, g as plainDateAddMonths, h as plainDateAddDays, i as DATE_FORMAT_MONTH_ONLY, j as plainDateSetEndOfWeekExclusive, k as plainDateMax, l as DATE_FORMAT_WEEKDAY_ONLY, m as getTimeZoneParts, n as parseDateInput, o as DATE_FORMAT_SHORT, p as getDaysInMonth, r as DATE_FORMAT_LONG, s as DATE_FORMAT_SHORT_WITH_WEEKDAY, t as isLocaleDayFirst, u as DATE_FORMAT_WITH_WEEKDAY, v as plainDateDayOfWeek, w as plainDateGetWeekNumber, x as plainDateFromDate, y as plainDateDiffDays } from "./dateParser-
|
|
144
|
+
import { t as _sfc_main$66 } from "./DateInput-BaX40vSs.js";
|
|
145
|
+
import { A as plainDateMin, C as plainDateFromInstant, D as plainDateIsEqual, E as plainDateIsBefore, F as plainDateToISO, I as plainDateToInstant, L as plainDateToday, M as plainDateSetFirstOfMonth, N as plainDateSetStartOfWeek, O as plainDateIsInRange, P as plainDateToDate, R as plainDateWeekFieldName, S as plainDateFromISO, T as plainDateIsAfter, _ as plainDateCreate, a as DATE_FORMAT_MONTH_YEAR, b as plainDateFormat, c as DATE_FORMAT_SHORT_WITH_YEAR, d as SHARED_DATE_FORMAT_OPTIONS, f as formatSharedDate, g as plainDateAddMonths, h as plainDateAddDays, i as DATE_FORMAT_MONTH_ONLY, j as plainDateSetEndOfWeekExclusive, k as plainDateMax, l as DATE_FORMAT_WEEKDAY_ONLY, m as getTimeZoneParts, n as parseDateInput, o as DATE_FORMAT_SHORT, p as getDaysInMonth, r as DATE_FORMAT_LONG, s as DATE_FORMAT_SHORT_WITH_WEEKDAY, t as isLocaleDayFirst, u as DATE_FORMAT_WITH_WEEKDAY, v as plainDateDayOfWeek, w as plainDateGetWeekNumber, x as plainDateFromDate, y as plainDateDiffDays } from "./dateParser-BKoaawL9.js";
|
|
145
146
|
import { _ as buttonMessages, a as transferListMessages, c as richTextEditorMessages, d as emojiPickerMessages, f as commentsMessages, g as codeBlockMessages, h as commentComposerMessages, i as useAstryxMessages, l as powerSearchMessages, o as transferListSelectorMessages, s as tableMessages, t as loadAstryxCatalog, u as listInputMessages, v as breadcrumbsMessages, y as alertDialogMessages } from "./loadCatalog-DsEKSY3U.js";
|
|
146
147
|
import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
|
|
147
148
|
import { n as dateTimeInputMessages, t as timeInputMessages } from "./time-input-CKOsh84E.js";
|
|
@@ -169,21 +170,21 @@ import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
|
169
170
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
170
171
|
import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-C-Y-13BP.js";
|
|
171
172
|
import "./DateInput/index.js";
|
|
172
|
-
import { t as _sfc_main$67 } from "./DateRangeInput-
|
|
173
|
+
import { t as _sfc_main$67 } from "./DateRangeInput-DplhXZqK.js";
|
|
173
174
|
import "./DateRangeInput/index.js";
|
|
174
175
|
import { a as presentationFromNativePicker, i as pickerPresentationFromNativePicker, n as effectiveInputPresentation, o as resolveInputPresentation, r as effectivePickerPresentation, s as resolvePickerPresentation, t as DEFAULT_INPUT_PRESENTATION } from "./inputPresentation-BOyHkCDr.js";
|
|
175
|
-
import { t as _sfc_main$68 } from "./DateTimeInput-
|
|
176
|
+
import { t as _sfc_main$68 } from "./DateTimeInput-CrD1EEfs.js";
|
|
176
177
|
import "./DateTimeInput/index.js";
|
|
177
|
-
import { t as _sfc_main$70 } from "./DialogHeader-
|
|
178
|
-
import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-
|
|
178
|
+
import { t as _sfc_main$70 } from "./DialogHeader-CjHTNccL.js";
|
|
179
|
+
import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-B2pOTrnQ.js";
|
|
179
180
|
import "./Divider/index.js";
|
|
180
|
-
import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-
|
|
181
|
-
import { t as _sfc_main$78 } from "./DropdownMenu-
|
|
182
|
-
import { t as _sfc_main$79 } from "./EmptyState-
|
|
183
|
-
import { t as _sfc_main$93 } from "./InputClearButton-
|
|
181
|
+
import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-DGIuMLms.js";
|
|
182
|
+
import { t as _sfc_main$78 } from "./DropdownMenu-l9c562oA.js";
|
|
183
|
+
import { t as _sfc_main$79 } from "./EmptyState-nyV5XxMA.js";
|
|
184
|
+
import { t as _sfc_main$93 } from "./InputClearButton-CAitWZTk.js";
|
|
184
185
|
import "./Field/index.js";
|
|
185
186
|
import "./FieldStatus/index.js";
|
|
186
|
-
import { t as _sfc_main$83 } from "./FileInput-
|
|
187
|
+
import { t as _sfc_main$83 } from "./FileInput-DvGU92Sg.js";
|
|
187
188
|
import { t as _sfc_main$84 } from "./FormLayout-CGJVeNsL.js";
|
|
188
189
|
import { n as _sfc_main$85, t as _sfc_main$86 } from "./Grid-C0mp7fha.js";
|
|
189
190
|
import "./Heading/index.js";
|
|
@@ -192,88 +193,87 @@ import { t as useSemanticIcon } from "./Icon-B2aULLnn.js";
|
|
|
192
193
|
import "./IconButton/index.js";
|
|
193
194
|
import "./Indicator/index.js";
|
|
194
195
|
import "./InfoTip/index.js";
|
|
195
|
-
import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-
|
|
196
|
+
import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-CeTKqJQn.js";
|
|
196
197
|
import { a as resolveProviderMessages, i as getLocaleDirection, r as useLocaleDirection, t as _sfc_main$96 } from "./InternationalizationProvider-Ddo_-tLK.js";
|
|
197
198
|
import "./Kbd/index.js";
|
|
198
199
|
import { n as mergeInset, r as resolveInset, t as _sfc_main$99 } from "./LayerProvider-B6zpMBWC.js";
|
|
199
200
|
import { t as _sfc_main$102 } from "./Layout-DP2vrvTv.js";
|
|
200
|
-
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-
|
|
201
|
+
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-CesmEisI.js";
|
|
201
202
|
import { t as _sfc_main$106 } from "./Link-CQ-Ztuo_.js";
|
|
202
203
|
import "./Link/index.js";
|
|
203
204
|
import { t as _sfc_main$107 } from "./LinkProvider-Qsps9_mL.js";
|
|
204
205
|
import "./List/index.js";
|
|
205
206
|
import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "./publicParser-C8RBKNLA.js";
|
|
206
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-
|
|
207
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-CIA5ejYp.js";
|
|
207
208
|
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
|
208
209
|
import { n as _sfc_main$112, t as _sfc_main$113 } from "./MetadataList-n3YXiP4a.js";
|
|
209
210
|
import "./MobileNav/index.js";
|
|
210
|
-
import { t as _sfc_main$116 } from "./MoreMenu-
|
|
211
|
+
import { t as _sfc_main$116 } from "./MoreMenu-DcImQxyp.js";
|
|
211
212
|
import { t as _sfc_main$185 } from "./Token-jBbgdevV.js";
|
|
212
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-
|
|
213
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-DedRF-RL.js";
|
|
213
214
|
import "./MultiSelector/index.js";
|
|
214
215
|
import { t as _sfc_main$121 } from "./NavItem-thEKXyJA.js";
|
|
215
|
-
import { t as _sfc_main$122 } from "./NavItem-
|
|
216
|
+
import { t as _sfc_main$122 } from "./NavItem-CcbOJNnY.js";
|
|
216
217
|
import { t as _sfc_main$118 } from "./NavDisclosure-Dg6U7pc7.js";
|
|
217
218
|
import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-CTbvZnO2.js";
|
|
218
219
|
import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-BS0oULrz.js";
|
|
219
|
-
import { t as _sfc_main$125 } from "./NumberInput-
|
|
220
|
+
import { t as _sfc_main$125 } from "./NumberInput-q9HP5L_V.js";
|
|
220
221
|
import "./NumberInput/index.js";
|
|
221
222
|
import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-eucTzyZu.js";
|
|
222
223
|
import { t as _sfc_main$127 } from "./OverflowList-B6Alf6bi.js";
|
|
223
224
|
import { n as useOverlay, r as _sfc_main$129, t as _sfc_main$128 } from "./Overlay-DKILTHxI.js";
|
|
224
|
-
import { t as _sfc_main$130 } from "./Pagination-
|
|
225
|
-
import { t as _sfc_main$146 } from "./Selector-
|
|
225
|
+
import { t as _sfc_main$130 } from "./Pagination-DfAHckUV.js";
|
|
226
|
+
import { t as _sfc_main$146 } from "./Selector-wcbEB7BC.js";
|
|
226
227
|
import "./Pagination/index.js";
|
|
227
228
|
import "./Popover/index.js";
|
|
228
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-
|
|
229
|
+
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-CU_MBQlC.js";
|
|
229
230
|
import { i as _sfc_main$198 } from "./useTypeaheadMenuConfig--4f7jR6G.js";
|
|
230
|
-
import { t as _sfc_main$186 } from "./Tokenizer-
|
|
231
|
-
import { t as _sfc_main$175 } from "./TextInput-
|
|
232
|
-
import { t as _sfc_main$178 } from "./TimeInput-
|
|
233
|
-
import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead
|
|
231
|
+
import { t as _sfc_main$186 } from "./Tokenizer-Bs1VXinx.js";
|
|
232
|
+
import { t as _sfc_main$175 } from "./TextInput-Bpiq3FcP.js";
|
|
233
|
+
import { t as _sfc_main$178 } from "./TimeInput-eyxw3KzD.js";
|
|
234
|
+
import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-Bh0nap5Z.js";
|
|
234
235
|
import { t as _sfc_main$133 } from "./ProgressBar-DgyPRxV0.js";
|
|
235
|
-
import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-
|
|
236
|
+
import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-Cm2n6M5C.js";
|
|
236
237
|
import "./Radio/index.js";
|
|
237
|
-
import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-
|
|
238
|
+
import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-B5MaynOw.js";
|
|
238
239
|
import { t as _sfc_main$139 } from "./ResizeHandle-4-krI-cQ.js";
|
|
239
240
|
import "./Resizable/index.js";
|
|
240
241
|
import { t as _sfc_main$140 } from "./ScrollableArea-Cflez3d4.js";
|
|
241
242
|
import { t as _sfc_main$141 } from "./Scrollbars-Gvu4QVaF.js";
|
|
242
243
|
import { t as _sfc_main$142 } from "./Section-Km_FjJ-i.js";
|
|
243
244
|
import "./Section/index.js";
|
|
244
|
-
import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-
|
|
245
|
+
import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-D--5X0eZ.js";
|
|
245
246
|
import { n as _sfc_main$145 } from "./SelectableCard-CLwYtbZl.js";
|
|
246
247
|
import "./Selector/index.js";
|
|
247
|
-
import { a as _sfc_main$148, i as _sfc_main$147, n as _sfc_main$150, r as _sfc_main$149, t as _sfc_main$151 } from "./SideNav-CcZLUd7G.js";
|
|
248
248
|
import "./SizeContext/index.js";
|
|
249
249
|
import { t as _sfc_main$152 } from "./Skeleton-CrgWxJgr.js";
|
|
250
250
|
import "./Skeleton/index.js";
|
|
251
|
-
import { t as _sfc_main$153 } from "./Slider-
|
|
251
|
+
import { t as _sfc_main$153 } from "./Slider-jgmpvIDe.js";
|
|
252
252
|
import "./Spinner/index.js";
|
|
253
253
|
import { n as _sfc_main$156, r as _sfc_main$87, t as _sfc_main$199 } from "./Stack-Byxur1jV.js";
|
|
254
254
|
import { t as _sfc_main$157 } from "./StatusDot-Cxm-uhTD.js";
|
|
255
255
|
import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-CnNUZDMO.js";
|
|
256
|
-
import { t as _sfc_main$160 } from "./Switch-
|
|
257
|
-
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-
|
|
256
|
+
import { t as _sfc_main$160 } from "./Switch-YNk17Lct.js";
|
|
257
|
+
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-DcFujAPW.js";
|
|
258
258
|
import { t as _sfc_main$187 } from "./Toolbar-BH_E0F0G.js";
|
|
259
259
|
import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-D_OvLcD5.js";
|
|
260
260
|
import "./Text/index.js";
|
|
261
|
-
import { t as _sfc_main$174 } from "./TextArea-
|
|
261
|
+
import { t as _sfc_main$174 } from "./TextArea-CixgkV__.js";
|
|
262
262
|
import "./TextInput/index.js";
|
|
263
263
|
import { a as neutralTheme, c as expandMotionScale, d as DEFAULT_WIDTH_BREAKPOINTS, f as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandRadiusScale, n as _sfc_main$176, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "./Theme-1RJVaRgz.js";
|
|
264
264
|
import { c as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main$111 } from "./MediaTheme-DfcdEWx-.js";
|
|
265
|
-
import { t as _sfc_main$177 } from "./Thumbnail-
|
|
265
|
+
import { t as _sfc_main$177 } from "./Thumbnail-Bktyar_H.js";
|
|
266
266
|
import "./TimeInput/index.js";
|
|
267
|
-
import { n as getPresentation, t as _sfc_main$179 } from "./Timer-
|
|
268
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-
|
|
269
|
-
import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-
|
|
270
|
-
import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-
|
|
267
|
+
import { n as getPresentation, t as _sfc_main$179 } from "./Timer-C-N-sElU.js";
|
|
268
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-BTs10ZLD.js";
|
|
269
|
+
import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-DpMqZ72F.js";
|
|
270
|
+
import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-W_tpgZ8k.js";
|
|
271
271
|
import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
|
|
272
272
|
import "./Tokenizer/index.js";
|
|
273
273
|
import "./Toolbar/index.js";
|
|
274
274
|
import "./Tooltip/index.js";
|
|
275
|
-
import { a as _sfc_main$191, i as _sfc_main$192, n as _sfc_main$194, o as _sfc_main$190, r as _sfc_main$193, s as _sfc_main$189, t as _sfc_main$195 } from "./TopNav-
|
|
276
|
-
import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-
|
|
275
|
+
import { a as _sfc_main$191, i as _sfc_main$192, n as _sfc_main$194, o as _sfc_main$190, r as _sfc_main$193, s as _sfc_main$189, t as _sfc_main$195 } from "./TopNav-CSFUTuyI.js";
|
|
276
|
+
import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-B8p_lI7a.js";
|
|
277
277
|
import "./Typeahead/index.js";
|
|
278
278
|
import { a as groupItems, i as getItemGroup, n as getInputARIA, o as normalizeDayOfWeek, r as joinAriaIDs, s as chainEventHandlers } from "./utils-BW62BpDR.js";
|
|
279
279
|
import "./VisuallyHidden/index.js";
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { m as batchPresented, t as areaOf } from "./handle-ChN2TMKH.js";
|
|
2
|
+
import { D as glides, S as originOf, T as visibleRect, a as flush, b as transitionSettles, c as onGlideClock, d as layoutMotion, h as beginChange, l as rectOf, n as batches, o as bandFor, s as collectCandidates, t as batchFor, y as settleTransition } from "./batch-BJD6Bt-O.js";
|
|
3
|
+
//#region src/motion/layout/reportChange.ts
|
|
4
|
+
function resolve(target) {
|
|
5
|
+
return typeof target === "function" ? target() : target.current;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Report a size change of `target` to the handle's area. Call
|
|
9
|
+
* `measureBefore()` before the change commits and `animate()` after it; the
|
|
10
|
+
* content after `target`, up to the area, glides from its old place.
|
|
11
|
+
* Changes in one area in one frame move together. Without a handle, or
|
|
12
|
+
* outside its container, nothing moves.
|
|
13
|
+
*/
|
|
14
|
+
function reportLayoutChange(handle, target) {
|
|
15
|
+
return {
|
|
16
|
+
measureBefore() {
|
|
17
|
+
const element = resolve(target);
|
|
18
|
+
if (element == null || handle == null) return;
|
|
19
|
+
const area = areaOf(handle, element);
|
|
20
|
+
if (area == null) return;
|
|
21
|
+
beginChange(element.ownerDocument);
|
|
22
|
+
const batch = batchFor(area);
|
|
23
|
+
if (batch.changed.has(element)) return;
|
|
24
|
+
batch.changed.add(element);
|
|
25
|
+
batch.changedSize += rectOf(element, batch.cache).height;
|
|
26
|
+
batch.visible ??= visibleRect(area);
|
|
27
|
+
batch.originBefore ??= originOf(area);
|
|
28
|
+
batch.walksToBand ??= area.ownerDocument.defaultView?.getComputedStyle(area).getPropertyValue("overflow-anchor") === "none";
|
|
29
|
+
const needed = Math.max(batch.visible.height, batch.changedSize);
|
|
30
|
+
const walks = needed > batch.reach ? [...batch.changed] : [element];
|
|
31
|
+
if (needed > batch.reach) batch.reach = Math.max(needed, batch.reach * 2);
|
|
32
|
+
const band = bandFor(batch.visible, batch.reach);
|
|
33
|
+
for (const changed of walks) {
|
|
34
|
+
const candidates = collectCandidates(changed, area, band, batch.cache, batch.walksToBand, batch.ancestors, batch.befores);
|
|
35
|
+
for (const [candidate, rect] of candidates) if (!batch.before.has(candidate)) batch.before.set(candidate, onGlideClock(candidate, rect, area));
|
|
36
|
+
batch.candidates.set(changed, [...candidates.keys()]);
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
animate(beforeMove) {
|
|
40
|
+
const element = resolve(target);
|
|
41
|
+
if (element == null || handle == null) return false;
|
|
42
|
+
const area = areaOf(handle, element);
|
|
43
|
+
const batch = area == null ? void 0 : batches.get(area);
|
|
44
|
+
if (batch == null || !batch.changed.has(element)) return false;
|
|
45
|
+
if (beforeMove != null) batch.beforeMove.push(beforeMove);
|
|
46
|
+
if (!batch.scheduled) {
|
|
47
|
+
batch.scheduled = true;
|
|
48
|
+
queueMicrotask(() => batchPresented(() => flush(batch)));
|
|
49
|
+
}
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/motion/layout/landing.ts
|
|
56
|
+
/**
|
|
57
|
+
* A disclosure's indicator (its chevron) turns on the same motion as the
|
|
58
|
+
* glide. Its CSS transition takes the theme's move curve and duration as the
|
|
59
|
+
* glide reads them where the area is, and is immediate under Reduce Motion.
|
|
60
|
+
* Without a handle the inline values are cleared, so the component's own
|
|
61
|
+
* transition applies.
|
|
62
|
+
*/
|
|
63
|
+
function applyLayoutChangeTransition(handle, element) {
|
|
64
|
+
if (element == null) return;
|
|
65
|
+
const area = handle == null ? null : areaOf(handle, element);
|
|
66
|
+
if (area == null) {
|
|
67
|
+
transitionSettles.get(element)?.();
|
|
68
|
+
element.style.removeProperty("transition-duration");
|
|
69
|
+
element.style.removeProperty("transition-timing-function");
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
const motion = layoutMotion(area);
|
|
73
|
+
if (motion.kind !== "glide") {
|
|
74
|
+
transitionSettles.get(element)?.();
|
|
75
|
+
element.style.setProperty("transition-duration", "0s");
|
|
76
|
+
element.style.removeProperty("transition-timing-function");
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const ms = Math.round(motion.progress.durationMs * 1e3) / 1e3;
|
|
80
|
+
element.style.setProperty("transition-duration", `${ms}ms`);
|
|
81
|
+
element.style.setProperty("transition-timing-function", motion.progress.easing);
|
|
82
|
+
settleTransition(element, motion.progress);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Lands `element`'s running glide at once: it takes its layout place, and a
|
|
86
|
+
* later change starts from there (a change its caller lands rather than
|
|
87
|
+
* animates, such as a rail that snaps).
|
|
88
|
+
*/
|
|
89
|
+
function landLayoutGlide(element) {
|
|
90
|
+
const glide = glides.get(element);
|
|
91
|
+
if (glide != null) {
|
|
92
|
+
glides.delete(element);
|
|
93
|
+
glide.animation.cancel();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The motion a change in `area` plays, for tests and for SideNav's rail
|
|
98
|
+
* motion, which plays on the same clock (`component:SideNav` FR6).
|
|
99
|
+
*/
|
|
100
|
+
function layoutMotionFor(area) {
|
|
101
|
+
return layoutMotion(area);
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
export { reportLayoutChange as i, landLayoutGlide as n, layoutMotionFor as r, applyLayoutChangeTransition as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/motion/quietFinished.ts
|
|
2
|
+
/**
|
|
3
|
+
* @file quietFinished.ts
|
|
4
|
+
* @input An Animation that motion code starts
|
|
5
|
+
* @output quietFinished: marks the animation's current `finished` promise as
|
|
6
|
+
* handled and returns the animation
|
|
7
|
+
* @position Internal to motion: a cancel rejects `finished` with an
|
|
8
|
+
* AbortError. Browsers mark that rejection handled; DOM shims that create
|
|
9
|
+
* the promise eagerly (happy-dom) leave it unhandled, so a test runner
|
|
10
|
+
* reports every cancelled motion as an error. Call it right after the
|
|
11
|
+
* animation starts playing, since starting from idle makes a new promise.
|
|
12
|
+
*/
|
|
13
|
+
function ignore() {}
|
|
14
|
+
function quietFinished(animation) {
|
|
15
|
+
Promise.resolve(animation.finished).catch(ignore);
|
|
16
|
+
return animation;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { quietFinished as t };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region src/utils/sharedMutationObserver.ts
|
|
2
|
+
const OPTIONS = {
|
|
3
|
+
characterData: true,
|
|
4
|
+
childList: true,
|
|
5
|
+
subtree: true
|
|
6
|
+
};
|
|
7
|
+
let observer = null;
|
|
8
|
+
const callbacks = /* @__PURE__ */ new Map();
|
|
9
|
+
function dispatch(records) {
|
|
10
|
+
const pending = /* @__PURE__ */ new Set();
|
|
11
|
+
for (const record of records) for (let node = record.target; node; node = node.parentNode) callbacks.get(node)?.forEach((callback) => pending.add(callback));
|
|
12
|
+
pending.forEach((callback) => callback());
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Observe text and child changes anywhere inside an element. All registrations
|
|
16
|
+
* share one MutationObserver; the returned function removes only its own callback.
|
|
17
|
+
*/
|
|
18
|
+
function observeContent(element, callback) {
|
|
19
|
+
if (typeof MutationObserver === "undefined") return () => {};
|
|
20
|
+
observer ??= new MutationObserver(dispatch);
|
|
21
|
+
const existing = callbacks.get(element);
|
|
22
|
+
if (existing) existing.add(callback);
|
|
23
|
+
else {
|
|
24
|
+
callbacks.set(element, /* @__PURE__ */ new Set([callback]));
|
|
25
|
+
observer.observe(element, OPTIONS);
|
|
26
|
+
}
|
|
27
|
+
let subscribed = true;
|
|
28
|
+
return () => {
|
|
29
|
+
if (!subscribed) return;
|
|
30
|
+
subscribed = false;
|
|
31
|
+
const registered = callbacks.get(element);
|
|
32
|
+
registered?.delete(callback);
|
|
33
|
+
if (registered?.size === 0) callbacks.delete(element);
|
|
34
|
+
if (callbacks.size === 0 && observer) {
|
|
35
|
+
observer.disconnect();
|
|
36
|
+
observer = null;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { observeContent as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as parseISOTime } from "./timeParser-
|
|
1
|
+
import { l as parseISOTime } from "./timeParser-nVL5sIwT.js";
|
|
2
2
|
import { n as toAsciiDigits, t as INVISIBLE_CHARS } from "./unicodeDigits-_BYIJcAu.js";
|
|
3
3
|
//#region src/utils/timeFormat.ts
|
|
4
4
|
const symbolsByLocale = /* @__PURE__ */ new Map();
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
* Returns null if the string is not a valid time format.
|
|
5
5
|
*/
|
|
6
6
|
function createISOTimeString(value) {
|
|
7
|
-
|
|
7
|
+
if (typeof value !== "string") return null;
|
|
8
|
+
const trimmed = value.trim();
|
|
9
|
+
if (!/^\d{1,2}:\d{1,2}(?::\d{1,2}(?:\.\d+)?)?$/.test(trimmed)) return null;
|
|
10
|
+
const parsed = parseISOTime(trimmed);
|
|
8
11
|
if (!parsed) return null;
|
|
9
|
-
return formatISOTime(parsed,
|
|
12
|
+
return formatISOTime(parsed, trimmed.split(":").length === 3);
|
|
10
13
|
}
|
|
11
14
|
/**
|
|
12
15
|
* Parses an ISO time string into a ParsedTime object.
|
|
@@ -170,21 +173,47 @@ function isTimeInRange(time, min, max) {
|
|
|
170
173
|
return true;
|
|
171
174
|
}
|
|
172
175
|
/**
|
|
173
|
-
* Clamps a time to a min/max range.
|
|
176
|
+
* Clamps a time to a min/max range. Without seconds, a bound that falls
|
|
177
|
+
* between whole minutes gives the nearest whole minute inside the range. With
|
|
178
|
+
* no whole minute inside it, the bound itself answers, seconds included.
|
|
174
179
|
*/
|
|
175
180
|
function clampTime(time, min, max, includeSeconds = false) {
|
|
176
181
|
if (!parseISOTime(time)) return time;
|
|
177
182
|
if (min && compareTime(time, min) < 0) {
|
|
178
183
|
const parsedMin = parseISOTime(min);
|
|
179
|
-
if (parsedMin)
|
|
184
|
+
if (parsedMin) {
|
|
185
|
+
const reached = onWholeMinute(parsedMin, 1, includeSeconds, max);
|
|
186
|
+
return formatISOTime(reached, includeSeconds || reached.second !== 0);
|
|
187
|
+
}
|
|
180
188
|
}
|
|
181
189
|
if (max && compareTime(time, max) > 0) {
|
|
182
190
|
const parsedMax = parseISOTime(max);
|
|
183
|
-
if (parsedMax)
|
|
191
|
+
if (parsedMax) {
|
|
192
|
+
const reached = onWholeMinute(parsedMax, -1, includeSeconds, min);
|
|
193
|
+
return formatISOTime(reached, includeSeconds || reached.second !== 0);
|
|
194
|
+
}
|
|
184
195
|
}
|
|
185
196
|
return time;
|
|
186
197
|
}
|
|
187
198
|
/**
|
|
199
|
+
* A bound as a time without seconds reaches it: the next whole minute up from
|
|
200
|
+
* a minimum, or the whole minute down from a maximum. With no whole minute
|
|
201
|
+
* before the other bound, the bound stays as it is.
|
|
202
|
+
*/
|
|
203
|
+
function onWholeMinute(bound, direction, includeSeconds, other) {
|
|
204
|
+
if (includeSeconds || bound.second === 0) return bound;
|
|
205
|
+
const minutes = bound.hour * 60 + bound.minute + (direction === 1 ? 1 : 0);
|
|
206
|
+
if (minutes > 1439) return bound;
|
|
207
|
+
const rounded = {
|
|
208
|
+
hour: Math.floor(minutes / 60),
|
|
209
|
+
minute: minutes % 60,
|
|
210
|
+
second: 0
|
|
211
|
+
};
|
|
212
|
+
const order = compareTime(formatISOTime(rounded, true), other);
|
|
213
|
+
if (other && (direction === 1 ? order > 0 : order < 0)) return bound;
|
|
214
|
+
return rounded;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
188
217
|
* Adjusts a time by adding/subtracting minutes.
|
|
189
218
|
*/
|
|
190
219
|
function adjustTime(time, deltaMinutes, includeSeconds = false) {
|
|
@@ -16,8 +16,14 @@ interface NavItemProps {
|
|
|
16
16
|
rel?: string;
|
|
17
17
|
/** 当前页。 @default false */
|
|
18
18
|
isSelected?: boolean;
|
|
19
|
-
/**
|
|
19
|
+
/** 禁用后渲染成按钮,默认不进入 Tab 顺序。 @default false */
|
|
20
20
|
isDisabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* 禁用后仍保留 Tab 停靠点:按钮不用原生 `disabled`,改写 `aria-disabled="true"`,
|
|
23
|
+
* 点击和回车、空格都不触发行为。侧边导航项打开它。
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
isFocusableWhenDisabled?: boolean;
|
|
21
27
|
/** 高度和内边距。 @default 'md' */
|
|
22
28
|
size?: NavItemSize;
|
|
23
29
|
/** 图标的 CSS class,例如 `i-carbon-home`。 */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-
|
|
1
|
+
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-BKZL6tHX.js";
|
|
2
2
|
import { c as PRESS_GROUP_ITEM_ATTRIBUTE, i as isInsideScrollView, l as isTrackedByGroup, u as msSinceInput } from "./pressFeedback-BajhWhi1.js";
|
|
3
3
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
4
4
|
//#region src/composables/internal/useActionGroupTracking.ts
|