@astryx-vue/core 0.1.0 → 0.1.3
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/README.md +1 -1
- package/dist/AppShell/index.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-b0PWt9Fz.js +249 -0
- package/dist/AspectRatio/index.d.ts +2 -0
- package/dist/AspectRatio/index.js +2 -0
- package/dist/AspectRatio-Bij7e-tq.js +40 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DpYFXwgb.js → Calendar-CYhGDT6f.js} +2 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bfd-YPAK.js → Chat-C1aWl5V3.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C86o3XoG.js → CheckboxInput-CMsEE1_4.js} +4 -2
- package/dist/CheckboxList/index.d.ts +2 -0
- package/dist/CheckboxList/index.js +2 -0
- package/dist/CheckboxList-EsIEXjK_.js +174 -0
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DaDd1teb.js → Citation-C1X0Rde8.js} +2 -2
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-CK-NWM_1.js → CodeBlock-BQdooQy2.js} +1 -1
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-BS9ctCQV.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-u5h_E05P.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-BHmGWml0.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-BJh99Exj.js → ContextMenu-dA-ppaRQ.js} +284 -12
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-zJAdXByM.js → DateInput-D2ErjXYO.js} +18 -10
- package/dist/DateRangeInput/index.d.ts +2 -0
- package/dist/DateRangeInput/index.js +2 -0
- package/dist/DateRangeInput-fmQlr_A7.js +385 -0
- package/dist/DateTimeInput/index.d.ts +2 -0
- package/dist/DateTimeInput/index.js +2 -0
- package/dist/DateTimeInput-Bs1JmcIp.js +196 -0
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-C3j2zaEn.js → DropdownMenu-B0gogrvG.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -4
- package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
- package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
- package/dist/FieldStatus/index.d.ts +2 -0
- package/dist/FieldStatus/index.js +2 -0
- package/dist/FileInput/index.d.ts +2 -0
- package/dist/FileInput/index.js +2 -0
- package/dist/FileInput-CmAfOpkA.js +238 -0
- package/dist/FormLayout/index.d.ts +2 -0
- package/dist/FormLayout/index.js +2 -0
- package/dist/FormLayout-D47FjiOq.js +40 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/{Icon-B6qNgBP9.js → Icon-5MdZQ18k.js} +10 -2
- package/dist/Layout/index.d.ts +2 -0
- package/dist/Layout/index.js +3 -0
- package/dist/Layout-Bed3kP0M.js +56 -0
- package/dist/LayoutPanel-C34uOq3e.js +358 -0
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DyKIwAL_.js → Markdown-CwtLr3f_.js} +2 -2
- package/dist/MetadataList/index.d.ts +2 -0
- package/dist/MetadataList/index.js +2 -0
- package/dist/MetadataList-DlXQTLog.js +124 -0
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BK2iRJF-.js → MobileNavToggle-CgQamG6E.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BjUsVWWk.js → MoreMenu-BXL6Dqsu.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CKTbTj1A.js → MultiSelector-DT8ZccMI.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- 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-DU3_rw7z.js → NumberInput-DspJO6z6.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B2T5UtiQ.js → OverflowList-zXg3g6fy.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-qCgNwwhr.js → Pagination-DXfgMUKJ.js} +2 -2
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Radio/index.d.ts +2 -2
- package/dist/Radio/index.js +2 -2
- package/dist/{Radio-BioQfwHQ.js → RadioGroup-BqjdSCfJ.js} +21 -88
- package/dist/RadioList/index.d.ts +2 -0
- package/dist/RadioList/index.js +2 -0
- package/dist/RadioList-DI8ujXcT.js +122 -0
- package/dist/Resizable/index.d.ts +2 -0
- package/dist/Resizable/index.js +2 -0
- package/dist/Resizable-BuGKvU9I.js +261 -0
- package/dist/ScrollableArea/index.d.ts +2 -0
- package/dist/ScrollableArea/index.js +2 -0
- package/dist/ScrollableArea-DQDYjnxO.js +78 -0
- package/dist/Section/index.d.ts +2 -0
- package/dist/Section/index.js +2 -0
- package/dist/Section-C48Wqfc7.js +68 -0
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +2 -0
- package/dist/SelectableCard/index.js +2 -0
- package/dist/SelectableCard-Bj5s_tIN.js +108 -0
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-C6sPJMtH.js → Selector-DlZpQh42.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-D9lnn-sM.js → SideNav-Cdrigq2A.js} +49 -27
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +2 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Stepper-DxmLfh8O.js +423 -0
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CNdnr5TP.js → Switch-SesQzPGZ.js} +4 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +2 -2
- package/dist/TabList-C411uNQU.js +380 -0
- package/dist/Table/index.d.ts +3 -0
- package/dist/Table/index.js +2 -0
- package/dist/Table-7qRmlIQd.js +967 -0
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BL0NuB99.js → TextArea-Cv9UVbzS.js} +5 -3
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-B0IKC7g5.js → TextInput-BasnjVvy.js} +5 -3
- package/dist/Thumbnail/index.d.ts +2 -0
- package/dist/Thumbnail/index.js +2 -0
- package/dist/Thumbnail-BWVzLLyI.js +163 -0
- package/dist/TimeField-l3QzU6vC.js +214 -0
- package/dist/TimeInput/index.d.ts +2 -0
- package/dist/TimeInput/index.js +2 -0
- package/dist/TimeInput-OkgX-xbQ.js +121 -0
- package/dist/Timestamp/index.d.ts +2 -0
- package/dist/Timestamp/index.js +2 -0
- package/dist/Timestamp-DUoP9ari.js +465 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Ctf9jekS.js → Token-C4KD0fZD.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-D5MPgau0.js → Tokenizer-BA8sTMPZ.js} +3 -3
- 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-CjbMCbkC.js → TopNav-CZokS7E_.js} +57 -31
- package/dist/TreeList/index.d.ts +2 -0
- package/dist/TreeList/index.js +2 -0
- package/dist/TreeList-CIbAGOMf.js +506 -0
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-BMoU3hfx.js → Typeahead-DIw-K4aa.js} +3 -3
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +8 -2
- package/dist/composables-CVfjp9h4.js +502 -0
- package/dist/context-BjNya0v8.js +19 -0
- package/dist/context-Cfjh8te1.js +29 -0
- package/dist/{locale-56lkR7OK.js → context-D6ECRdc5.js} +267 -18
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-Dw21t7Uf.d.ts → index-2u4l3wq8.d.ts} +2 -2
- package/dist/{index-CvLlWLIZ.d.ts → index-B4OOtNP8.d.ts} +4 -4
- package/dist/{index-_1-uvr27.d.ts → index-B8MbfMwV.d.ts} +1 -1
- package/dist/{index-MPcg1Pm4.d.ts → index-BKr7yvVv.d.ts} +1 -1
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/{index-CnVbMebA.d.ts → index-Bqb_Fyju.d.ts} +3 -3
- package/dist/index-BrJzFA5X.d.ts +38 -0
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/index-By2mSzUA.d.ts +67 -0
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-BQuN_dWR.d.ts → index-BzqRns96.d.ts} +1 -1
- package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-Cc2HGODZ.d.ts → index-C6RecznD.d.ts} +3 -3
- package/dist/{index-BSRk8MFK.d.ts → index-C8wDPDcP.d.ts} +1 -1
- package/dist/index-CDdRQQF3.d.ts +170 -0
- package/dist/index-COqjznX0.d.ts +47 -0
- package/dist/{index-Cz9ZHVf6.d.ts → index-CT8KEpec.d.ts} +2 -2
- package/dist/{index-CxspvLBl.d.ts → index-CTolyeii.d.ts} +1 -1
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-CX97hlld.d.ts +158 -0
- package/dist/index-C_2Z65Rp.d.ts +67 -0
- package/dist/index-CjtAH60j.d.ts +38 -0
- package/dist/index-CtlkhQ55.d.ts +36 -0
- package/dist/{index-JeZ0YTyd.d.ts → index-D-ZuubCK.d.ts} +4 -4
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-C8NW9xre.d.ts → index-DGNqi2za.d.ts} +7 -7
- package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
- package/dist/index-DXSs3rwa.d.ts +252 -0
- package/dist/{index-C0S2Xzoi.d.ts → index-DYChvBOM.d.ts} +135 -0
- package/dist/index-Da7Jm8Ht.d.ts +10 -0
- package/dist/{index-CaHXYQ_E.d.ts → index-Df2YvC8o.d.ts} +717 -147
- package/dist/{index-DjOdQv5B.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-CPhDtlv-.d.ts → index-FEy8qFSD.d.ts} +3 -3
- package/dist/{index-DBcbfStA.d.ts → index-SMh42NI8.d.ts} +182 -2
- package/dist/{index-Cdi82rTW.d.ts → index-ZJyk8RtQ.d.ts} +6 -2
- package/dist/{index-BeJqhW4l.d.ts → index-fa72tWIU.d.ts} +3 -3
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-BQa836Vz.d.ts → index-iBLzInje.d.ts} +6 -14
- package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
- package/dist/index-nKlTsNfV.d.ts +42 -0
- package/dist/index-utZGF4GR.d.ts +79 -0
- package/dist/index.d.ts +76 -59
- package/dist/index.js +119 -78
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -1
- package/dist/locale-Cpk_nrLA.js +18 -0
- package/dist/size-BuTzpgnR.d.ts +14 -0
- package/dist/size-xcIqExkS.js +79 -0
- package/dist/{index-Cp0NlzQv.d.ts → types-Db3Owy8Q.d.ts} +1 -36
- package/dist/types-JktRxujg.d.ts +107 -0
- package/dist/useAppShellMobile-DTsyuAJ4.js +19 -0
- package/dist/useClickableContainer-DyNpnSEa.js +112 -0
- package/dist/useFileSelection-BPtaegqK.js +58 -0
- package/dist/useMonthGrid-CmJsZTcB.js +139 -0
- package/dist/useResizable-CeESZS1v.d.ts +72 -0
- package/dist/useScrollableArea-DDk_CluT.js +172 -0
- package/dist/useTimeValue-DWk6oTAZ.js +113 -0
- package/package.json +97 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/bordered-control.css +87 -0
- package/styles/calendar.css +8 -2
- package/styles/card.css +5 -1
- package/styles/checkbox-list.css +15 -0
- package/styles/clickable-card.css +101 -0
- package/styles/collapsible.css +37 -0
- package/styles/command-palette.css +183 -0
- package/styles/complex-selector.css +114 -0
- package/styles/date-range-input.css +163 -0
- package/styles/date-time-input.css +40 -0
- package/styles/field.css +14 -3
- package/styles/file-input.css +87 -0
- package/styles/form-layout.css +31 -0
- package/styles/heading.css +19 -17
- package/styles/icon.css +32 -0
- package/styles/layout.css +280 -0
- package/styles/metadata-list.css +107 -0
- package/styles/number-input.css +6 -0
- package/styles/radio.css +32 -0
- package/styles/resize-handle.css +128 -0
- package/styles/scrollable-area.css +50 -0
- package/styles/section.css +60 -0
- package/styles/selector.css +10 -0
- package/styles/side-nav.css +26 -0
- package/styles/stepper.css +357 -0
- package/styles/tab-menu.css +91 -0
- package/styles/table.css +256 -0
- package/styles/text-area.css +6 -1
- package/styles/text-input.css +6 -0
- package/styles/thumbnail.css +151 -0
- package/styles/time-input.css +51 -0
- package/styles/timestamp.css +93 -0
- package/styles/tree-list.css +229 -0
- package/styles.css +23 -0
- package/dist/Collapsible-ByXCGhT8.js +0 -102
- package/dist/TabList-LV1U4ZD6.js +0 -184
- package/dist/composables-Dq9RS33w.js +0 -111
- package/dist/index-TnaIHsCS.d.ts +0 -87
package/dist/index.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import { t as _sfc_main$
|
|
2
|
-
import { t as _sfc_main$
|
|
1
|
+
import { t as _sfc_main$164 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
+
import { t as _sfc_main$13 } from "./Button-DrqeomlE.js";
|
|
3
3
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
4
4
|
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
5
|
+
import { n as useAppShellMobile, t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
5
6
|
import { n as useAsyncSource, t as createStaticSource } from "./useAsyncSource-Gk0VtE7_.js";
|
|
6
7
|
import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "./useChatStreamScroll-oDfybEos.js";
|
|
8
|
+
import { n as useClickableContainer, t as INTERACTIVE_SELECTORS } from "./useClickableContainer-DyNpnSEa.js";
|
|
7
9
|
import { t as useClipboard } from "./useClipboard-BDfbEsWd.js";
|
|
10
|
+
import { a as parseISOTime, c as useCoarsePointer, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-DWk6oTAZ.js";
|
|
8
11
|
import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
|
|
9
|
-
import { n as useStreamingText,
|
|
12
|
+
import { a as useResizable, i as percent, n as useStreamingText, o as useControllableState, r as useScrollOverflow, t as snapToGraphemeBoundary } from "./composables-CVfjp9h4.js";
|
|
13
|
+
import { a as todayISODate, c as formatDateRange, d as isSameRange, f as orderRange, i as toISODate, l as isDayOutsideSpan, m as spanDays, n as buildMonthGrid, o as applyRangeClick, p as resolveWeekStart, r as parseISODate, s as compareISODate, t as addMonths, u as isRangeWithinSpan } from "./useMonthGrid-CmJsZTcB.js";
|
|
10
14
|
import { t as useDismiss } from "./useDismiss-CAiHU6QD.js";
|
|
15
|
+
import { n as selectFiles, t as formatFileSize } from "./useFileSelection-BPtaegqK.js";
|
|
11
16
|
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-BvMdXVX9.js";
|
|
12
17
|
import { t as useGridRovingFocus } from "./useGridRovingFocus-DQQAOYH5.js";
|
|
13
18
|
import { t as useHotkeys } from "./useHotkeys-dABSK1o9.js";
|
|
@@ -15,103 +20,139 @@ import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
|
|
|
15
20
|
import { t as useLongPress } from "./useLongPress-Cyxwa73s.js";
|
|
16
21
|
import { t as useNumberField } from "./useNumberField-DL-Radsp.js";
|
|
17
22
|
import { n as useOverflow, t as computeOverflow } from "./useOverflow-VrwF5oek.js";
|
|
23
|
+
import { t as useScrollableArea } from "./useScrollableArea-DDk_CluT.js";
|
|
18
24
|
import { t as useScrollLock } from "./scrollLock-BzIvIimL.js";
|
|
19
25
|
import { t as useTypeahead } from "./useTypeahead-PAK8lMYz.js";
|
|
20
|
-
import { t as _sfc_main$
|
|
21
|
-
import { t as _sfc_main$
|
|
22
|
-
import { t as _sfc_main$
|
|
23
|
-
import { t as _sfc_main$
|
|
26
|
+
import { t as _sfc_main$55 } from "./Dialog-rfUt3y8P.js";
|
|
27
|
+
import { t as _sfc_main$71 } from "./Heading-Dugosn6j.js";
|
|
28
|
+
import { t as _sfc_main$123 } from "./Stack-gGcYdOAh.js";
|
|
29
|
+
import { t as _sfc_main$140 } from "./Text-CKd7e3gK.js";
|
|
24
30
|
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-BylcA4vV.js";
|
|
25
|
-
import { n as _sfc_main$
|
|
26
|
-
import { n as
|
|
27
|
-
import { t as _sfc_main$
|
|
31
|
+
import { a as _sfc_main$77, n as _sfc_main$80, r as _sfc_main$78, t as _sfc_main$81 } from "./LayoutPanel-C34uOq3e.js";
|
|
32
|
+
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale } from "./context-D6ECRdc5.js";
|
|
33
|
+
import { n as _sfc_main$88, t as _sfc_main$89 } from "./MobileNavToggle-CgQamG6E.js";
|
|
34
|
+
import { r as useSideNavCollapse } from "./context-BjNya0v8.js";
|
|
35
|
+
import { t as _sfc_main$1 } from "./AppShell-b0PWt9Fz.js";
|
|
36
|
+
import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
|
|
37
|
+
import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-5s3HSrtN.js";
|
|
38
|
+
import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-CZcgAMjM.js";
|
|
39
|
+
import { t as _sfc_main$7 } from "./Badge-Ba0EwsTj.js";
|
|
28
40
|
import "./Badge/index.js";
|
|
29
|
-
import { t as _sfc_main$
|
|
30
|
-
import { t as _sfc_main$
|
|
31
|
-
import { t as _sfc_main$
|
|
41
|
+
import { t as _sfc_main$73 } from "./IconButton-BNQuz9W_.js";
|
|
42
|
+
import { t as _sfc_main$8 } from "./Banner-CJe9Im5a.js";
|
|
43
|
+
import { t as _sfc_main$9 } from "./Blockquote-DFqBv_oJ.js";
|
|
32
44
|
import "./Blockquote/index.js";
|
|
33
|
-
import { t as _sfc_main$
|
|
45
|
+
import { t as _sfc_main$10 } from "./BottomSheet-Dg95HB1s.js";
|
|
34
46
|
import "./BottomSheet/index.js";
|
|
35
|
-
import { n as _sfc_main$
|
|
36
|
-
import { n as _sfc_main$
|
|
37
|
-
import { t as _sfc_main$
|
|
38
|
-
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale } from "./locale-56lkR7OK.js";
|
|
47
|
+
import { n as _sfc_main$11, t as _sfc_main$12 } from "./Breadcrumbs-C3YZFQ9w.js";
|
|
48
|
+
import { n as _sfc_main$14 } from "./ButtonGroup-ySQWanDP.js";
|
|
49
|
+
import { t as _sfc_main$15 } from "./Calendar-CYhGDT6f.js";
|
|
39
50
|
import "./Calendar/index.js";
|
|
40
|
-
import { t as _sfc_main$
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
43
|
-
import { t as _sfc_main$
|
|
44
|
-
import { t as _sfc_main$
|
|
45
|
-
import { t as _sfc_main$
|
|
51
|
+
import { t as _sfc_main$16 } from "./Card-HAjZQg2s.js";
|
|
52
|
+
import "./Card/index.js";
|
|
53
|
+
import { t as _sfc_main$17 } from "./Center-DVaZaTGP.js";
|
|
54
|
+
import { a as _sfc_main$24, c as _sfc_main$21, d as useChatLayoutContext, f as useChatListContext, i as _sfc_main$25, l as _sfc_main$20, m as _sfc_main$19, n as _sfc_main$27, o as _sfc_main$23, p as useChatMessageContext, r as _sfc_main$26, s as _sfc_main$22, t as _sfc_main$28, u as _sfc_main$18 } from "./Chat-C1aWl5V3.js";
|
|
55
|
+
import { t as _sfc_main$122 } from "./Spinner-9cYUCnDy.js";
|
|
56
|
+
import { t as _sfc_main$57 } from "./Divider-BtwnL18I.js";
|
|
57
|
+
import { t as _sfc_main$29 } from "./CheckboxIndicator-DdJmksHt.js";
|
|
46
58
|
import "./CheckboxIndicator/index.js";
|
|
47
|
-
import { t as _sfc_main$
|
|
48
|
-
import { t as _sfc_main$
|
|
49
|
-
import { t as _sfc_main$
|
|
50
|
-
import
|
|
51
|
-
import {
|
|
59
|
+
import { t as _sfc_main$64 } from "./FieldLabel-DmmJyX7w.js";
|
|
60
|
+
import { t as _sfc_main$65 } from "./FieldStatus-MjY19ERl.js";
|
|
61
|
+
import { t as _sfc_main$30 } from "./CheckboxInput-CMsEE1_4.js";
|
|
62
|
+
import "./CheckboxInput/index.js";
|
|
63
|
+
import { t as _sfc_main$63 } from "./Field-8zRxzDHE.js";
|
|
64
|
+
import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$75 } from "./Item-C1z6gXn8.js";
|
|
65
|
+
import { n as _sfc_main$83, t as _sfc_main$84 } from "./ListItem-pGxvn6QJ.js";
|
|
66
|
+
import { n as _sfc_main$31, t as _sfc_main$32 } from "./CheckboxList-EsIEXjK_.js";
|
|
67
|
+
import { t as _sfc_main$33 } from "./Citation-C1X0Rde8.js";
|
|
68
|
+
import { n as _sfc_main$34 } from "./ClickableCard-Bhds4RRe.js";
|
|
69
|
+
import { a as tokenizeAsync, c as _sfc_main$35, i as tokenize, n as SYNC_TOKENIZE_THRESHOLD, o as HIGHLIGHTED_TOKEN_TYPES, r as flatTokensToLines, s as applyHighlightRanges, t as _sfc_main$36 } from "./CodeBlock-BQdooQy2.js";
|
|
52
70
|
import "./Code/index.js";
|
|
53
|
-
import { t as _sfc_main$
|
|
54
|
-
import { a as _sfc_main$
|
|
55
|
-
import { t as _sfc_main$
|
|
56
|
-
import { t as _sfc_main$
|
|
57
|
-
import { n as _sfc_main$
|
|
71
|
+
import { n as _sfc_main$37, t as _sfc_main$38 } from "./Collapsible-BS9ctCQV.js";
|
|
72
|
+
import { a as _sfc_main$42, i as _sfc_main$43, n as _sfc_main$45, o as _sfc_main$41, r as _sfc_main$44, s as _sfc_main$40, t as _sfc_main$39 } from "./CommandPalette-u5h_E05P.js";
|
|
73
|
+
import { t as _sfc_main$76 } from "./Kbd-BB-Dw6zE.js";
|
|
74
|
+
import { t as _sfc_main$102 } from "./Popover-Crhk9PNP.js";
|
|
75
|
+
import { n as _sfc_main$46 } from "./ComplexSelector-BHmGWml0.js";
|
|
76
|
+
import { a as _sfc_main$48, i as _sfc_main$49, n as _sfc_main$51, o as useContextMenu, r as _sfc_main$50, s as useContextMenuSize, t as _sfc_main$47 } from "./ContextMenu-dA-ppaRQ.js";
|
|
77
|
+
import { t as _sfc_main$52 } from "./DateInput-D2ErjXYO.js";
|
|
78
|
+
import "./DateInput/index.js";
|
|
79
|
+
import { t as _sfc_main$53 } from "./DateRangeInput-fmQlr_A7.js";
|
|
80
|
+
import { t as _sfc_main$54 } from "./DateTimeInput-Bs1JmcIp.js";
|
|
81
|
+
import { n as _sfc_main$56, t as useImperativeDialog } from "./Dialog-CvRplBo-.js";
|
|
58
82
|
import "./Divider/index.js";
|
|
59
|
-
import { a as useDropdownMenuContext, i as _sfc_main$
|
|
60
|
-
import {
|
|
61
|
-
import { t as _sfc_main$46 } from "./EmptyState-Bhlqgsg4.js";
|
|
62
|
-
import { t as _sfc_main$47 } from "./Field-VlTBsIEo.js";
|
|
83
|
+
import { a as useDropdownMenuContext, i as _sfc_main$59, n as _sfc_main$61, r as _sfc_main$60, t as _sfc_main$58 } from "./DropdownMenu-B0gogrvG.js";
|
|
84
|
+
import { t as _sfc_main$62 } from "./EmptyState-Bhlqgsg4.js";
|
|
63
85
|
import "./Field/index.js";
|
|
64
|
-
import
|
|
86
|
+
import "./FieldStatus/index.js";
|
|
87
|
+
import { t as _sfc_main$66 } from "./FileInput-CmAfOpkA.js";
|
|
88
|
+
import { t as _sfc_main$67 } from "./FormLayout-D47FjiOq.js";
|
|
89
|
+
import { n as _sfc_main$68, t as _sfc_main$69 } from "./Grid-D1onTzyC.js";
|
|
65
90
|
import "./Heading/index.js";
|
|
66
|
-
import { t as _sfc_main$
|
|
91
|
+
import { t as _sfc_main$72 } from "./HoverCard-EhbWaGOW.js";
|
|
92
|
+
import "./HoverCard/index.js";
|
|
67
93
|
import "./IconButton/index.js";
|
|
68
|
-
import { t as _sfc_main$
|
|
69
|
-
import
|
|
70
|
-
import { t as _sfc_main$
|
|
94
|
+
import { t as _sfc_main$74 } from "./InputGroup-ChrFVxzV.js";
|
|
95
|
+
import "./Kbd/index.js";
|
|
96
|
+
import { t as _sfc_main$79 } from "./Layout-Bed3kP0M.js";
|
|
97
|
+
import { t as _sfc_main$82 } from "./Link-CprjOuTI.js";
|
|
71
98
|
import "./Link/index.js";
|
|
72
|
-
import { n as _sfc_main$60, t as _sfc_main$61 } from "./ListItem-pGxvn6QJ.js";
|
|
73
99
|
import "./List/index.js";
|
|
74
|
-
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main$
|
|
75
|
-
import { n as _sfc_main$
|
|
100
|
+
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main$85 } from "./Markdown-CwtLr3f_.js";
|
|
101
|
+
import { n as _sfc_main$86, t as _sfc_main$87 } from "./MetadataList-DlXQTLog.js";
|
|
76
102
|
import "./MobileNav/index.js";
|
|
77
|
-
import { t as _sfc_main$
|
|
78
|
-
import { t as _sfc_main$
|
|
79
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$
|
|
103
|
+
import { t as _sfc_main$90 } from "./MoreMenu-BXL6Dqsu.js";
|
|
104
|
+
import { t as _sfc_main$150 } from "./Token-C4KD0fZD.js";
|
|
105
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$91 } from "./MultiSelector-DT8ZccMI.js";
|
|
80
106
|
import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
|
|
81
|
-
import { t as _sfc_main$
|
|
82
|
-
import { t as _sfc_main$
|
|
83
|
-
import { t as _sfc_main$
|
|
84
|
-
import { n as _sfc_main$
|
|
107
|
+
import { t as _sfc_main$93 } from "./NavItem-thEKXyJA.js";
|
|
108
|
+
import { t as _sfc_main$94 } from "./NavItem-FFOisITc.js";
|
|
109
|
+
import { t as _sfc_main$92 } from "./NavDisclosure-DHrSNRDR.js";
|
|
110
|
+
import { n as _sfc_main$95, t as _sfc_main$96 } from "./NavMenuItem-mzNQESpB.js";
|
|
85
111
|
import "./NavMenu/index.js";
|
|
86
|
-
import { t as _sfc_main$
|
|
87
|
-
import { t as _sfc_main$
|
|
88
|
-
import { n as useOverlay, r as _sfc_main$
|
|
89
|
-
import { t as _sfc_main$
|
|
90
|
-
import { t as _sfc_main$
|
|
112
|
+
import { t as _sfc_main$97 } from "./NumberInput-DspJO6z6.js";
|
|
113
|
+
import { t as _sfc_main$98 } from "./OverflowList-zXg3g6fy.js";
|
|
114
|
+
import { n as useOverlay, r as _sfc_main$100, t as _sfc_main$99 } from "./Overlay-DKILTHxI.js";
|
|
115
|
+
import { t as _sfc_main$101 } from "./Pagination-DXfgMUKJ.js";
|
|
116
|
+
import { t as _sfc_main$114 } from "./Selector-DlZpQh42.js";
|
|
117
|
+
import "./Pagination/index.js";
|
|
91
118
|
import "./Popover/index.js";
|
|
92
|
-
import { t as _sfc_main$
|
|
93
|
-
import { n as _sfc_main$
|
|
94
|
-
import
|
|
119
|
+
import { t as _sfc_main$103 } from "./ProgressBar-ChDp-7oe.js";
|
|
120
|
+
import { n as _sfc_main$104, t as _sfc_main$105 } from "./RadioGroup-BqjdSCfJ.js";
|
|
121
|
+
import "./Radio/index.js";
|
|
122
|
+
import { n as _sfc_main$106, t as _sfc_main$107 } from "./RadioList-DI8ujXcT.js";
|
|
123
|
+
import { t as _sfc_main$108 } from "./Resizable-BuGKvU9I.js";
|
|
124
|
+
import { t as _sfc_main$109 } from "./ScrollableArea-DQDYjnxO.js";
|
|
125
|
+
import { t as _sfc_main$110 } from "./Section-C48Wqfc7.js";
|
|
126
|
+
import { n as _sfc_main$111, t as _sfc_main$112 } from "./SegmentedControl-ChHmFrrC.js";
|
|
127
|
+
import { n as _sfc_main$113 } from "./SelectableCard-Bj5s_tIN.js";
|
|
95
128
|
import "./Selector/index.js";
|
|
96
|
-
import { a as _sfc_main$
|
|
97
|
-
import { t as _sfc_main$
|
|
98
|
-
import { t as _sfc_main$
|
|
99
|
-
import
|
|
129
|
+
import { a as _sfc_main$116, i as _sfc_main$115, n as _sfc_main$118, r as _sfc_main$117, t as _sfc_main$119 } from "./SideNav-Cdrigq2A.js";
|
|
130
|
+
import { t as _sfc_main$153 } from "./Tooltip-mp0NMh_Y.js";
|
|
131
|
+
import { t as _sfc_main$120 } from "./Skeleton-CrgWxJgr.js";
|
|
132
|
+
import "./Skeleton/index.js";
|
|
133
|
+
import { t as _sfc_main$121 } from "./Slider-D8h_RKcF.js";
|
|
100
134
|
import "./Spinner/index.js";
|
|
101
|
-
import { n as _sfc_main$
|
|
102
|
-
import { t as _sfc_main$
|
|
103
|
-
import { t as _sfc_main$
|
|
104
|
-
import {
|
|
135
|
+
import { n as _sfc_main$124, r as _sfc_main$70, t as _sfc_main$163 } from "./Stack-iv52y_Jv.js";
|
|
136
|
+
import { t as _sfc_main$125 } from "./StatusDot-CaoIapp4.js";
|
|
137
|
+
import { n as _sfc_main$126, t as _sfc_main$127 } from "./Stepper-DxmLfh8O.js";
|
|
138
|
+
import { t as _sfc_main$128 } from "./Switch-SesQzPGZ.js";
|
|
139
|
+
import { C as paginateData, D as sortRows, E as resolveColumnWidths, S as generateColumns, T as proportional, _ as useTableColumnSettings, a as _sfc_main$135, b as capitalize, c as _sfc_main$132, d as useTableSelection, f as useTableSelectionState, g as useTableFiltering, h as useTableFilterState, i as _sfc_main$136, l as useTableSortable, m as applyTableFilters, n as _sfc_main$138, o as _sfc_main$134, p as useTablePagination, r as _sfc_main$137, s as _sfc_main$133, t as _sfc_main$139, u as useTableSortableState, v as useTableColumnSettingsState, w as pixel, x as cellText, y as useTableColumnResize } from "./Table-7qRmlIQd.js";
|
|
140
|
+
import { t as _sfc_main$142 } from "./TextInput-BasnjVvy.js";
|
|
141
|
+
import { n as _sfc_main$130, r as _sfc_main$129, t as _sfc_main$131 } from "./TabList-C411uNQU.js";
|
|
105
142
|
import "./Text/index.js";
|
|
106
|
-
import { t as _sfc_main$
|
|
107
|
-
import
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
143
|
+
import { t as _sfc_main$141 } from "./TextArea-Cv9UVbzS.js";
|
|
144
|
+
import "./TextInput/index.js";
|
|
145
|
+
import { t as _sfc_main$143 } from "./Thumbnail-BWVzLLyI.js";
|
|
146
|
+
import { t as _sfc_main$144 } from "./TimeInput-OkgX-xbQ.js";
|
|
147
|
+
import { i as formatInstant, n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$145 } from "./Timestamp-DUoP9ari.js";
|
|
148
|
+
import { n as _sfc_main$147, r as _sfc_main$146, t as useToast } from "./Toast-BKXPvEMp.js";
|
|
149
|
+
import { n as _sfc_main$149, r as _sfc_main$148 } from "./ToggleButton-BB_I8EdM.js";
|
|
110
150
|
import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
|
|
111
|
-
import { t as _sfc_main$
|
|
112
|
-
import { t as _sfc_main$
|
|
151
|
+
import { t as _sfc_main$151 } from "./Tokenizer-BA8sTMPZ.js";
|
|
152
|
+
import { t as _sfc_main$152 } from "./Toolbar-BrgvvTCk.js";
|
|
113
153
|
import "./Tooltip/index.js";
|
|
114
|
-
import { a as _sfc_main$
|
|
115
|
-
import { t as _sfc_main$
|
|
154
|
+
import { a as _sfc_main$156, i as _sfc_main$157, n as _sfc_main$159, o as _sfc_main$155, r as _sfc_main$158, s as _sfc_main$154, t as _sfc_main$160 } from "./TopNav-CZokS7E_.js";
|
|
155
|
+
import { n as useTreeFocus, t as _sfc_main$161 } from "./TreeList-CIbAGOMf.js";
|
|
156
|
+
import { t as _sfc_main$162 } from "./Typeahead-DIw-K4aa.js";
|
|
116
157
|
import "./VisuallyHidden/index.js";
|
|
117
|
-
export { _sfc_main as AlertDialog, _sfc_main$1 as
|
|
158
|
+
export { _sfc_main as AlertDialog, _sfc_main$1 as AppShell, _sfc_main$2 as AspectRatio, _sfc_main$3 as Avatar, _sfc_main$4 as AvatarGroup, _sfc_main$5 as AvatarGroupOverflow, _sfc_main$6 as AvatarStatusDot, _sfc_main$7 as Badge, _sfc_main$8 as Banner, _sfc_main$9 as Blockquote, _sfc_main$10 as BottomSheet, _sfc_main$11 as BreadcrumbItem, _sfc_main$12 as Breadcrumbs, _sfc_main$13 as Button, _sfc_main$14 as ButtonGroup, CHAT_MESSAGE_CLASS, _sfc_main$15 as Calendar, _sfc_main$16 as Card, _sfc_main$17 as Center, _sfc_main$18 as ChatLayout, _sfc_main$19 as ChatLayoutScrollButton, _sfc_main$20 as ChatMessage, _sfc_main$21 as ChatMessageBubble, _sfc_main$22 as ChatMessageList, _sfc_main$23 as ChatMessageMetadata, _sfc_main$24 as ChatReasoning, _sfc_main$25 as ChatSystemMessage, _sfc_main$26 as ChatToolCalls, _sfc_main$27 as ChatTypingIndicator, _sfc_main$28 as ChatUnreadDivider, _sfc_main$29 as CheckboxIndicator, _sfc_main$30 as CheckboxInput, _sfc_main$31 as CheckboxList, _sfc_main$32 as CheckboxListItem, _sfc_main$33 as Citation, _sfc_main$34 as ClickableCard, _sfc_main$35 as Code, _sfc_main$36 as CodeBlock, _sfc_main$37 as Collapsible, _sfc_main$38 as CollapsibleGroup, _sfc_main$39 as CommandPalette, _sfc_main$40 as CommandPaletteEmpty, _sfc_main$41 as CommandPaletteFooter, _sfc_main$42 as CommandPaletteGroup, _sfc_main$43 as CommandPaletteInput, _sfc_main$44 as CommandPaletteItem, _sfc_main$45 as CommandPaletteList, _sfc_main$46 as ComplexSelector, _sfc_main$47 as ContextMenu, _sfc_main$48 as ContextMenuDivider, _sfc_main$49 as ContextMenuGroup, _sfc_main$50 as ContextMenuItem, _sfc_main$51 as ContextMenuSubMenu, _sfc_main$52 as DateInput, _sfc_main$53 as DateRangeInput, _sfc_main$54 as DateTimeInput, _sfc_main$55 as Dialog, _sfc_main$56 as DialogHeader, _sfc_main$57 as Divider, _sfc_main$58 as DropdownMenu, _sfc_main$59 as DropdownMenuDivider, _sfc_main$60 as DropdownMenuGroup, _sfc_main$61 as DropdownMenuItem, _sfc_main$62 as EmptyState, _sfc_main$63 as Field, _sfc_main$64 as FieldLabel, _sfc_main$65 as FieldStatus, _sfc_main$66 as FileInput, _sfc_main$67 as FormLayout, _sfc_main$68 as Grid, _sfc_main$69 as GridSpan, HIGHLIGHTED_TOKEN_TYPES, _sfc_main$70 as HStack, _sfc_main$71 as Heading, _sfc_main$72 as HoverCard, INTERACTIVE_SELECTORS, _sfc_main$73 as IconButton, _sfc_main$74 as InputGroup, _sfc_main$75 as Item, _sfc_main$76 as Kbd, _sfc_main$77 as Layout, _sfc_main$78 as LayoutContent, _sfc_main$79 as LayoutFooter, _sfc_main$80 as LayoutHeader, _sfc_main$81 as LayoutPanel, _sfc_main$82 as Link, _sfc_main$83 as List, _sfc_main$84 as ListItem, _sfc_main$85 as Markdown, _sfc_main$86 as MetadataList, _sfc_main$87 as MetadataListItem, _sfc_main$88 as MobileNav, _sfc_main$89 as MobileNavToggle, _sfc_main$90 as MoreMenu, _sfc_main$91 as MultiSelector, _sfc_main$92 as NavDisclosure, _sfc_main$93 as NavIcon, _sfc_main$94 as NavItem, _sfc_main$95 as NavMenu, _sfc_main$96 as NavMenuItem, _sfc_main$97 as NumberInput, _sfc_main$98 as OverflowList, _sfc_main$99 as Overlay, _sfc_main$100 as OverlayScrim, _sfc_main$101 as Pagination, _sfc_main$102 as Popover, _sfc_main$103 as ProgressBar, _sfc_main$104 as Radio, _sfc_main$105 as RadioGroup, _sfc_main$106 as RadioList, _sfc_main$107 as RadioListItem, _sfc_main$108 as ResizeHandle, SELECT_ALL_VALUE, SYNC_TOKENIZE_THRESHOLD, _sfc_main$109 as ScrollableArea, _sfc_main$110 as Section, _sfc_main$111 as SegmentedControl, _sfc_main$112 as SegmentedControlItem, _sfc_main$113 as SelectableCard, _sfc_main$114 as Selector, _sfc_main$115 as SideNav, _sfc_main$116 as SideNavCollapseButton, _sfc_main$117 as SideNavHeading, _sfc_main$118 as SideNavItem, _sfc_main$119 as SideNavSection, _sfc_main$120 as Skeleton, _sfc_main$121 as Slider, _sfc_main$122 as Spinner, _sfc_main$123 as Stack, _sfc_main$124 as StackItem, _sfc_main$125 as StatusDot, _sfc_main$126 as Step, _sfc_main$127 as Stepper, _sfc_main$128 as Switch, TOKEN_COLORS, _sfc_main$129 as Tab, _sfc_main$130 as TabList, _sfc_main$131 as TabMenu, _sfc_main$132 as Table, _sfc_main$133 as TableBody, _sfc_main$134 as TableCell, _sfc_main$135 as TableFooter, _sfc_main$136 as TableHeader, _sfc_main$137 as TableHeaderCell, _sfc_main$138 as TableRow, _sfc_main$139 as TableSelectionToolbar, _sfc_main$140 as Text, _sfc_main$141 as TextArea, _sfc_main$142 as TextInput, _sfc_main$143 as Thumbnail, _sfc_main$144 as TimeInput, _sfc_main$145 as Timestamp, _sfc_main$146 as Toast, _sfc_main$147 as ToastViewport, _sfc_main$148 as ToggleButton, _sfc_main$149 as ToggleButtonGroup, _sfc_main$150 as Token, _sfc_main$151 as Tokenizer, _sfc_main$152 as Toolbar, _sfc_main$153 as Tooltip, _sfc_main$154 as TopNav, _sfc_main$155 as TopNavHeading, _sfc_main$156 as TopNavItem, _sfc_main$157 as TopNavMegaMenu, _sfc_main$158 as TopNavMegaMenuFeaturedCard, _sfc_main$159 as TopNavMegaMenuItem, _sfc_main$160 as TopNavMenu, _sfc_main$161 as TreeList, _sfc_main$162 as Typeahead, _sfc_main$163 as VStack, _sfc_main$164 as VisuallyHidden, addMonths, appShellMobileKey, applyHighlightRanges, applyRangeClick, applyTableFilters, buildMonthGrid, capitalize, cellText, compareISODate, computeOverflow, createStaticSource, flatTokensToLines, flattenOptions, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, formatInstant, formatRelativeTime, formatTooltipLines, generateColumns, isDayOutsideSpan, isRangeWithinSpan, isSameRange, isTimeInRange, normalizeLocale, orderRange, paginateData, paginateData as paginateTableData, parseDisplayTime, parseISODate, parseISOTime, parseMarkdown, percent, pixel, proportional, provideAstryxLocale, resolveColumnWidths, resolveNavRoot, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, slugify, snapToGraphemeBoundary, sortRows, spanDays, toISODate, todayISODate, tokenize, tokenizeAsync, uniqueSlug, useAnnounce, useAppShellMobile, useAstryxLocale, useAstryxMessages, useAsyncSource, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useClipboard as useCopyToClipboard, useCoarsePointer, useCombobox, useContextMenu, useContextMenuSize, useControllableState, useDismiss, useDropdownMenuContext, useFocusTrap, useGridRovingFocus, useHotkeys, useImperativeAlertDialog, useImperativeDialog, useItemDescriptionId, useListContext, useListFocus, useLongPress, useMediaQuery, useNumberField, useOverflow, useOverlay, useResizable, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSideNavCollapse, useStreamingText, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTablePagination, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useToast, useTreeFocus, useTypeahead };
|
package/dist/locale/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as provideAstryxLocale, c as AstryxMessages, i as normalizeLocale, l as AstryxLocale, n as weekdayNames, o as useAstryxLocale, r as astryxLocaleKey, s as useAstryxMessages, t as formatCalendarMonth } from "../index-
|
|
1
|
+
import { a as provideAstryxLocale, c as AstryxMessages, i as normalizeLocale, l as AstryxLocale, n as weekdayNames, o as useAstryxLocale, r as astryxLocaleKey, s as useAstryxMessages, t as formatCalendarMonth } from "../index-DYChvBOM.js";
|
|
2
2
|
export { type AstryxLocale, type AstryxMessages, astryxLocaleKey, formatCalendarMonth, normalizeLocale, provideAstryxLocale, useAstryxLocale, useAstryxMessages, weekdayNames };
|
package/dist/locale/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale,
|
|
1
|
+
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale, t as astryxLocaleKey } from "../context-D6ECRdc5.js";
|
|
2
|
+
import { n as weekdayNames, t as formatCalendarMonth } from "../locale-Cpk_nrLA.js";
|
|
2
3
|
export { astryxLocaleKey, formatCalendarMonth, normalizeLocale, provideAstryxLocale, useAstryxLocale, useAstryxMessages, weekdayNames };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/locale/format.ts
|
|
2
|
+
const weekdayStart = new Date(2023, 0, 1);
|
|
3
|
+
function formatCalendarMonth(year, month, locale) {
|
|
4
|
+
return new Intl.DateTimeFormat(locale, {
|
|
5
|
+
month: "long",
|
|
6
|
+
year: "numeric"
|
|
7
|
+
}).format(new Date(year, month - 1, 1));
|
|
8
|
+
}
|
|
9
|
+
function weekdayNames(locale, style) {
|
|
10
|
+
const formatter = new Intl.DateTimeFormat(locale, { weekday: style });
|
|
11
|
+
return Array.from({ length: 7 }, (_, index) => {
|
|
12
|
+
const date = new Date(weekdayStart);
|
|
13
|
+
date.setDate(weekdayStart.getDate() + index);
|
|
14
|
+
return formatter.format(date);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { weekdayNames as n, formatCalendarMonth as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { n as SpacingStep } from "./types-D7QNSqoN.js";
|
|
2
|
+
//#region src/layout/size.d.ts
|
|
3
|
+
type SizeValue = number | string;
|
|
4
|
+
interface PaddingInput {
|
|
5
|
+
padding?: SpacingStep;
|
|
6
|
+
paddingInline?: SpacingStep;
|
|
7
|
+
paddingInlineStart?: SpacingStep;
|
|
8
|
+
paddingInlineEnd?: SpacingStep;
|
|
9
|
+
paddingBlock?: SpacingStep;
|
|
10
|
+
paddingBlockStart?: SpacingStep;
|
|
11
|
+
paddingBlockEnd?: SpacingStep;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { SizeValue as n, PaddingInput as t };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//#region src/layout/size.ts
|
|
2
|
+
/** 间距刻度对应的 CSS 变量。数字是没有主题时的回退像素。 */
|
|
3
|
+
const SPACING_VARIABLES = {
|
|
4
|
+
0: "var(--astryx-spacing-0, 0px)",
|
|
5
|
+
.5: "var(--astryx-spacing-0-5, 2px)",
|
|
6
|
+
1: "var(--astryx-spacing-1, 4px)",
|
|
7
|
+
1.5: "var(--astryx-spacing-1-5, 6px)",
|
|
8
|
+
2: "var(--astryx-spacing-2, 8px)",
|
|
9
|
+
3: "var(--astryx-spacing-3, 12px)",
|
|
10
|
+
4: "var(--astryx-spacing-4, 16px)",
|
|
11
|
+
5: "var(--astryx-spacing-5, 20px)",
|
|
12
|
+
6: "var(--astryx-spacing-6, 24px)",
|
|
13
|
+
8: "var(--astryx-spacing-8, 32px)",
|
|
14
|
+
10: "var(--astryx-spacing-10, 40px)"
|
|
15
|
+
};
|
|
16
|
+
function formatSize(value) {
|
|
17
|
+
if (value == null) return void 0;
|
|
18
|
+
return typeof value === "number" ? `${value}px` : value;
|
|
19
|
+
}
|
|
20
|
+
function spacingVariable(step) {
|
|
21
|
+
return step == null ? void 0 : SPACING_VARIABLES[step];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 把统一内边距和各边覆盖收成四条边。
|
|
25
|
+
* 什么都没传时返回 null,调用方继续用主题默认值。
|
|
26
|
+
*/
|
|
27
|
+
function resolvePadding(input, fallback) {
|
|
28
|
+
const base = input.padding ?? fallback;
|
|
29
|
+
if (base == null && input.paddingInline == null && input.paddingInlineStart == null && input.paddingInlineEnd == null && input.paddingBlock == null && input.paddingBlockStart == null && input.paddingBlockEnd == null) return null;
|
|
30
|
+
const inline = input.paddingInline ?? base;
|
|
31
|
+
const block = input.paddingBlock ?? base;
|
|
32
|
+
return {
|
|
33
|
+
inlineStart: input.paddingInlineStart ?? inline ?? 0,
|
|
34
|
+
inlineEnd: input.paddingInlineEnd ?? inline ?? 0,
|
|
35
|
+
blockStart: input.paddingBlockStart ?? block ?? 0,
|
|
36
|
+
blockEnd: input.paddingBlockEnd ?? block ?? 0
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 只写出被覆盖的边。没写的边继续用样式表里的默认值。
|
|
41
|
+
* 优先级和原版一样:单边 > 轴向 > 统一 padding。
|
|
42
|
+
*/
|
|
43
|
+
function spacingEdgeVars(prefix, input) {
|
|
44
|
+
const style = {};
|
|
45
|
+
const set = (edge, step) => {
|
|
46
|
+
if (step != null) style[`${prefix}-${edge}`] = SPACING_VARIABLES[step];
|
|
47
|
+
};
|
|
48
|
+
if (input.padding != null) {
|
|
49
|
+
set("inline-start", input.padding);
|
|
50
|
+
set("inline-end", input.padding);
|
|
51
|
+
set("block-start", input.padding);
|
|
52
|
+
set("block-end", input.padding);
|
|
53
|
+
}
|
|
54
|
+
if (input.paddingInline != null) {
|
|
55
|
+
set("inline-start", input.paddingInline);
|
|
56
|
+
set("inline-end", input.paddingInline);
|
|
57
|
+
}
|
|
58
|
+
if (input.paddingBlock != null) {
|
|
59
|
+
set("block-start", input.paddingBlock);
|
|
60
|
+
set("block-end", input.paddingBlock);
|
|
61
|
+
}
|
|
62
|
+
set("inline-start", input.paddingInlineStart);
|
|
63
|
+
set("inline-end", input.paddingInlineEnd);
|
|
64
|
+
set("block-start", input.paddingBlockStart);
|
|
65
|
+
set("block-end", input.paddingBlockEnd);
|
|
66
|
+
return style;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* 百分比和内在宽度没法参与 contentWidth 的居中减法,走约束宽度那条路。
|
|
70
|
+
* 裸的 var() 也走这条路,因为解析结果可能不是长度。
|
|
71
|
+
*/
|
|
72
|
+
function supportsInternalContentWidth(width) {
|
|
73
|
+
if (width == null || typeof width === "number") return true;
|
|
74
|
+
const value = width.trim().toLowerCase();
|
|
75
|
+
if (value.includes("%")) return false;
|
|
76
|
+
return value === "0" || /^-?(?:\d+(?:\.\d+)?|\.\d+)[a-z]+$/.test(value) || /^(?:calc|min|max|clamp)\(/.test(value);
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { supportsInternalContentWidth as a, spacingVariable as i, resolvePadding as n, spacingEdgeVars as r, formatSize as t };
|
|
@@ -36,39 +36,4 @@ interface PopoverProps {
|
|
|
36
36
|
hasEscapeDismiss?: boolean;
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
|
-
|
|
40
|
-
declare var __VLS_1: {}, __VLS_9: {};
|
|
41
|
-
type __VLS_Slots = {} & {
|
|
42
|
-
default?: (props: typeof __VLS_1) => any;
|
|
43
|
-
} & {
|
|
44
|
-
content?: (props: typeof __VLS_9) => any;
|
|
45
|
-
};
|
|
46
|
-
declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
-
openChange: (isOpen: boolean) => any;
|
|
48
|
-
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
49
|
-
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
50
|
-
}>, {
|
|
51
|
-
label: string;
|
|
52
|
-
width: string | number;
|
|
53
|
-
padding: PopoverPadding;
|
|
54
|
-
placement: LayerPlacement;
|
|
55
|
-
alignment: LayerAlignment;
|
|
56
|
-
isEnabled: boolean;
|
|
57
|
-
isOpen: boolean;
|
|
58
|
-
hasAutoFocus: boolean;
|
|
59
|
-
role: PopoverRole;
|
|
60
|
-
isModal: boolean;
|
|
61
|
-
hasCloseButton: boolean;
|
|
62
|
-
closeButtonLabel: string;
|
|
63
|
-
hasLightDismiss: boolean;
|
|
64
|
-
hasEscapeDismiss: boolean;
|
|
65
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
67
|
-
declare const _default: typeof __VLS_export;
|
|
68
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
69
|
-
new (): {
|
|
70
|
-
$slots: S;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
//#endregion
|
|
74
|
-
export { PopoverProps as a, PopoverPlacement as i, PopoverAlignment as n, PopoverRole as o, PopoverPadding as r, _default as t };
|
|
39
|
+
export { PopoverRole as a, PopoverProps as i, PopoverPadding as n, PopoverPlacement as r, PopoverAlignment as t };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { VNode, VNodeChild } from "vue";
|
|
2
|
+
//#region src/Table/types.d.ts
|
|
3
|
+
type TableDensity = 'compact' | 'balanced' | 'spacious';
|
|
4
|
+
type TableDividers = 'rows' | 'columns' | 'grid' | 'none';
|
|
5
|
+
type TableTextOverflow = 'wrap' | 'truncate';
|
|
6
|
+
type TableVerticalAlign = 'top' | 'middle' | 'bottom';
|
|
7
|
+
type TableColumnAlign = 'start' | 'center' | 'end';
|
|
8
|
+
type TableSortDirection = 'ascending' | 'descending';
|
|
9
|
+
interface ProportionalWidth {
|
|
10
|
+
type: 'proportional';
|
|
11
|
+
value: number;
|
|
12
|
+
minWidth?: number;
|
|
13
|
+
}
|
|
14
|
+
interface PixelWidth {
|
|
15
|
+
type: 'pixel';
|
|
16
|
+
value: number;
|
|
17
|
+
}
|
|
18
|
+
type ColumnWidth = ProportionalWidth | PixelWidth;
|
|
19
|
+
interface TableSortEntry<TSortKey extends string = string> {
|
|
20
|
+
sortKey: TSortKey;
|
|
21
|
+
direction: TableSortDirection;
|
|
22
|
+
}
|
|
23
|
+
type TableSortState<TSortKey extends string = string> = TableSortEntry<TSortKey>[];
|
|
24
|
+
interface TableColumn<T extends Record<string, unknown> = Record<string, unknown>> {
|
|
25
|
+
key: string;
|
|
26
|
+
header?: string;
|
|
27
|
+
width?: ColumnWidth;
|
|
28
|
+
align?: TableColumnAlign;
|
|
29
|
+
verticalAlign?: TableVerticalAlign;
|
|
30
|
+
sortable?: boolean | {
|
|
31
|
+
sortKey?: string;
|
|
32
|
+
compare?: (a: T, b: T) => number;
|
|
33
|
+
};
|
|
34
|
+
/** Field key used by the filtering plugin. */
|
|
35
|
+
filter?: string;
|
|
36
|
+
renderCell?: (item: T, index: number) => VNodeChild;
|
|
37
|
+
}
|
|
38
|
+
interface TableFilterField {
|
|
39
|
+
key: string;
|
|
40
|
+
label: string;
|
|
41
|
+
type: 'string' | 'enum';
|
|
42
|
+
options?: readonly {
|
|
43
|
+
value: string;
|
|
44
|
+
label: string;
|
|
45
|
+
}[];
|
|
46
|
+
}
|
|
47
|
+
type TableFilterValue = string | string[];
|
|
48
|
+
type TableFilterState = Record<string, TableFilterValue>;
|
|
49
|
+
interface TableSortContribution {
|
|
50
|
+
direction: TableSortDirection | null;
|
|
51
|
+
rank: number | null;
|
|
52
|
+
label: string;
|
|
53
|
+
onClick: (event: MouseEvent) => void;
|
|
54
|
+
}
|
|
55
|
+
interface TableFilterContribution {
|
|
56
|
+
variant: 'inline' | 'popover';
|
|
57
|
+
field: TableFilterField;
|
|
58
|
+
value: TableFilterValue | null;
|
|
59
|
+
onChange: (value: TableFilterValue | null) => void;
|
|
60
|
+
}
|
|
61
|
+
interface TableSelectionContribution<T> {
|
|
62
|
+
isAllSelected: () => boolean;
|
|
63
|
+
isIndeterminate: () => boolean;
|
|
64
|
+
isSelected: (row: T) => boolean;
|
|
65
|
+
isSelectable?: (row: T) => boolean;
|
|
66
|
+
selectAll: (selected: boolean) => void;
|
|
67
|
+
selectRow: (row: T, selected: boolean) => void;
|
|
68
|
+
rowLabel?: (row: T) => string;
|
|
69
|
+
hasRowHighlight?: boolean;
|
|
70
|
+
}
|
|
71
|
+
interface TablePlugin<T extends Record<string, unknown> = Record<string, unknown>> {
|
|
72
|
+
transformColumns?: (columns: TableColumn<T>[]) => TableColumn<T>[];
|
|
73
|
+
sortFor?: (column: TableColumn<T>) => TableSortContribution | null;
|
|
74
|
+
filterFor?: (column: TableColumn<T>) => TableFilterContribution | null;
|
|
75
|
+
selection?: TableSelectionContribution<T>;
|
|
76
|
+
widthFor?: (column: TableColumn<T>) => number | undefined;
|
|
77
|
+
onColumnResizeEnd?: (key: string, width: number) => void;
|
|
78
|
+
below?: () => VNodeChild;
|
|
79
|
+
}
|
|
80
|
+
interface TableProps<T extends Record<string, unknown> = Record<string, unknown>> {
|
|
81
|
+
data?: readonly T[];
|
|
82
|
+
columns?: readonly TableColumn<T>[];
|
|
83
|
+
idKey?: string;
|
|
84
|
+
density?: TableDensity;
|
|
85
|
+
dividers?: TableDividers;
|
|
86
|
+
isStriped?: boolean;
|
|
87
|
+
hasHover?: boolean;
|
|
88
|
+
verticalAlign?: TableVerticalAlign;
|
|
89
|
+
textOverflow?: TableTextOverflow;
|
|
90
|
+
plugins?: Record<string, TablePlugin<T> | undefined>;
|
|
91
|
+
label?: string;
|
|
92
|
+
}
|
|
93
|
+
interface TableSlots {
|
|
94
|
+
default?: () => VNode[];
|
|
95
|
+
empty?: () => VNode[];
|
|
96
|
+
}
|
|
97
|
+
interface TableRowProps {
|
|
98
|
+
isHeaderRow?: boolean;
|
|
99
|
+
}
|
|
100
|
+
interface TableCellProps {
|
|
101
|
+
align?: TableColumnAlign;
|
|
102
|
+
colSpan?: number;
|
|
103
|
+
rowSpan?: number;
|
|
104
|
+
headers?: string;
|
|
105
|
+
}
|
|
106
|
+
//#endregion
|
|
107
|
+
export { TableSortEntry as _, TableColumn as a, TableVerticalAlign as b, TableDividers as c, TableFilterValue as d, TablePlugin as f, TableSortDirection as g, TableSlots as h, TableCellProps as i, TableFilterField as l, TableRowProps as m, PixelWidth as n, TableColumnAlign as o, TableProps as p, ProportionalWidth as r, TableDensity as s, ColumnWidth as t, TableFilterState as u, TableSortState as v, TableTextOverflow as y };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { inject } from "vue";
|
|
2
|
+
//#region src/composables/useAppShellMobile.ts
|
|
3
|
+
const appShellMobileKey = Symbol("astryx-app-shell-mobile");
|
|
4
|
+
const fallback = {
|
|
5
|
+
isMobile: false,
|
|
6
|
+
isMobileNavOpen: false,
|
|
7
|
+
isMobileNavEnabled: false,
|
|
8
|
+
hasAutoToggle: true,
|
|
9
|
+
hasSideNav: false,
|
|
10
|
+
toggleMobileNav: () => {},
|
|
11
|
+
openMobileNav: () => {},
|
|
12
|
+
closeMobileNav: () => {}
|
|
13
|
+
};
|
|
14
|
+
/** 外壳外面、或者关掉了移动导航时,返回一组不会做事的默认值。 */
|
|
15
|
+
function useAppShellMobile() {
|
|
16
|
+
return inject(appShellMobileKey, fallback);
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { useAppShellMobile as n, appShellMobileKey as t };
|