@astryx-vue/core 0.2.0 → 0.2.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/AppShell/index.js +1 -1
- package/dist/{AppShell-EiGyPFbA.js → AppShell-1wNIEtK_.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/Avatar-jmHInHwj.js +244 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CZcgAMjM.js → AvatarGroup-QyzSrpYA.js} +8 -7
- package/dist/Badge/index.d.ts +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Badge-CjDQPF5g.js +30 -0
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-C3YZFQ9w.js → Breadcrumbs-C97HmjkC.js} +45 -11
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-DqC3EDN1.js +352 -0
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BTtHkKea.js → Carousel-BGUnskjo.js} +2 -2
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DjNxw5gv.js → Chat-DCjXRiOF.js} +8 -8
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DijdbUUu.js → Citation-DunoAqVH.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-CxTb6j9_.js → CodeBlock-CAF-VJnh.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-9MC08X39.js → Collapsible-DvMiYJp7.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BD2iODF5.js → CommandPalette-xfm9ldUI.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-D9iXd5cH.js → ComplexSelector-B6lBTRhP.js} +2 -2
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-HS_WqYIg.js → ContextMenu-DUkED3Z3.js} +101 -63
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-Crcg-CCj.js +376 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-1bhPGG2s.js → DateRangeInput-e9KSxBBK.js} +2 -2
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-SnPdgk6P.js → DateTimeInput-fSOfuLex.js} +5 -3
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -2
- package/dist/DropdownMenu/index.js +3 -2
- package/dist/{DropdownMenu-UJGych6v.js → DropdownMenu-8G0B1UND.js} +63 -16
- package/dist/DropdownMenu-XvW4BJob.js +164 -0
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BQiwE-GB.js → FileInput-D-fchyQH.js} +2 -2
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +3 -2
- package/dist/Icon/plugin.d.ts +45 -0
- package/dist/Icon/plugin.js +177 -0
- package/dist/Icon-Bku25g_K.js +193 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CshKoB0r.js → Lightbox-uuVGgHxW.js} +2 -2
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/Link-DqdQZ37C.js +141 -0
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-D-Ua055V.js → Markdown-DLICa3db.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-sYph_d8Q.js → MetadataList-h492rqEN.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DD9D01aj.js → MobileNavToggle-BMj3Wtuq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BVrK5kkk.js → MoreMenu-DkYi5az5.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DiYov9sF.js → MultiSelector-C2IS-EaU.js} +2 -2
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-CjfAsFwj.js +210 -0
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DQfEBxlc.js → Outline-BTmrtvXR.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-BU5VCntl.js → OverflowList-CRE8BE7V.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +2 -2
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-HdhtykeF.js → Pagination-BpGXPmc7.js} +76 -22
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-ChDp-7oe.js → ProgressBar-DO9Chic6.js} +31 -11
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-BhSMfO5B.js → Resizable-CE8XQDL2.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-DkJOLZSR.js +468 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-B-Om6Bz3.js → SideNav-DcDWBnXJ.js} +17 -17
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-BZ_8SEZt.js → Stepper-DZKaqEoz.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-Cnc2Hs1H.js → TabList-hm06QPiW.js} +10 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D-LhAy_J.js → Table-DwehtMap.js} +4 -4
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Cv9UVbzS.js → TextArea-CPwSytdO.js} +12 -6
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Dc1UpykG.js → Thumbnail-CAOYds8t.js} +11 -11
- package/dist/{TimeField-C7t9Knq9.js → TimeField-BGbxCoKU.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BXxCOY98.js → TimeInput-DJP3l4ZS.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +2 -1
- package/dist/{Timestamp-DlZSmgCJ.js → Timestamp-BzRp8uWc.js} +4 -121
- package/dist/Toast/index.d.ts +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BKXPvEMp.js → Toast-C2ML-bmi.js} +37 -7
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-wt4e80IM.js → Token-CjocuhzE.js} +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-nmTqdS9n.js → Tokenizer-mYES5SPM.js} +2 -2
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-notp-mJx.js → TopNav-C2t6JkZb.js} +3 -3
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-s1xBQ0qq.js → TreeList-THJ0KamE.js} +3 -3
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-VAuiCurV.js → Typeahead-D7VnvRpK.js} +2 -2
- package/dist/{context-Dbo22sck.js → context-DzcK4T_C.js} +4 -2
- package/dist/formatInstant-BDWUIxS7.js +119 -0
- package/dist/{index-Bainr_3n.d.ts → index-3p2BDVHq.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-CTolyeii.d.ts → index-BLOEjvaM.d.ts} +16 -2
- package/dist/{index-z4p2k9VR.d.ts → index-Bgv4ZmBl.d.ts} +20 -2
- package/dist/{index-BoRIw-bP.d.ts → index-Bt7ewoz2.d.ts} +32 -2
- package/dist/{index-uQrLBZfF.d.ts → index-Bu3oXIIS.d.ts} +24 -0
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-C59PdX9L.d.ts → index-CBym0hSq.d.ts} +1 -1
- package/dist/index-CJlBAXwj.d.ts +100 -0
- package/dist/{index-DT9S92sh.d.ts → index-CNjbOgty.d.ts} +15 -0
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-DoFCm2Q2.d.ts → index-Clmz00IK.d.ts} +2 -0
- package/dist/{index-DRmb-oUa.d.ts → index-CuFLztiI.d.ts} +6 -1
- package/dist/{index-fa72tWIU.d.ts → index-D2bSSSBP.d.ts} +1 -1
- package/dist/{index-NzLDrOkk.d.ts → index-DAiGhkNZ.d.ts} +15 -2
- package/dist/{index-DOUEn7V0.d.ts → index-DQAnGHu7.d.ts} +2 -2
- package/dist/{index-BfOtLyNH.d.ts → index-D_nYxnNv.d.ts} +1 -1
- package/dist/{index-C6iJwTL0.d.ts → index-DeOftUMq.d.ts} +181 -72
- package/dist/{index-Bn_odHQ9.d.ts → index-Dg3ZmwEg.d.ts} +12 -1
- package/dist/{index-BiMGXtD-.d.ts → index-DimuSES0.d.ts} +14 -1
- package/dist/{index-C_2Z65Rp.d.ts → index-DnEh-HA0.d.ts} +1 -1
- package/dist/{index-D-ZuubCK.d.ts → index-DnSrjbjP.d.ts} +1 -1
- package/dist/{index-BtPZKO20.d.ts → index-I4J7gwa1.d.ts} +49 -7
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-C7mxUcDR.d.ts → index-Z_onS2lR.d.ts} +2 -2
- package/dist/{index-CVn0GBdB.d.ts → index-cG1E0U2s.d.ts} +1 -1
- package/dist/{index-DEeJowZf.d.ts → index-cGagYM1g.d.ts} +15 -2
- package/dist/{index-Ck8qy6Rf.d.ts → index-c_TaW8mM.d.ts} +24 -2
- package/dist/index.d.ts +68 -67
- package/dist/index.js +98 -95
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/registry-B1ObuP--.d.ts +45 -0
- package/dist/registry-C7OZb0PJ.js +135 -0
- package/dist/{types-DZoEm_DG.d.ts → types-BKcxXW--.d.ts} +22 -5
- package/dist/{index-B8MbfMwV.d.ts → types-DDAAT1Xd.d.ts} +36 -82
- package/package.json +6 -1
- package/styles/avatar.css +14 -0
- package/styles/badge.css +8 -0
- package/styles/breadcrumbs.css +6 -1
- package/styles/button.css +13 -0
- package/styles/calendar.css +16 -0
- package/styles/card.css +2 -0
- package/styles/chat.css +5 -2
- package/styles/dropdown-menu.css +11 -0
- package/styles/icon.css +38 -8
- package/styles/link.css +5 -0
- package/styles/number-input.css +22 -0
- package/styles/pagination.css +45 -1
- package/styles/progress-bar.css +4 -0
- package/styles/selector.css +58 -0
- package/styles/tab-list.css +15 -0
- package/styles/text-area.css +17 -0
- package/styles/text-input.css +5 -0
- package/styles/toast.css +7 -0
- package/styles/toolbar.css +11 -0
- package/dist/Avatar-5s3HSrtN.js +0 -136
- package/dist/Badge-Ba0EwsTj.js +0 -19
- package/dist/Calendar-BG7wEsro.js +0 -277
- package/dist/DateInput-DE2TN1Rq.js +0 -250
- package/dist/Icon-Dfr4k6-S.js +0 -86
- package/dist/Link-CprjOuTI.js +0 -92
- package/dist/NumberInput-CTYiQxHq.js +0 -147
- package/dist/Selector-Da-2BO3q.js +0 -325
- package/dist/index-DtjAdYEc.d.ts +0 -68
- package/dist/{CheckboxList-EsIEXjK_.js → CheckboxList-BbCPiend.js} +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$
|
|
1
|
+
import { t as _sfc_main$173 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
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";
|
|
@@ -24,143 +24,146 @@ import { t as useScrollableArea } from "./useScrollableArea-DDk_CluT.js";
|
|
|
24
24
|
import { t as useScrollLock } from "./scrollLock-BzIvIimL.js";
|
|
25
25
|
import { t as useTypeahead } from "./useTypeahead-PAK8lMYz.js";
|
|
26
26
|
import { t as _sfc_main$56 } from "./Dialog-rfUt3y8P.js";
|
|
27
|
-
import { t as _sfc_main$
|
|
28
|
-
import { t as _sfc_main$
|
|
29
|
-
import { t as _sfc_main$
|
|
27
|
+
import { t as _sfc_main$73 } from "./Heading-Dugosn6j.js";
|
|
28
|
+
import { t as _sfc_main$129 } from "./Stack-gGcYdOAh.js";
|
|
29
|
+
import { t as _sfc_main$147 } from "./Text-BHVghsWo.js";
|
|
30
30
|
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-ovx4cBjM.js";
|
|
31
|
-
import { a as _sfc_main$
|
|
32
|
-
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale } from "./context-
|
|
33
|
-
import { n as _sfc_main$
|
|
31
|
+
import { a as _sfc_main$80, n as _sfc_main$83, r as _sfc_main$81, t as _sfc_main$84 } from "./LayoutPanel-C34uOq3e.js";
|
|
32
|
+
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale } from "./context-DzcK4T_C.js";
|
|
33
|
+
import { n as _sfc_main$93, t as _sfc_main$94 } from "./MobileNavToggle-BMj3Wtuq.js";
|
|
34
34
|
import { r as useSideNavCollapse } from "./context-BjNya0v8.js";
|
|
35
|
-
import { t as _sfc_main$1 } from "./AppShell-
|
|
35
|
+
import { t as _sfc_main$1 } from "./AppShell-1wNIEtK_.js";
|
|
36
36
|
import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
|
|
37
|
-
import {
|
|
38
|
-
import { n as _sfc_main$
|
|
39
|
-
import { t as _sfc_main$
|
|
37
|
+
import { t as _sfc_main$162 } from "./Tooltip-mp0NMh_Y.js";
|
|
38
|
+
import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-jmHInHwj.js";
|
|
39
|
+
import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-QyzSrpYA.js";
|
|
40
|
+
import { t as _sfc_main$7 } from "./Badge-CjDQPF5g.js";
|
|
40
41
|
import "./Badge/index.js";
|
|
41
|
-
import { t as _sfc_main$
|
|
42
|
+
import { t as _sfc_main$76 } from "./IconButton-BNQuz9W_.js";
|
|
42
43
|
import { t as _sfc_main$8 } from "./Banner-CJe9Im5a.js";
|
|
43
44
|
import { t as _sfc_main$9 } from "./Blockquote-DFqBv_oJ.js";
|
|
44
45
|
import "./Blockquote/index.js";
|
|
45
46
|
import { t as _sfc_main$10 } from "./BottomSheet-Dg95HB1s.js";
|
|
46
47
|
import "./BottomSheet/index.js";
|
|
47
|
-
import { n as
|
|
48
|
+
import { i as isIconGlyph, n as ICON_GLYPHS, r as iconGlyphSlug, t as _sfc_main$75 } from "./Icon-Bku25g_K.js";
|
|
49
|
+
import { n as addCollection, r as addIcon } from "./registry-C7OZb0PJ.js";
|
|
50
|
+
import { a as _sfc_main$60, c as useDropdownMenuContext, i as _sfc_main$61, r as _sfc_main$62, t as _sfc_main$59 } from "./DropdownMenu-8G0B1UND.js";
|
|
51
|
+
import { t as _sfc_main$58 } from "./Divider-BtwnL18I.js";
|
|
52
|
+
import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$78 } from "./Item-C1z6gXn8.js";
|
|
53
|
+
import { n as _sfc_main$11, t as _sfc_main$12 } from "./Breadcrumbs-C97HmjkC.js";
|
|
48
54
|
import { n as _sfc_main$14 } from "./ButtonGroup-ySQWanDP.js";
|
|
49
|
-
import { t as _sfc_main$15 } from "./Calendar-
|
|
55
|
+
import { t as _sfc_main$15 } from "./Calendar-DqC3EDN1.js";
|
|
50
56
|
import "./Calendar/index.js";
|
|
51
57
|
import { t as _sfc_main$16 } from "./Card-HAjZQg2s.js";
|
|
52
58
|
import "./Card/index.js";
|
|
53
|
-
import {
|
|
54
|
-
import { t as _sfc_main$17 } from "./Carousel-BTtHkKea.js";
|
|
59
|
+
import { t as _sfc_main$17 } from "./Carousel-BGUnskjo.js";
|
|
55
60
|
import { t as _sfc_main$18 } from "./Center-DVaZaTGP.js";
|
|
56
|
-
import { a as _sfc_main$25, c as _sfc_main$22, d as useChatLayoutContext, f as useChatListContext, i as _sfc_main$26, l as _sfc_main$21, m as _sfc_main$20, n as _sfc_main$28, o as _sfc_main$24, p as useChatMessageContext, r as _sfc_main$27, s as _sfc_main$23, t as _sfc_main$29, u as _sfc_main$19 } from "./Chat-
|
|
57
|
-
import { t as _sfc_main$
|
|
58
|
-
import { t as _sfc_main$58 } from "./Divider-BtwnL18I.js";
|
|
61
|
+
import { a as _sfc_main$25, c as _sfc_main$22, d as useChatLayoutContext, f as useChatListContext, i as _sfc_main$26, l as _sfc_main$21, m as _sfc_main$20, n as _sfc_main$28, o as _sfc_main$24, p as useChatMessageContext, r as _sfc_main$27, s as _sfc_main$23, t as _sfc_main$29, u as _sfc_main$19 } from "./Chat-DCjXRiOF.js";
|
|
62
|
+
import { t as _sfc_main$128 } from "./Spinner-9cYUCnDy.js";
|
|
59
63
|
import { t as _sfc_main$30 } from "./CheckboxIndicator-DdJmksHt.js";
|
|
60
64
|
import "./CheckboxIndicator/index.js";
|
|
61
|
-
import { t as _sfc_main$
|
|
62
|
-
import { t as _sfc_main$
|
|
65
|
+
import { t as _sfc_main$66 } from "./FieldLabel-DmmJyX7w.js";
|
|
66
|
+
import { t as _sfc_main$67 } from "./FieldStatus-MjY19ERl.js";
|
|
63
67
|
import { t as _sfc_main$31 } from "./CheckboxInput-CMsEE1_4.js";
|
|
64
68
|
import "./CheckboxInput/index.js";
|
|
65
|
-
import { t as _sfc_main$
|
|
66
|
-
import {
|
|
67
|
-
import { n as _sfc_main$
|
|
68
|
-
import {
|
|
69
|
-
import { t as _sfc_main$34 } from "./Citation-DijdbUUu.js";
|
|
69
|
+
import { t as _sfc_main$65 } from "./Field-8zRxzDHE.js";
|
|
70
|
+
import { n as _sfc_main$87, t as _sfc_main$88 } from "./ListItem-pGxvn6QJ.js";
|
|
71
|
+
import { n as _sfc_main$32, t as _sfc_main$33 } from "./CheckboxList-BbCPiend.js";
|
|
72
|
+
import { t as _sfc_main$34 } from "./Citation-DunoAqVH.js";
|
|
70
73
|
import { n as _sfc_main$35 } from "./ClickableCard-Bhds4RRe.js";
|
|
71
|
-
import { a as tokenizeAsync, c as _sfc_main$36, i as tokenize, n as SYNC_TOKENIZE_THRESHOLD, o as HIGHLIGHTED_TOKEN_TYPES, r as flatTokensToLines, s as applyHighlightRanges, t as _sfc_main$37 } from "./CodeBlock-
|
|
74
|
+
import { a as tokenizeAsync, c as _sfc_main$36, i as tokenize, n as SYNC_TOKENIZE_THRESHOLD, o as HIGHLIGHTED_TOKEN_TYPES, r as flatTokensToLines, s as applyHighlightRanges, t as _sfc_main$37 } from "./CodeBlock-CAF-VJnh.js";
|
|
72
75
|
import { n as defineSyntaxTheme, r as githubDark, t as SYNTAX_TOKEN_KEYS } from "./syntaxTheme-ClpWALZX.js";
|
|
73
|
-
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$
|
|
74
|
-
import { n as _sfc_main$38, t as _sfc_main$39 } from "./Collapsible-
|
|
75
|
-
import { a as _sfc_main$43, i as _sfc_main$44, n as _sfc_main$46, o as _sfc_main$42, r as _sfc_main$45, s as _sfc_main$41, t as _sfc_main$40 } from "./CommandPalette-
|
|
76
|
-
import { t as _sfc_main$
|
|
77
|
-
import { t as _sfc_main$
|
|
78
|
-
import { n as _sfc_main$47 } from "./ComplexSelector-
|
|
79
|
-
import { a as _sfc_main$49, i as _sfc_main$50, n as _sfc_main$52, o as useContextMenu, r as _sfc_main$51, s as useContextMenuSize, t as _sfc_main$48 } from "./ContextMenu-
|
|
80
|
-
import { t as
|
|
76
|
+
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$135, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "./Code-yb_KOFtJ.js";
|
|
77
|
+
import { n as _sfc_main$38, t as _sfc_main$39 } from "./Collapsible-DvMiYJp7.js";
|
|
78
|
+
import { a as _sfc_main$43, i as _sfc_main$44, n as _sfc_main$46, o as _sfc_main$42, r as _sfc_main$45, s as _sfc_main$41, t as _sfc_main$40 } from "./CommandPalette-xfm9ldUI.js";
|
|
79
|
+
import { t as _sfc_main$79 } from "./Kbd-BB-Dw6zE.js";
|
|
80
|
+
import { t as _sfc_main$108 } from "./Popover-Crhk9PNP.js";
|
|
81
|
+
import { n as _sfc_main$47 } from "./ComplexSelector-B6lBTRhP.js";
|
|
82
|
+
import { a as _sfc_main$49, i as _sfc_main$50, n as _sfc_main$52, o as useContextMenu, r as _sfc_main$51, s as useContextMenuSize, t as _sfc_main$48 } from "./ContextMenu-DUkED3Z3.js";
|
|
83
|
+
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
84
|
+
import { t as _sfc_main$53 } from "./DateInput-Crcg-CCj.js";
|
|
81
85
|
import "./DateInput/index.js";
|
|
82
|
-
import { t as _sfc_main$54 } from "./DateRangeInput-
|
|
83
|
-
import { t as _sfc_main$55 } from "./DateTimeInput-
|
|
86
|
+
import { t as _sfc_main$54 } from "./DateRangeInput-e9KSxBBK.js";
|
|
87
|
+
import { t as _sfc_main$55 } from "./DateTimeInput-fSOfuLex.js";
|
|
84
88
|
import { n as _sfc_main$57, t as useImperativeDialog } from "./Dialog-CvRplBo-.js";
|
|
85
89
|
import "./Divider/index.js";
|
|
86
|
-
import {
|
|
87
|
-
import { t as _sfc_main$
|
|
90
|
+
import { t as _sfc_main$63 } from "./DropdownMenu-XvW4BJob.js";
|
|
91
|
+
import { t as _sfc_main$64 } from "./EmptyState-CUJdTYKV.js";
|
|
88
92
|
import "./Field/index.js";
|
|
89
93
|
import "./FieldStatus/index.js";
|
|
90
|
-
import { t as _sfc_main$
|
|
91
|
-
import { t as _sfc_main$
|
|
92
|
-
import { n as _sfc_main$
|
|
94
|
+
import { t as _sfc_main$68 } from "./FileInput-D-fchyQH.js";
|
|
95
|
+
import { t as _sfc_main$69 } from "./FormLayout-D47FjiOq.js";
|
|
96
|
+
import { n as _sfc_main$70, t as _sfc_main$71 } from "./Grid-D1onTzyC.js";
|
|
93
97
|
import "./Heading/index.js";
|
|
94
|
-
import { t as _sfc_main$
|
|
98
|
+
import { t as _sfc_main$74 } from "./HoverCard-EhbWaGOW.js";
|
|
95
99
|
import "./HoverCard/index.js";
|
|
96
100
|
import "./Icon/index.js";
|
|
97
101
|
import "./IconButton/index.js";
|
|
98
|
-
import { t as _sfc_main$
|
|
102
|
+
import { t as _sfc_main$77 } from "./InputGroup-ChrFVxzV.js";
|
|
99
103
|
import "./Kbd/index.js";
|
|
100
|
-
import { t as _sfc_main$
|
|
101
|
-
import { n as _sfc_main$
|
|
102
|
-
import { t as _sfc_main$
|
|
104
|
+
import { t as _sfc_main$82 } from "./Layout-Bed3kP0M.js";
|
|
105
|
+
import { n as _sfc_main$85, t as useLightbox } from "./Lightbox-uuVGgHxW.js";
|
|
106
|
+
import { t as _sfc_main$86 } from "./Link-DqdQZ37C.js";
|
|
103
107
|
import "./Link/index.js";
|
|
104
108
|
import "./List/index.js";
|
|
105
|
-
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main$
|
|
106
|
-
import { n as _sfc_main$
|
|
109
|
+
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main$89 } from "./Markdown-DLICa3db.js";
|
|
110
|
+
import { n as _sfc_main$91, t as _sfc_main$92 } from "./MetadataList-h492rqEN.js";
|
|
107
111
|
import "./MobileNav/index.js";
|
|
108
|
-
import { t as _sfc_main$
|
|
109
|
-
import { t as _sfc_main$
|
|
110
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$
|
|
112
|
+
import { t as _sfc_main$95 } from "./MoreMenu-DkYi5az5.js";
|
|
113
|
+
import { t as _sfc_main$159 } from "./Token-CjocuhzE.js";
|
|
114
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$96 } from "./MultiSelector-C2IS-EaU.js";
|
|
111
115
|
import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
|
|
112
|
-
import { t as _sfc_main$
|
|
113
|
-
import { t as _sfc_main$
|
|
114
|
-
import { t as _sfc_main$
|
|
115
|
-
import { n as _sfc_main$
|
|
116
|
+
import { t as _sfc_main$98 } from "./NavItem-thEKXyJA.js";
|
|
117
|
+
import { t as _sfc_main$99 } from "./NavItem-FFOisITc.js";
|
|
118
|
+
import { t as _sfc_main$97 } from "./NavDisclosure-DHrSNRDR.js";
|
|
119
|
+
import { n as _sfc_main$100, t as _sfc_main$101 } from "./NavMenuItem-B-k7olt5.js";
|
|
116
120
|
import "./NavMenu/index.js";
|
|
117
|
-
import { t as _sfc_main$
|
|
118
|
-
import { t as _sfc_main$
|
|
119
|
-
import { t as _sfc_main$
|
|
120
|
-
import { n as useOverlay, r as _sfc_main$
|
|
121
|
-
import { t as _sfc_main$
|
|
122
|
-
import { t as _sfc_main$
|
|
121
|
+
import { t as _sfc_main$102 } from "./NumberInput-CjfAsFwj.js";
|
|
122
|
+
import { t as _sfc_main$103 } from "./Outline-BTmrtvXR.js";
|
|
123
|
+
import { t as _sfc_main$104 } from "./OverflowList-CRE8BE7V.js";
|
|
124
|
+
import { n as useOverlay, r as _sfc_main$106, t as _sfc_main$105 } from "./Overlay-DKILTHxI.js";
|
|
125
|
+
import { t as _sfc_main$107 } from "./Pagination-BpGXPmc7.js";
|
|
126
|
+
import { t as _sfc_main$120 } from "./Selector-DkJOLZSR.js";
|
|
123
127
|
import "./Pagination/index.js";
|
|
124
128
|
import "./Popover/index.js";
|
|
125
|
-
import { t as _sfc_main$
|
|
126
|
-
import { n as _sfc_main$
|
|
129
|
+
import { t as _sfc_main$109 } from "./ProgressBar-DO9Chic6.js";
|
|
130
|
+
import { n as _sfc_main$110, t as _sfc_main$111 } from "./RadioGroup-BqjdSCfJ.js";
|
|
127
131
|
import "./Radio/index.js";
|
|
128
|
-
import { n as _sfc_main$
|
|
129
|
-
import { t as _sfc_main$
|
|
130
|
-
import { t as _sfc_main$
|
|
131
|
-
import { t as _sfc_main$
|
|
132
|
-
import { n as _sfc_main$
|
|
133
|
-
import { n as _sfc_main$
|
|
132
|
+
import { n as _sfc_main$112, t as _sfc_main$113 } from "./RadioList-DI8ujXcT.js";
|
|
133
|
+
import { t as _sfc_main$114 } from "./Resizable-CE8XQDL2.js";
|
|
134
|
+
import { t as _sfc_main$115 } from "./ScrollableArea-DQDYjnxO.js";
|
|
135
|
+
import { t as _sfc_main$116 } from "./Section-C48Wqfc7.js";
|
|
136
|
+
import { n as _sfc_main$117, t as _sfc_main$118 } from "./SegmentedControl-ChHmFrrC.js";
|
|
137
|
+
import { n as _sfc_main$119 } from "./SelectableCard-Bj5s_tIN.js";
|
|
134
138
|
import "./Selector/index.js";
|
|
135
|
-
import { a as _sfc_main$
|
|
136
|
-
import { t as _sfc_main$
|
|
137
|
-
import { t as _sfc_main$125 } from "./Skeleton-CrgWxJgr.js";
|
|
139
|
+
import { a as _sfc_main$122, i as _sfc_main$121, n as _sfc_main$124, r as _sfc_main$123, t as _sfc_main$125 } from "./SideNav-DcDWBnXJ.js";
|
|
140
|
+
import { t as _sfc_main$126 } from "./Skeleton-CrgWxJgr.js";
|
|
138
141
|
import "./Skeleton/index.js";
|
|
139
|
-
import { t as _sfc_main$
|
|
142
|
+
import { t as _sfc_main$127 } from "./Slider-D8h_RKcF.js";
|
|
140
143
|
import "./Spinner/index.js";
|
|
141
|
-
import { n as _sfc_main$
|
|
142
|
-
import { t as _sfc_main$
|
|
143
|
-
import { n as _sfc_main$
|
|
144
|
-
import { t as _sfc_main$
|
|
145
|
-
import { C as paginateData, D as sortRows, E as resolveColumnWidths, S as generateColumns, T as proportional, _ as useTableColumnSettings, a as _sfc_main$
|
|
146
|
-
import { t as _sfc_main$
|
|
147
|
-
import { n as _sfc_main$
|
|
144
|
+
import { n as _sfc_main$130, r as _sfc_main$72, t as _sfc_main$172 } from "./Stack-iv52y_Jv.js";
|
|
145
|
+
import { t as _sfc_main$131 } from "./StatusDot-CaoIapp4.js";
|
|
146
|
+
import { n as _sfc_main$132, t as _sfc_main$133 } from "./Stepper-DZKaqEoz.js";
|
|
147
|
+
import { t as _sfc_main$134 } from "./Switch-SesQzPGZ.js";
|
|
148
|
+
import { C as paginateData, D as sortRows, E as resolveColumnWidths, S as generateColumns, T as proportional, _ as useTableColumnSettings, a as _sfc_main$142, b as capitalize, c as _sfc_main$139, d as useTableSelection, f as useTableSelectionState, g as useTableFiltering, h as useTableFilterState, i as _sfc_main$143, l as useTableSortable, m as applyTableFilters, n as _sfc_main$145, o as _sfc_main$141, p as useTablePagination, r as _sfc_main$144, s as _sfc_main$140, t as _sfc_main$146, u as useTableSortableState, v as useTableColumnSettingsState, w as pixel, x as cellText, y as useTableColumnResize } from "./Table-DwehtMap.js";
|
|
149
|
+
import { t as _sfc_main$149 } from "./TextInput-BasnjVvy.js";
|
|
150
|
+
import { n as _sfc_main$137, r as _sfc_main$136, t as _sfc_main$138 } from "./TabList-hm06QPiW.js";
|
|
148
151
|
import "./Text/index.js";
|
|
149
|
-
import { t as _sfc_main$
|
|
152
|
+
import { t as _sfc_main$148 } from "./TextArea-CPwSytdO.js";
|
|
150
153
|
import "./TextInput/index.js";
|
|
151
|
-
import { a as defineTheme, c as normalizeTokenName, i as _sfc_main$
|
|
152
|
-
import { t as _sfc_main$
|
|
153
|
-
import { t as _sfc_main$
|
|
154
|
-
import { n as getPresentation, t as _sfc_main$
|
|
155
|
-
import {
|
|
156
|
-
import { n as _sfc_main$
|
|
157
|
-
import { n as _sfc_main$
|
|
154
|
+
import { a as defineTheme, c as normalizeTokenName, i as _sfc_main$90, n as useMediaTheme, o as isDefinedTheme, r as _sfc_main$150, s as neutralTheme, t as useTheme } from "./Theme-BuUiiJNr.js";
|
|
155
|
+
import { t as _sfc_main$151 } from "./Thumbnail-CAOYds8t.js";
|
|
156
|
+
import { t as _sfc_main$152 } from "./TimeInput-DJP3l4ZS.js";
|
|
157
|
+
import { n as getPresentation, t as _sfc_main$153 } from "./Timer-B7GV6hqd.js";
|
|
158
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$154 } from "./Timestamp-BzRp8uWc.js";
|
|
159
|
+
import { n as _sfc_main$156, r as _sfc_main$155, t as useToast } from "./Toast-C2ML-bmi.js";
|
|
160
|
+
import { n as _sfc_main$158, r as _sfc_main$157 } from "./ToggleButton-BB_I8EdM.js";
|
|
158
161
|
import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
|
|
159
|
-
import { t as _sfc_main$
|
|
160
|
-
import { t as _sfc_main$
|
|
162
|
+
import { t as _sfc_main$160 } from "./Tokenizer-mYES5SPM.js";
|
|
163
|
+
import { t as _sfc_main$161 } from "./Toolbar-BrgvvTCk.js";
|
|
161
164
|
import "./Tooltip/index.js";
|
|
162
|
-
import { a as _sfc_main$
|
|
163
|
-
import { n as useTreeFocus, t as _sfc_main$
|
|
164
|
-
import { t as _sfc_main$
|
|
165
|
+
import { a as _sfc_main$165, i as _sfc_main$166, n as _sfc_main$168, o as _sfc_main$164, r as _sfc_main$167, s as _sfc_main$163, t as _sfc_main$169 } from "./TopNav-C2t6JkZb.js";
|
|
166
|
+
import { n as useTreeFocus, t as _sfc_main$170 } from "./TreeList-THJ0KamE.js";
|
|
167
|
+
import { t as _sfc_main$171 } from "./Typeahead-D7VnvRpK.js";
|
|
165
168
|
import "./VisuallyHidden/index.js";
|
|
166
|
-
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 Carousel, _sfc_main$18 as Center, _sfc_main$19 as ChatLayout, _sfc_main$20 as ChatLayoutScrollButton, _sfc_main$21 as ChatMessage, _sfc_main$22 as ChatMessageBubble, _sfc_main$23 as ChatMessageList, _sfc_main$24 as ChatMessageMetadata, _sfc_main$25 as ChatReasoning, _sfc_main$26 as ChatSystemMessage, _sfc_main$27 as ChatToolCalls, _sfc_main$28 as ChatTypingIndicator, _sfc_main$29 as ChatUnreadDivider, _sfc_main$30 as CheckboxIndicator, _sfc_main$31 as CheckboxInput, _sfc_main$32 as CheckboxList, _sfc_main$33 as CheckboxListItem, _sfc_main$34 as Citation, _sfc_main$35 as ClickableCard, _sfc_main$36 as Code, _sfc_main$37 as CodeBlock, _sfc_main$38 as Collapsible, _sfc_main$39 as CollapsibleGroup, _sfc_main$40 as CommandPalette, _sfc_main$41 as CommandPaletteEmpty, _sfc_main$42 as CommandPaletteFooter, _sfc_main$43 as CommandPaletteGroup, _sfc_main$44 as CommandPaletteInput, _sfc_main$45 as CommandPaletteItem, _sfc_main$46 as CommandPaletteList, _sfc_main$47 as ComplexSelector, _sfc_main$48 as ContextMenu, _sfc_main$49 as ContextMenuDivider, _sfc_main$50 as ContextMenuGroup, _sfc_main$51 as ContextMenuItem, _sfc_main$52 as ContextMenuSubMenu, _sfc_main$53 as DateInput, _sfc_main$54 as DateRangeInput, _sfc_main$55 as DateTimeInput, _sfc_main$56 as Dialog, _sfc_main$57 as DialogHeader, _sfc_main$58 as Divider, _sfc_main$59 as DropdownMenu, _sfc_main$60 as DropdownMenuDivider, _sfc_main$61 as DropdownMenuGroup, _sfc_main$62 as DropdownMenuItem, _sfc_main$63 as
|
|
169
|
+
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 Carousel, _sfc_main$18 as Center, _sfc_main$19 as ChatLayout, _sfc_main$20 as ChatLayoutScrollButton, _sfc_main$21 as ChatMessage, _sfc_main$22 as ChatMessageBubble, _sfc_main$23 as ChatMessageList, _sfc_main$24 as ChatMessageMetadata, _sfc_main$25 as ChatReasoning, _sfc_main$26 as ChatSystemMessage, _sfc_main$27 as ChatToolCalls, _sfc_main$28 as ChatTypingIndicator, _sfc_main$29 as ChatUnreadDivider, _sfc_main$30 as CheckboxIndicator, _sfc_main$31 as CheckboxInput, _sfc_main$32 as CheckboxList, _sfc_main$33 as CheckboxListItem, _sfc_main$34 as Citation, _sfc_main$35 as ClickableCard, _sfc_main$36 as Code, _sfc_main$37 as CodeBlock, _sfc_main$38 as Collapsible, _sfc_main$39 as CollapsibleGroup, _sfc_main$40 as CommandPalette, _sfc_main$41 as CommandPaletteEmpty, _sfc_main$42 as CommandPaletteFooter, _sfc_main$43 as CommandPaletteGroup, _sfc_main$44 as CommandPaletteInput, _sfc_main$45 as CommandPaletteItem, _sfc_main$46 as CommandPaletteList, _sfc_main$47 as ComplexSelector, _sfc_main$48 as ContextMenu, _sfc_main$49 as ContextMenuDivider, _sfc_main$50 as ContextMenuGroup, _sfc_main$51 as ContextMenuItem, _sfc_main$52 as ContextMenuSubMenu, _sfc_main$53 as DateInput, _sfc_main$54 as DateRangeInput, _sfc_main$55 as DateTimeInput, _sfc_main$56 as Dialog, _sfc_main$57 as DialogHeader, _sfc_main$58 as Divider, _sfc_main$59 as DropdownMenu, _sfc_main$60 as DropdownMenuDivider, _sfc_main$61 as DropdownMenuGroup, _sfc_main$62 as DropdownMenuItem, _sfc_main$63 as DropdownMenuSubMenu, _sfc_main$64 as EmptyState, _sfc_main$65 as Field, _sfc_main$66 as FieldLabel, _sfc_main$67 as FieldStatus, _sfc_main$68 as FileInput, _sfc_main$69 as FormLayout, _sfc_main$70 as Grid, _sfc_main$71 as GridSpan, HIGHLIGHTED_TOKEN_TYPES, _sfc_main$72 as HStack, _sfc_main$73 as Heading, _sfc_main$74 as HoverCard, ICON_GLYPHS, INTERACTIVE_SELECTORS, _sfc_main$75 as Icon, _sfc_main$76 as IconButton, _sfc_main$77 as InputGroup, _sfc_main$78 as Item, _sfc_main$79 as Kbd, _sfc_main$80 as Layout, _sfc_main$81 as LayoutContent, _sfc_main$82 as LayoutFooter, _sfc_main$83 as LayoutHeader, _sfc_main$84 as LayoutPanel, _sfc_main$85 as Lightbox, _sfc_main$86 as Link, _sfc_main$87 as List, _sfc_main$88 as ListItem, _sfc_main$89 as Markdown, _sfc_main$90 as MediaTheme, _sfc_main$91 as MetadataList, _sfc_main$92 as MetadataListItem, _sfc_main$93 as MobileNav, _sfc_main$94 as MobileNavToggle, _sfc_main$95 as MoreMenu, _sfc_main$96 as MultiSelector, _sfc_main$97 as NavDisclosure, _sfc_main$98 as NavIcon, _sfc_main$99 as NavItem, _sfc_main$100 as NavMenu, _sfc_main$101 as NavMenuItem, _sfc_main$102 as NumberInput, _sfc_main$103 as Outline, _sfc_main$104 as OverflowList, _sfc_main$105 as Overlay, _sfc_main$106 as OverlayScrim, _sfc_main$107 as Pagination, _sfc_main$108 as Popover, _sfc_main$109 as ProgressBar, _sfc_main$110 as Radio, _sfc_main$111 as RadioGroup, _sfc_main$112 as RadioList, _sfc_main$113 as RadioListItem, _sfc_main$114 as ResizeHandle, SELECT_ALL_VALUE, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, _sfc_main$115 as ScrollableArea, _sfc_main$116 as Section, _sfc_main$117 as SegmentedControl, _sfc_main$118 as SegmentedControlItem, _sfc_main$119 as SelectableCard, _sfc_main$120 as Selector, _sfc_main$121 as SideNav, _sfc_main$122 as SideNavCollapseButton, _sfc_main$123 as SideNavHeading, _sfc_main$124 as SideNavItem, _sfc_main$125 as SideNavSection, _sfc_main$126 as Skeleton, _sfc_main$127 as Slider, _sfc_main$128 as Spinner, _sfc_main$129 as Stack, _sfc_main$130 as StackItem, _sfc_main$131 as StatusDot, _sfc_main$132 as Step, _sfc_main$133 as Stepper, _sfc_main$134 as Switch, _sfc_main$135 as SyntaxTheme, TOKEN_COLORS, _sfc_main$136 as Tab, _sfc_main$137 as TabList, _sfc_main$138 as TabMenu, _sfc_main$139 as Table, _sfc_main$140 as TableBody, _sfc_main$141 as TableCell, _sfc_main$142 as TableFooter, _sfc_main$143 as TableHeader, _sfc_main$144 as TableHeaderCell, _sfc_main$145 as TableRow, _sfc_main$146 as TableSelectionToolbar, _sfc_main$147 as Text, _sfc_main$148 as TextArea, _sfc_main$149 as TextInput, _sfc_main$150 as Theme, _sfc_main$151 as Thumbnail, _sfc_main$152 as TimeInput, _sfc_main$153 as Timer, _sfc_main$154 as Timestamp, _sfc_main$155 as Toast, _sfc_main$156 as ToastViewport, _sfc_main$157 as ToggleButton, _sfc_main$158 as ToggleButtonGroup, _sfc_main$159 as Token, _sfc_main$160 as Tokenizer, _sfc_main$161 as Toolbar, _sfc_main$162 as Tooltip, _sfc_main$163 as TopNav, _sfc_main$164 as TopNavHeading, _sfc_main$165 as TopNavItem, _sfc_main$166 as TopNavMegaMenu, _sfc_main$167 as TopNavMegaMenuFeaturedCard, _sfc_main$168 as TopNavMegaMenuItem, _sfc_main$169 as TopNavMenu, _sfc_main$170 as TreeList, _sfc_main$171 as Typeahead, _sfc_main$172 as VStack, _sfc_main$173 as VisuallyHidden, addCollection, addIcon, addMonths, allSyntaxPresets, appShellMobileKey, applyHighlightRanges, applyRangeClick, applyTableFilters, buildMonthGrid, capitalize, catppuccinLatte, catppuccinMocha, cellText, compareISODate, computeOverflow, createStaticSource, darkSyntaxPresets, defineSyntaxTheme, defineTheme, dracula, flatTokensToLines, flattenOptions, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, formatInstant, formatRelativeTime, formatTooltipLines, generateColumns, getPresentation, githubDark, githubLight, iconGlyphSlug, isDayOutsideSpan, isDefinedTheme, isIconGlyph, isRangeWithinSpan, isSameRange, isTimeInRange, lightSyntaxPresets, monokai, neutralTheme, nord, normalizeLocale, normalizeTokenName, oneDarkPro, oneLight, orderRange, paginateData, paginateData as paginateTableData, parseDisplayTime, parseISODate, parseISOTime, parseMarkdown, percent, pixel, proportional, provideAstryxLocale, resolveColumnWidths, resolveNavRoot, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, slugify, snapToGraphemeBoundary, solarizedLight, sortRows, spanDays, toISODate, todayISODate, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, 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, useLightbox, useListContext, useListFocus, useLongPress, useMediaQuery, useMediaTheme, useNumberField, useOverflow, useOverlay, useResizable, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSideNavCollapse, useStreamingText, useSyntaxTheme, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTablePagination, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTheme, 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-Clmz00IK.js";
|
|
2
2
|
export { type AstryxLocale, type AstryxMessages, astryxLocaleKey, formatCalendarMonth, normalizeLocale, provideAstryxLocale, useAstryxLocale, useAstryxMessages, weekdayNames };
|
package/dist/locale/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale, t as astryxLocaleKey } from "../context-
|
|
1
|
+
import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale, t as astryxLocaleKey } from "../context-DzcK4T_C.js";
|
|
2
2
|
import { n as weekdayNames, t as formatCalendarMonth } from "../locale-Cpk_nrLA.js";
|
|
3
3
|
export { astryxLocaleKey, formatCalendarMonth, normalizeLocale, provideAstryxLocale, useAstryxLocale, useAstryxMessages, weekdayNames };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/Icon/registry.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Iconify icon data, the shape published by `@iconify-json/*`.
|
|
4
|
+
*
|
|
5
|
+
* Only the fields the renderer uses are kept. A collection JSON satisfies this
|
|
6
|
+
* interface, so `addCollection` can take the file as it is.
|
|
7
|
+
*/
|
|
8
|
+
interface IconifyIcon {
|
|
9
|
+
body: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
left?: number;
|
|
13
|
+
top?: number;
|
|
14
|
+
rotate?: number;
|
|
15
|
+
hFlip?: boolean;
|
|
16
|
+
vFlip?: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface IconifyAlias {
|
|
19
|
+
parent: string;
|
|
20
|
+
width?: number;
|
|
21
|
+
height?: number;
|
|
22
|
+
left?: number;
|
|
23
|
+
top?: number;
|
|
24
|
+
rotate?: number;
|
|
25
|
+
hFlip?: boolean;
|
|
26
|
+
vFlip?: boolean;
|
|
27
|
+
}
|
|
28
|
+
interface IconifyCollection {
|
|
29
|
+
prefix: string;
|
|
30
|
+
icons: Record<string, IconifyIcon>;
|
|
31
|
+
aliases?: Record<string, IconifyAlias>;
|
|
32
|
+
width?: number;
|
|
33
|
+
height?: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Register one icon under its `collection:name` id.
|
|
37
|
+
*
|
|
38
|
+
* Later lookups accept that id and, once the collection prefix is known, the
|
|
39
|
+
* `collection-name` form as well.
|
|
40
|
+
*/
|
|
41
|
+
declare function addIcon(name: string, data: IconifyIcon): void;
|
|
42
|
+
/** Register every icon in an `@iconify-json` collection. */
|
|
43
|
+
declare function addCollection(collection: IconifyCollection): void;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { addIcon as i, IconifyIcon as n, addCollection as r, IconifyCollection as t };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
//#region src/Icon/registry.ts
|
|
2
|
+
const ICON_PART = "[a-z0-9]+(?:[-_][a-z0-9]+)*";
|
|
3
|
+
const COLON_NAME = new RegExp(`^(${ICON_PART}):(${ICON_PART})$`, "i");
|
|
4
|
+
/**
|
|
5
|
+
* The Vite plugin pushes `[name, data]` pairs here instead of importing
|
|
6
|
+
* `addIcon`. Importing it made the registration call run before this module
|
|
7
|
+
* had finished initializing.
|
|
8
|
+
*/
|
|
9
|
+
const ASTRYX_ICON_QUEUE = "__astryxVueIcons";
|
|
10
|
+
const icons = /* @__PURE__ */ new Map();
|
|
11
|
+
const collections = /* @__PURE__ */ new Map();
|
|
12
|
+
const prefixes = /* @__PURE__ */ new Set();
|
|
13
|
+
const missingWarnings = /* @__PURE__ */ new Set();
|
|
14
|
+
function knownPrefixes() {
|
|
15
|
+
return [...prefixes];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Split an Iconify name.
|
|
19
|
+
*
|
|
20
|
+
* `carbon:settings` is the canonical form. `carbon-settings` is accepted when
|
|
21
|
+
* `carbon` is a known collection prefix. The longest prefix wins, so
|
|
22
|
+
* `material-symbols-home` stays on the `material-symbols` collection instead of
|
|
23
|
+
* being read as `material`.
|
|
24
|
+
*/
|
|
25
|
+
function parseIconName(input, known = knownPrefixes()) {
|
|
26
|
+
const value = input.trim();
|
|
27
|
+
const colon = COLON_NAME.exec(value);
|
|
28
|
+
if (colon?.[1] && colon[2]) return {
|
|
29
|
+
prefix: colon[1].toLowerCase(),
|
|
30
|
+
name: colon[2].toLowerCase()
|
|
31
|
+
};
|
|
32
|
+
const lower = value.toLowerCase();
|
|
33
|
+
const ordered = [...known].sort((a, b) => b.length - a.length);
|
|
34
|
+
for (const prefix of ordered) {
|
|
35
|
+
const normalized = prefix.toLowerCase();
|
|
36
|
+
const head = `${normalized}-`;
|
|
37
|
+
if (!lower.startsWith(head) || lower.length === head.length) continue;
|
|
38
|
+
const name = lower.slice(head.length);
|
|
39
|
+
if (new RegExp(`^${ICON_PART}$`, "i").test(name)) return {
|
|
40
|
+
prefix: normalized,
|
|
41
|
+
name
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function mergeAlias(parent, alias) {
|
|
46
|
+
let rotate = ((parent.rotate ?? 0) + (alias.rotate ?? 0)) % 4;
|
|
47
|
+
let hFlip = parent.hFlip === true;
|
|
48
|
+
let vFlip = parent.vFlip === true;
|
|
49
|
+
if (alias.hFlip) hFlip = !hFlip;
|
|
50
|
+
if (alias.vFlip) vFlip = !vFlip;
|
|
51
|
+
if (hFlip && vFlip) {
|
|
52
|
+
rotate = (rotate + 2) % 4;
|
|
53
|
+
hFlip = false;
|
|
54
|
+
vFlip = false;
|
|
55
|
+
}
|
|
56
|
+
if (rotate < 0) rotate = (rotate % 4 + 4) % 4;
|
|
57
|
+
return {
|
|
58
|
+
body: parent.body,
|
|
59
|
+
width: alias.width ?? parent.width,
|
|
60
|
+
height: alias.height ?? parent.height,
|
|
61
|
+
left: alias.left ?? parent.left,
|
|
62
|
+
top: alias.top ?? parent.top,
|
|
63
|
+
rotate: rotate === 0 ? void 0 : rotate,
|
|
64
|
+
hFlip: hFlip || void 0,
|
|
65
|
+
vFlip: vFlip || void 0
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Resolve one icon out of a collection, following aliases.
|
|
70
|
+
*
|
|
71
|
+
* Width and height fall back to the collection defaults, which is how Iconify
|
|
72
|
+
* stores a shared canvas size.
|
|
73
|
+
*/
|
|
74
|
+
function resolveCollectionIcon(collection, name, seen = /* @__PURE__ */ new Set()) {
|
|
75
|
+
if (collection == null || seen.has(name)) return void 0;
|
|
76
|
+
seen.add(name);
|
|
77
|
+
const direct = collection.icons[name];
|
|
78
|
+
if (direct?.body) return {
|
|
79
|
+
...direct,
|
|
80
|
+
width: direct.width ?? collection.width,
|
|
81
|
+
height: direct.height ?? collection.height
|
|
82
|
+
};
|
|
83
|
+
const alias = collection.aliases?.[name];
|
|
84
|
+
if (alias?.parent == null) return void 0;
|
|
85
|
+
const parent = resolveCollectionIcon(collection, alias.parent, seen);
|
|
86
|
+
if (parent == null) return void 0;
|
|
87
|
+
return mergeAlias(parent, alias);
|
|
88
|
+
}
|
|
89
|
+
function remember(prefix) {
|
|
90
|
+
prefixes.add(prefix.toLowerCase());
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Register one icon under its `collection:name` id.
|
|
94
|
+
*
|
|
95
|
+
* Later lookups accept that id and, once the collection prefix is known, the
|
|
96
|
+
* `collection-name` form as well.
|
|
97
|
+
*/
|
|
98
|
+
function addIcon(name, data) {
|
|
99
|
+
const parsed = parseIconName(name, []);
|
|
100
|
+
if (parsed == null) return;
|
|
101
|
+
icons.set(`${parsed.prefix}:${parsed.name}`, data);
|
|
102
|
+
remember(parsed.prefix);
|
|
103
|
+
}
|
|
104
|
+
/** Register every icon in an `@iconify-json` collection. */
|
|
105
|
+
function addCollection(collection) {
|
|
106
|
+
const prefix = collection.prefix.toLowerCase();
|
|
107
|
+
collections.set(prefix, {
|
|
108
|
+
...collection,
|
|
109
|
+
prefix
|
|
110
|
+
});
|
|
111
|
+
remember(prefix);
|
|
112
|
+
}
|
|
113
|
+
/** Warn once per name when a rendered icon was never registered. */
|
|
114
|
+
function warnMissingIcon(name) {
|
|
115
|
+
if (missingWarnings.has(name)) return;
|
|
116
|
+
missingWarnings.add(name);
|
|
117
|
+
console.warn(`[astryx-vue] Icon "${name}" is not registered. Install the matching @iconify-json collection and add astryxIcons() to Vite, or call addIcon() / addCollection().`);
|
|
118
|
+
}
|
|
119
|
+
function drainIconQueue() {
|
|
120
|
+
const host = globalThis;
|
|
121
|
+
const queue = host[ASTRYX_ICON_QUEUE];
|
|
122
|
+
if (queue == null || queue.length === 0) return;
|
|
123
|
+
host[ASTRYX_ICON_QUEUE] = [];
|
|
124
|
+
for (const [name, data] of queue) addIcon(name, data);
|
|
125
|
+
}
|
|
126
|
+
/** The icon data for a name, or `undefined` when nothing has registered it. */
|
|
127
|
+
function getIcon(name) {
|
|
128
|
+
drainIconQueue();
|
|
129
|
+
const parsed = parseIconName(name);
|
|
130
|
+
if (parsed == null) return void 0;
|
|
131
|
+
const key = `${parsed.prefix}:${parsed.name}`;
|
|
132
|
+
return icons.get(key) ?? resolveCollectionIcon(collections.get(parsed.prefix), parsed.name);
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
export { parseIconName as a, getIcon as i, addCollection as n, resolveCollectionIcon as o, addIcon as r, warnMissingIcon as s, ASTRYX_ICON_QUEUE as t };
|
|
@@ -44,15 +44,32 @@ type IconName = 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'check' | 'more
|
|
|
44
44
|
*/
|
|
45
45
|
type ExtendedIconName = IconName | (string & {});
|
|
46
46
|
interface IconProps {
|
|
47
|
+
/**
|
|
48
|
+
* Iconify icon to draw, as `collection:icon`.
|
|
49
|
+
*
|
|
50
|
+
* `carbon:settings` reads the `settings` icon from the Carbon collection.
|
|
51
|
+
* `carbon-settings` is the same icon when that collection is registered.
|
|
52
|
+
* The component does not ship the artwork: install `@iconify-json/carbon`
|
|
53
|
+
* (or another collection) and register it with the `astryxIcons` Vite
|
|
54
|
+
* plugin, or call `addIcon` / `addCollection`.
|
|
55
|
+
*
|
|
56
|
+
* With no `size`, the icon is `1em` square and uses `currentColor`, so it
|
|
57
|
+
* follows the surrounding text and the sized slots on Button, IconButton,
|
|
58
|
+
* and fields.
|
|
59
|
+
*/
|
|
60
|
+
name?: string;
|
|
47
61
|
/**
|
|
48
62
|
* The icon to render. Three forms are accepted:
|
|
49
63
|
*
|
|
50
64
|
* - a string, treated as a CSS icon class you provide — for example an
|
|
51
|
-
* UnoCSS icon such as `'i-carbon-search'`, or your own class
|
|
65
|
+
* UnoCSS icon such as `'i-carbon-search'`, or your own class. The class
|
|
66
|
+
* paints the inside of the sized box, so a utility that sets
|
|
67
|
+
* `width`/`height: 100%` fills the icon instead of replacing its size;
|
|
52
68
|
* - a name from the library's own chrome, which only the components use;
|
|
53
69
|
* - a component, rendered as it is.
|
|
54
70
|
*
|
|
55
|
-
* Omit it when the default slot provides the artwork instead.
|
|
71
|
+
* Omit it when `name` or the default slot provides the artwork instead.
|
|
72
|
+
* `name` wins when both are set.
|
|
56
73
|
*/
|
|
57
74
|
icon?: ExtendedIconName | Component;
|
|
58
75
|
/**
|
|
@@ -68,9 +85,9 @@ interface IconProps {
|
|
|
68
85
|
/**
|
|
69
86
|
* The size of the icon.
|
|
70
87
|
*
|
|
71
|
-
* An explicit value wins. When omitted,
|
|
72
|
-
*
|
|
73
|
-
* back to `md`.
|
|
88
|
+
* An explicit value wins. When omitted, a `name` icon stays `1em` so it
|
|
89
|
+
* scales with the text around it. Any other icon uses the nearest default
|
|
90
|
+
* supplied by an owning astryx-vue component, then falls back to `md`.
|
|
74
91
|
*/
|
|
75
92
|
size?: IconSize;
|
|
76
93
|
/**
|