@astryx-vue/core 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BylcA4vV.js → AlertDialog-ovx4cBjM.js} +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-b0PWt9Fz.js → AppShell-EiGyPFbA.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/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-CYhGDT6f.js → Calendar-BG7wEsro.js} +1 -1
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Carousel/index.js +2 -0
- package/dist/Carousel-BTtHkKea.js +363 -0
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-C1aWl5V3.js → Chat-DjNxw5gv.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C1X0Rde8.js → Citation-DijdbUUu.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +3 -2
- package/dist/Code/index.js +4 -2
- package/dist/Code-yb_KOFtJ.js +299 -0
- package/dist/{CodeBlock-BQdooQy2.js → CodeBlock-CxTb6j9_.js} +8 -2
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BS9ctCQV.js → Collapsible-9MC08X39.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-u5h_E05P.js → CommandPalette-BD2iODF5.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BHmGWml0.js → ComplexSelector-D9iXd5cH.js} +2 -2
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-dA-ppaRQ.js → ContextMenu-HS_WqYIg.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D2ErjXYO.js → DateInput-DE2TN1Rq.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-fmQlr_A7.js → DateRangeInput-1bhPGG2s.js} +2 -2
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Bs1JmcIp.js → DateTimeInput-SnPdgk6P.js} +3 -3
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-B0gogrvG.js → DropdownMenu-UJGych6v.js} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Bhlqgsg4.js → EmptyState-CUJdTYKV.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CmAfOpkA.js → FileInput-BQiwE-GB.js} +2 -2
- package/dist/Icon/index.d.ts +3 -0
- package/dist/Icon/index.js +2 -0
- package/dist/{Icon-5MdZQ18k.js → Icon-Dfr4k6-S.js} +1 -1
- package/dist/Lightbox/index.d.ts +2 -0
- package/dist/Lightbox/index.js +2 -0
- package/dist/Lightbox-CshKoB0r.js +384 -0
- package/dist/Link/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-CwtLr3f_.js → Markdown-D-Ua055V.js} +2 -2
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DlXQTLog.js → MetadataList-sYph_d8Q.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-CgQamG6E.js → MobileNavToggle-DD9D01aj.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BXL6Dqsu.js → MoreMenu-BVrK5kkk.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DT8ZccMI.js → MultiSelector-DiYov9sF.js} +2 -2
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +1 -1
- package/dist/{NavMenuItem-mzNQESpB.js → NavMenuItem-B-k7olt5.js} +2 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DspJO6z6.js → NumberInput-CTYiQxHq.js} +1 -1
- package/dist/Outline/index.d.ts +2 -0
- package/dist/Outline/index.js +2 -0
- package/dist/Outline-DQfEBxlc.js +325 -0
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-zXg3g6fy.js → OverflowList-BU5VCntl.js} +2 -2
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DXfgMUKJ.js → Pagination-HdhtykeF.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- 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-BuGKvU9I.js → Resizable-BhSMfO5B.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DlZpQh42.js → Selector-Da-2BO3q.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-Cdrigq2A.js → SideNav-B-Om6Bz3.js} +2 -2
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DxmLfh8O.js → Stepper-BZ_8SEZt.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-C411uNQU.js → TabList-Cnc2Hs1H.js} +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-7qRmlIQd.js → Table-D-LhAy_J.js} +4 -4
- package/dist/Text/index.d.ts +3 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CKd7e3gK.js → Text-BHVghsWo.js} +12 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +2 -0
- package/dist/Theme/index.js +2 -0
- package/dist/Theme-BuUiiJNr.js +429 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BWVzLLyI.js → Thumbnail-Dc1UpykG.js} +2 -2
- package/dist/{TimeField-l3QzU6vC.js → TimeField-C7t9Knq9.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-OkgX-xbQ.js → TimeInput-BXxCOY98.js} +1 -1
- package/dist/Timer/index.d.ts +2 -0
- package/dist/Timer/index.js +2 -0
- package/dist/Timer-B7GV6hqd.js +134 -0
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DUoP9ari.js → Timestamp-DlZSmgCJ.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-C4KD0fZD.js → Token-wt4e80IM.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-BA8sTMPZ.js → Tokenizer-nmTqdS9n.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-CZokS7E_.js → TopNav-notp-mJx.js} +4 -4
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CIbAGOMf.js → TreeList-s1xBQ0qq.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-DIw-K4aa.js → Typeahead-VAuiCurV.js} +2 -2
- package/dist/{context-D6ECRdc5.js → context-Dbo22sck.js} +54 -0
- package/dist/context-O2Vb8cJl.js +57 -0
- package/dist/index-1AZ4KZhg.d.ts +96 -0
- package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
- package/dist/index-BMrggCw-.d.ts +52 -0
- package/dist/index-Bainr_3n.d.ts +31 -0
- package/dist/{index-DXDGk38y.d.ts → index-Bn_odHQ9.d.ts} +1 -1
- package/dist/{index-C6RecznD.d.ts → index-BtPZKO20.d.ts} +2 -2
- package/dist/{index-CjtAH60j.d.ts → index-Bu0Zd1uw.d.ts} +1 -1
- package/dist/{index-CX97hlld.d.ts → index-C59PdX9L.d.ts} +2 -19
- package/dist/{index-Df2YvC8o.d.ts → index-C6iJwTL0.d.ts} +38 -31
- package/dist/{index-B4OOtNP8.d.ts → index-C7mxUcDR.d.ts} +2 -2
- package/dist/index-CRizexSC.d.ts +147 -0
- package/dist/index-Cm_TiLXU.d.ts +22 -0
- package/dist/index-Cn-sSds-.d.ts +68 -0
- package/dist/index-CsVS37na.d.ts +81 -0
- package/dist/{index-CT8KEpec.d.ts → index-D0TlUOtG.d.ts} +1 -1
- package/dist/{index-DGNqi2za.d.ts → index-DOUEn7V0.d.ts} +3 -3
- package/dist/{index-DYChvBOM.d.ts → index-DoFCm2Q2.d.ts} +29 -0
- package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
- package/dist/{index-ZJyk8RtQ.d.ts → index-DtjAdYEc.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-2u4l3wq8.d.ts → index-NzLDrOkk.d.ts} +1 -1
- package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
- package/dist/index.d.ts +71 -62
- package/dist/index.js +100 -92
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +38 -0
- package/dist/syntaxTheme-ClpWALZX.js +75 -0
- package/dist/types-Bt-lSgYX.d.ts +65 -0
- package/dist/types-DZoEm_DG.d.ts +97 -0
- package/package.json +25 -1
- package/styles/carousel.css +120 -0
- package/styles/heading.css +6 -2
- package/styles/lightbox.css +144 -0
- package/styles/media-theme.css +51 -0
- package/styles/outline.css +124 -0
- package/styles/text.css +63 -14
- package/styles/theme.css +29 -0
- package/styles/timer.css +34 -0
- package/styles.css +6 -0
- package/dist/index-BzqRns96.d.ts +0 -64
- package/dist/{index-4FM5lQdV.d.ts → index-BUXNRekN.d.ts} +1 -1
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-nmTqdS9n.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
2
2
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
3
|
-
import { a as useAstryxMessages } from "./context-
|
|
3
|
+
import { a as useAstryxMessages } from "./context-Dbo22sck.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./Field-8zRxzDHE.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./Token-
|
|
5
|
+
import { t as _sfc_main$2 } from "./Token-wt4e80IM.js";
|
|
6
6
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
|
|
7
7
|
import { n as _sfc_main$3, t as useTypeaheadMenu } from "./useTypeaheadMenu-Ba7XpcZl.js";
|
|
8
8
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-
|
|
1
|
+
import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-C6iJwTL0.js";
|
|
2
2
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-
|
|
1
|
+
import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-C6iJwTL0.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-notp-mJx.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
2
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
3
3
|
import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
|
|
4
|
-
import { a as useAstryxMessages } from "./context-
|
|
5
|
-
import { n as _sfc_main$8, r as mobileNavKey, t as _sfc_main$7 } from "./MobileNavToggle-
|
|
6
|
-
import { t as _sfc_main$9 } from "./Icon-
|
|
4
|
+
import { a as useAstryxMessages } from "./context-Dbo22sck.js";
|
|
5
|
+
import { n as _sfc_main$8, r as mobileNavKey, t as _sfc_main$7 } from "./MobileNavToggle-DD9D01aj.js";
|
|
6
|
+
import { t as _sfc_main$9 } from "./Icon-Dfr4k6-S.js";
|
|
7
7
|
import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
|
|
8
8
|
import { t as _sfc_main$10 } from "./NavItem-FFOisITc.js";
|
|
9
9
|
import { n as navMenuCloseKey, t as _sfc_main$11 } from "./NavDisclosure-DHrSNRDR.js";
|
|
10
|
-
import { n as _sfc_main$13, t as _sfc_main$12 } from "./NavMenuItem-
|
|
10
|
+
import { n as _sfc_main$13, t as _sfc_main$12 } from "./NavMenuItem-B-k7olt5.js";
|
|
11
11
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
12
12
|
import "../styles/top-nav.css";
|
|
13
13
|
//#region src/TopNav/TopNav.vue
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-s1xBQ0qq.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as useAstryxMessages } from "./context-
|
|
1
|
+
import { a as useAstryxMessages } from "./context-Dbo22sck.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./Badge-Ba0EwsTj.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as isIconGlyph, t as _sfc_main$3 } from "./Icon-Dfr4k6-S.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, useId, vShow, withCtx, withDirectives } from "vue";
|
|
5
5
|
import "../styles/tree-list.css";
|
|
6
6
|
//#region src/TreeList/TreeListItem.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TypeaheadSlots, i as TypeaheadSize, n as TypeaheadEmits, o as TypeaheadStatus, r as TypeaheadProps, t as _default } from "../index-
|
|
1
|
+
import { a as TypeaheadSlots, i as TypeaheadSize, n as TypeaheadEmits, o as TypeaheadStatus, r as TypeaheadProps, t as _default } from "../index-jdjcb3Js.js";
|
|
2
2
|
export { _default as Typeahead, type TypeaheadEmits, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Typeahead-
|
|
1
|
+
import { t as _sfc_main } from "../Typeahead-VAuiCurV.js";
|
|
2
2
|
export { _sfc_main as Typeahead };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as useAstryxMessages } from "./context-
|
|
1
|
+
import { a as useAstryxMessages } from "./context-Dbo22sck.js";
|
|
2
2
|
import { t as _sfc_main$1 } from "./Spinner-9cYUCnDy.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./Field-8zRxzDHE.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./Token-
|
|
4
|
+
import { t as _sfc_main$3 } from "./Token-wt4e80IM.js";
|
|
5
5
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
|
|
6
6
|
import { n as _sfc_main$4, t as useTypeaheadMenu } from "./useTypeaheadMenu-Ba7XpcZl.js";
|
|
7
7
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
@@ -13,6 +13,22 @@ const calendarMessages = {
|
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
|
+
//#region src/locale/messages/carousel.ts
|
|
17
|
+
const carouselMessages = {
|
|
18
|
+
"en": {
|
|
19
|
+
label: "Carousel",
|
|
20
|
+
scrollLeft: "Scroll left",
|
|
21
|
+
scrollRight: "Scroll right",
|
|
22
|
+
slide: (current, total) => `Slide ${current} of ${total}`
|
|
23
|
+
},
|
|
24
|
+
"zh-CN": {
|
|
25
|
+
label: "轮播",
|
|
26
|
+
scrollLeft: "向左滚动",
|
|
27
|
+
scrollRight: "向右滚动",
|
|
28
|
+
slide: (current, total) => `第 ${current} 张幻灯片,共 ${total} 张`
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
16
32
|
//#region src/locale/messages/chat.ts
|
|
17
33
|
const chatMessages = {
|
|
18
34
|
"en": {
|
|
@@ -196,6 +212,32 @@ const layoutMessages = {
|
|
|
196
212
|
}
|
|
197
213
|
};
|
|
198
214
|
//#endregion
|
|
215
|
+
//#region src/locale/messages/lightbox.ts
|
|
216
|
+
const lightboxMessages = {
|
|
217
|
+
"en": {
|
|
218
|
+
close: "Close",
|
|
219
|
+
previous: "Previous",
|
|
220
|
+
next: "Next",
|
|
221
|
+
mediaViewer: "Media viewer",
|
|
222
|
+
zoom: "Zoom",
|
|
223
|
+
zoomedIn: "Zoomed in, use arrow keys to pan",
|
|
224
|
+
zoomedOut: "Zoomed out",
|
|
225
|
+
imagePosition: (index, total) => `Image ${index} of ${total}`,
|
|
226
|
+
mediaPosition: (alt, index, total) => `${alt}, ${index} of ${total}`
|
|
227
|
+
},
|
|
228
|
+
"zh-CN": {
|
|
229
|
+
close: "关闭",
|
|
230
|
+
previous: "上一个",
|
|
231
|
+
next: "下一个",
|
|
232
|
+
mediaViewer: "媒体查看器",
|
|
233
|
+
zoom: "缩放",
|
|
234
|
+
zoomedIn: "已放大,使用箭头键平移",
|
|
235
|
+
zoomedOut: "已缩小",
|
|
236
|
+
imagePosition: (index, total) => `第 ${index} 张图片,共 ${total} 张`,
|
|
237
|
+
mediaPosition: (alt, index, total) => `${alt},第 ${index} 项,共 ${total} 项`
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
//#endregion
|
|
199
241
|
//#region src/locale/messages/markdown.ts
|
|
200
242
|
const markdownMessages = {
|
|
201
243
|
"en": {
|
|
@@ -292,6 +334,12 @@ const numberInputMessages = {
|
|
|
292
334
|
}
|
|
293
335
|
};
|
|
294
336
|
//#endregion
|
|
337
|
+
//#region src/locale/messages/outline.ts
|
|
338
|
+
const outlineMessages = {
|
|
339
|
+
"en": { label: "Table of contents" },
|
|
340
|
+
"zh-CN": { label: "目录" }
|
|
341
|
+
};
|
|
342
|
+
//#endregion
|
|
295
343
|
//#region src/locale/messages/pagination.ts
|
|
296
344
|
const paginationMessages = {
|
|
297
345
|
"en": {
|
|
@@ -520,6 +568,7 @@ const typeaheadMessages = {
|
|
|
520
568
|
const astryxMessages = {
|
|
521
569
|
"en": {
|
|
522
570
|
calendar: calendarMessages.en,
|
|
571
|
+
carousel: carouselMessages.en,
|
|
523
572
|
chat: chatMessages.en,
|
|
524
573
|
citation: citationMessages.en,
|
|
525
574
|
commandPalette: commandPaletteMessages.en,
|
|
@@ -528,11 +577,13 @@ const astryxMessages = {
|
|
|
528
577
|
dateTimeInput: dateTimeInputMessages.en,
|
|
529
578
|
fileInput: fileInputMessages.en,
|
|
530
579
|
layout: layoutMessages.en,
|
|
580
|
+
lightbox: lightboxMessages.en,
|
|
531
581
|
markdown: markdownMessages.en,
|
|
532
582
|
metadataList: metadataListMessages.en,
|
|
533
583
|
multiSelector: multiSelectorMessages.en,
|
|
534
584
|
nav: navMessages.en,
|
|
535
585
|
numberInput: numberInputMessages.en,
|
|
586
|
+
outline: outlineMessages.en,
|
|
536
587
|
pagination: paginationMessages.en,
|
|
537
588
|
selector: selectorMessages.en,
|
|
538
589
|
stepper: stepperMessages.en,
|
|
@@ -547,6 +598,7 @@ const astryxMessages = {
|
|
|
547
598
|
},
|
|
548
599
|
"zh-CN": {
|
|
549
600
|
calendar: calendarMessages["zh-CN"],
|
|
601
|
+
carousel: carouselMessages["zh-CN"],
|
|
550
602
|
chat: chatMessages["zh-CN"],
|
|
551
603
|
citation: citationMessages["zh-CN"],
|
|
552
604
|
commandPalette: commandPaletteMessages["zh-CN"],
|
|
@@ -555,11 +607,13 @@ const astryxMessages = {
|
|
|
555
607
|
dateTimeInput: dateTimeInputMessages["zh-CN"],
|
|
556
608
|
fileInput: fileInputMessages["zh-CN"],
|
|
557
609
|
layout: layoutMessages["zh-CN"],
|
|
610
|
+
lightbox: lightboxMessages["zh-CN"],
|
|
558
611
|
markdown: markdownMessages["zh-CN"],
|
|
559
612
|
metadataList: metadataListMessages["zh-CN"],
|
|
560
613
|
multiSelector: multiSelectorMessages["zh-CN"],
|
|
561
614
|
nav: navMessages["zh-CN"],
|
|
562
615
|
numberInput: numberInputMessages["zh-CN"],
|
|
616
|
+
outline: outlineMessages["zh-CN"],
|
|
563
617
|
pagination: paginationMessages["zh-CN"],
|
|
564
618
|
selector: selectorMessages["zh-CN"],
|
|
565
619
|
stepper: stepperMessages["zh-CN"],
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
//#region src/Code/syntaxContext.ts
|
|
2
|
+
const syntaxThemeKey = Symbol("astryx-syntax-theme");
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/Theme/colorMode.ts
|
|
5
|
+
/**
|
|
6
|
+
* Split `light-dark(light, dark)` at the top-level comma.
|
|
7
|
+
* Nested functions such as `rgb()` keep their own commas.
|
|
8
|
+
*/
|
|
9
|
+
function splitLightDark(value) {
|
|
10
|
+
const trimmed = value.trim();
|
|
11
|
+
if (!trimmed.startsWith("light-dark(") || !trimmed.endsWith(")")) return null;
|
|
12
|
+
const body = trimmed.slice(11, -1);
|
|
13
|
+
let depth = 0;
|
|
14
|
+
for (let index = 0; index < body.length; index += 1) {
|
|
15
|
+
const char = body[index];
|
|
16
|
+
if (char === "(") depth += 1;
|
|
17
|
+
else if (char === ")") depth -= 1;
|
|
18
|
+
else if (char === "," && depth === 0) {
|
|
19
|
+
const light = body.slice(0, index).trim();
|
|
20
|
+
const dark = body.slice(index + 1).trim();
|
|
21
|
+
return light && dark ? [light, dark] : null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Pick the stop `light-dark()` would use for the effective mode.
|
|
28
|
+
* A value that is not `light-dark()` is returned unchanged.
|
|
29
|
+
*/
|
|
30
|
+
function resolveLightDark(value, mode) {
|
|
31
|
+
const parts = splitLightDark(value);
|
|
32
|
+
if (!parts) return value.trim();
|
|
33
|
+
return mode === "dark" ? parts[1] : parts[0];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The mode `light-dark()` is using on the page.
|
|
37
|
+
*
|
|
38
|
+
* An explicit theme mode is handled by the caller. This reads the document
|
|
39
|
+
* attribute, the docs site's `dark` class, then the OS preference that was
|
|
40
|
+
* already measured.
|
|
41
|
+
*/
|
|
42
|
+
function readColorMode(prefersDark) {
|
|
43
|
+
if (typeof document !== "undefined") {
|
|
44
|
+
const attr = document.documentElement.getAttribute("data-astryx-color-mode");
|
|
45
|
+
if (attr === "light" || attr === "dark") return attr;
|
|
46
|
+
if (document.documentElement.classList.contains("dark")) return "dark";
|
|
47
|
+
}
|
|
48
|
+
return prefersDark ? "dark" : "light";
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/Theme/context.ts
|
|
52
|
+
const themeContextKey = Symbol("astryx-theme");
|
|
53
|
+
/** Present when this component is already inside a Theme. */
|
|
54
|
+
const themeNestingKey = Symbol("astryx-theme-nesting");
|
|
55
|
+
const mediaThemeKey = Symbol("astryx-media-theme");
|
|
56
|
+
//#endregion
|
|
57
|
+
export { resolveLightDark as a, readColorMode as i, themeContextKey as n, syntaxThemeKey as o, themeNestingKey as r, mediaThemeKey as t };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from "vue";
|
|
2
|
+
//#region src/Lightbox/types.d.ts
|
|
3
|
+
type LightboxMediaType = 'image' | 'video';
|
|
4
|
+
interface LightboxMedia {
|
|
5
|
+
src: string;
|
|
6
|
+
alt: string;
|
|
7
|
+
caption?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Zoom and pan are only available for images.
|
|
10
|
+
* @default 'image'
|
|
11
|
+
*/
|
|
12
|
+
type?: LightboxMediaType;
|
|
13
|
+
}
|
|
14
|
+
interface LightboxProps {
|
|
15
|
+
/** Whether the lightbox is open. Bind with `v-model:is-open`. */
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* One item, or a gallery. An array shows previous, next, and a counter.
|
|
19
|
+
*/
|
|
20
|
+
media: LightboxMedia | readonly LightboxMedia[];
|
|
21
|
+
/**
|
|
22
|
+
* Controlled gallery index. Bind with `v-model:index`.
|
|
23
|
+
*/
|
|
24
|
+
index?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Initial index when `index` is omitted.
|
|
27
|
+
* @default 0
|
|
28
|
+
*/
|
|
29
|
+
defaultIndex?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Double-click, Enter, Space, `+`, and `-` zoom images. Arrow keys pan while zoomed.
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
hasZoom?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Start video playback when a video item is shown.
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
hasAutoPlay?: boolean;
|
|
40
|
+
}
|
|
41
|
+
interface LightboxEmits {
|
|
42
|
+
'update:isOpen': [isOpen: boolean];
|
|
43
|
+
'update:index': [index: number];
|
|
44
|
+
}
|
|
45
|
+
interface UseLightboxOptions {
|
|
46
|
+
media: LightboxMedia | readonly LightboxMedia[];
|
|
47
|
+
hasZoom?: boolean;
|
|
48
|
+
hasAutoPlay?: boolean;
|
|
49
|
+
}
|
|
50
|
+
interface LightboxTriggerProps {
|
|
51
|
+
'role': 'button';
|
|
52
|
+
'tabindex': 0;
|
|
53
|
+
'aria-haspopup': 'dialog';
|
|
54
|
+
'onClick': () => void;
|
|
55
|
+
'onKeydown': (event: KeyboardEvent) => void;
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/Lightbox/Lightbox.vue.d.ts
|
|
59
|
+
declare const __VLS_export: import("vue").DefineComponent<LightboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
|
+
"update:isOpen": (isOpen: boolean) => any;
|
|
61
|
+
"update:index": (index: number) => any;
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<LightboxProps> & Readonly<{
|
|
63
|
+
"onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
|
|
64
|
+
"onUpdate:index"?: ((index: number) => any) | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
defaultIndex: number;
|
|
67
|
+
hasZoom: boolean;
|
|
68
|
+
hasAutoPlay: boolean;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/Lightbox/useLightbox.d.ts
|
|
73
|
+
interface LightboxBindings {
|
|
74
|
+
'hasAutoPlay': boolean | undefined;
|
|
75
|
+
'hasZoom': boolean | undefined;
|
|
76
|
+
'index': number;
|
|
77
|
+
'isOpen': boolean;
|
|
78
|
+
'media': LightboxMedia | readonly LightboxMedia[];
|
|
79
|
+
'onUpdate:index': (next: number) => void;
|
|
80
|
+
'onUpdate:isOpen': (next: boolean) => void;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Owns the open state and gallery index for a `Lightbox`.
|
|
84
|
+
* Bind `bindings` onto `Lightbox`, and call `open(index)` from a thumbnail.
|
|
85
|
+
*/
|
|
86
|
+
declare function useLightbox(options: UseLightboxOptions): {
|
|
87
|
+
bindings: ComputedRef<LightboxBindings>;
|
|
88
|
+
close: () => void;
|
|
89
|
+
getTriggerProps: (next: number) => LightboxTriggerProps;
|
|
90
|
+
index: Ref<number>;
|
|
91
|
+
isOpen: Ref<boolean>;
|
|
92
|
+
open: (next?: number) => void;
|
|
93
|
+
triggerProps: ComputedRef<LightboxTriggerProps>;
|
|
94
|
+
};
|
|
95
|
+
//#endregion
|
|
96
|
+
export { LightboxMediaType as a, UseLightboxOptions as c, LightboxMedia as i, _default as n, LightboxProps as o, LightboxEmits as r, LightboxTriggerProps as s, useLightbox as t };
|
|
@@ -72,8 +72,8 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
72
72
|
//#region src/Tokenizer/Tokenizer.vue.d.ts
|
|
73
73
|
declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
74
74
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
75
|
-
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
76
75
|
onSearch?: ((query: string) => any) | undefined;
|
|
76
|
+
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
77
77
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
78
78
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
79
79
|
}> & (typeof globalThis extends {
|
|
@@ -85,7 +85,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
85
85
|
}>) => void;
|
|
86
86
|
attrs: any;
|
|
87
87
|
slots: TokenizerSlots<T>;
|
|
88
|
-
emit: ((evt: "
|
|
88
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "openChange", isOpen: boolean) => void);
|
|
89
89
|
}>) => import("vue").VNode & {
|
|
90
90
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
91
91
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { a as TextSize, n as TextColor, o as TextType, s as TextWeight } from "./types-Bt-lSgYX.js";
|
|
2
|
+
//#region src/Timer/format.d.ts
|
|
3
|
+
type TimerFormat = 'elapsed' | 'clock';
|
|
4
|
+
interface TimerPresentation {
|
|
5
|
+
dateTime: string;
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
declare function getPresentation(elapsedMilliseconds: number, format: TimerFormat): TimerPresentation;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/Timer/types.d.ts
|
|
11
|
+
/** Timer can inherit the surrounding type, which Text itself does not offer. */
|
|
12
|
+
type TimerType = TextType | 'inherit';
|
|
13
|
+
type TimerColor = TextColor | 'disabled';
|
|
14
|
+
interface TimerProps {
|
|
15
|
+
/**
|
|
16
|
+
* Unix time in milliseconds when the measured operation began.
|
|
17
|
+
* Omit it to start counting from this Timer's mount.
|
|
18
|
+
*/
|
|
19
|
+
startTime?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Standard duration representation.
|
|
22
|
+
* `elapsed` uses compact units and drops seconds after one hour.
|
|
23
|
+
* `clock` stays second-precise (`m:ss` or `h:mm:ss`).
|
|
24
|
+
* @default 'elapsed'
|
|
25
|
+
*/
|
|
26
|
+
format?: 'elapsed' | 'clock';
|
|
27
|
+
/**
|
|
28
|
+
* Semantic text type. Matches Timestamp typography.
|
|
29
|
+
* `inherit` takes the surrounding font instead of a text type.
|
|
30
|
+
* @default 'supporting'
|
|
31
|
+
*/
|
|
32
|
+
type?: TimerType;
|
|
33
|
+
/** Explicit font size. Overrides the size that comes from `type`. */
|
|
34
|
+
size?: TextSize;
|
|
35
|
+
/**
|
|
36
|
+
* Text color.
|
|
37
|
+
* @default 'secondary'
|
|
38
|
+
*/
|
|
39
|
+
color?: TimerColor;
|
|
40
|
+
/** Font weight override. */
|
|
41
|
+
weight?: TextWeight;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/Timer/Timer.vue.d.ts
|
|
45
|
+
declare const __VLS_export: import("vue").DefineComponent<TimerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimerProps> & Readonly<{}>, {
|
|
46
|
+
type: TimerType;
|
|
47
|
+
color: TimerColor;
|
|
48
|
+
format: "clock" | "elapsed";
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { TimerFormat as a, TimerType as i, TimerColor as n, TimerPresentation as o, TimerProps as r, getPresentation as s, _default as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "./types-DZoEm_DG.js";
|
|
2
|
+
//#region src/Icon/glyphs.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* A name that resolves to built-in artwork: one of the semantic names the
|
|
5
|
+
* components use, or a namespaced key such as `owner:key` that a component
|
|
6
|
+
* owns.
|
|
7
|
+
*/
|
|
8
|
+
type IconGlyphName = IconName | `${string}:${string}`;
|
|
9
|
+
/**
|
|
10
|
+
* The artwork kept for the components' own chrome. Applications bring their own
|
|
11
|
+
* icons; this list only has to cover what astryx-vue draws itself.
|
|
12
|
+
*/
|
|
13
|
+
declare const ICON_GLYPHS: readonly ["chevronDown", "chevronLeft", "chevronRight", "check", "moreHorizontal", "copy", "calendar", "clock", "upload", "arrowUp", "arrowDown", "close", "funnel", "image"];
|
|
14
|
+
declare function isIconGlyph(value: string): value is IconGlyphName;
|
|
15
|
+
/** The CSS-safe form of a name, used as the `astryx-icon--<slug>` class. */
|
|
16
|
+
declare function iconGlyphSlug(name: IconGlyphName): string;
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/Icon/Icon.vue.d.ts
|
|
19
|
+
type __VLS_Slots = IconSlots;
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<IconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IconProps> & Readonly<{}>, {
|
|
21
|
+
color: IconColor;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { isIconGlyph as a, iconGlyphSlug as i, ICON_GLYPHS as n, IconGlyphName as r, _default as t };
|
|
@@ -49,9 +49,9 @@ declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {
|
|
|
49
49
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
isDisabled: boolean;
|
|
52
|
-
color: LinkColor;
|
|
53
52
|
isExternalLink: boolean;
|
|
54
53
|
hasUnderline: boolean;
|
|
54
|
+
color: LinkColor;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
56
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
57
|
declare const _default: typeof __VLS_export;
|
|
@@ -62,12 +62,12 @@ interface SelectorSlots {
|
|
|
62
62
|
//#region src/Selector/Selector.vue.d.ts
|
|
63
63
|
type __VLS_Slots = SelectorSlots;
|
|
64
64
|
declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
-
change: (value: string | number | null) => any;
|
|
66
65
|
search: (query: string) => any;
|
|
66
|
+
change: (value: string | number | null) => any;
|
|
67
67
|
"update:modelValue": (value: string | number | null) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
|
|
69
|
-
onChange?: ((value: string | number | null) => any) | undefined;
|
|
70
69
|
onSearch?: ((query: string) => any) | undefined;
|
|
70
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
71
71
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
size: SelectorSize;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
18
18
|
isOpen: boolean;
|
|
19
19
|
placement: LayerPlacement;
|
|
20
20
|
alignment: LayerAlignment;
|
|
21
|
-
hasAutoFocus: boolean;
|
|
22
21
|
isEnabled: boolean;
|
|
22
|
+
hasAutoFocus: boolean;
|
|
23
23
|
role: PopoverRole;
|
|
24
24
|
isModal: boolean;
|
|
25
25
|
hasCloseButton: boolean;
|
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
import { s as ButtonSize } from "./types-WlmsNL1I.js";
|
|
2
2
|
import { l as FieldStatusVariant, o as FieldStatusInput } from "./types-3eXh_5os.js";
|
|
3
|
+
import { t as ExtendedIconName } from "./types-DZoEm_DG.js";
|
|
3
4
|
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-Db3Owy8Q.js";
|
|
4
|
-
import { Component, Ref, VNode
|
|
5
|
-
//#region src/Icon/types.d.ts
|
|
6
|
-
/**
|
|
7
|
-
* The semantic names of the artwork astryx-vue keeps for its own chrome.
|
|
8
|
-
*
|
|
9
|
-
* A name describes what the icon is for, not one particular drawing, so a theme
|
|
10
|
-
* can replace the artwork with one declaration. Applications never pass these
|
|
11
|
-
* names: the artwork is a library implementation detail, and a `icon` prop or
|
|
12
|
-
* slot takes a CSS icon class or the application's own component instead.
|
|
13
|
-
*/
|
|
14
|
-
type IconName = 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'check' | 'moreHorizontal' | 'copy' | 'calendar' | 'clock' | 'upload' | 'arrowUp' | 'arrowDown' | 'close' | 'funnel' | 'image';
|
|
15
|
-
/**
|
|
16
|
-
* A built-in name, or any other string.
|
|
17
|
-
*
|
|
18
|
-
* The `(string & {})` intersection keeps the built-in names available for
|
|
19
|
-
* autocomplete while allowing keys contributed by a component or application.
|
|
20
|
-
*/
|
|
21
|
-
type ExtendedIconName = IconName | (string & {});
|
|
22
|
-
//#endregion
|
|
5
|
+
import { Component, Ref, VNode } from "vue";
|
|
23
6
|
//#region src/ComplexSelector/types.d.ts
|
|
24
7
|
interface ComplexSelectorState {
|
|
25
8
|
isOpen: boolean;
|