@astryx-vue/core 0.1.1 → 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.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-EiGyPFbA.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-BEyrkUtr.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-CO3mCs9A.js → Chat-DjNxw5gv.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 +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BL2sDOWK.js → CheckboxList-EsIEXjK_.js} +2 -2
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BqwJvw7o.js → Citation-DijdbUUu.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.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.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-9MC08X39.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-BD2iODF5.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-D9iXd5cH.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- 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-BOIb0zAp.js → DateInput-DE2TN1Rq.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DLcbgUBi.js → DateRangeInput-1bhPGG2s.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-RitYX_Yx.js → DateTimeInput-SnPdgk6P.js} +4 -4
- 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/Field/index.js +2 -2
- package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
- package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CYvEV503.js → FileInput-BQiwE-GB.js} +3 -3
- 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/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/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/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/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Dnlp8cVx.js → Markdown-D-Ua055V.js} +2 -2
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DIsqS1Qb.js → MetadataList-sYph_d8Q.js} +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-aUZiDwHm.js → MobileNavToggle-DD9D01aj.js} +19 -12
- 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-Bh8or2S6.js → MultiSelector-DiYov9sF.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- 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-C3S-4dIu.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-Kr4iJrNV.js → OverflowList-BU5VCntl.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BRStpeSB.js → Pagination-HdhtykeF.js} +2 -2
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DS6oTV_j.js → RadioGroup-BqjdSCfJ.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-pwr93I-z.js → RadioList-DI8ujXcT.js} +1 -1
- package/dist/Resizable/index.d.ts +2 -0
- package/dist/Resizable/index.js +2 -0
- package/dist/Resizable-BhSMfO5B.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/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-DvEUIVEC.js → Selector-Da-2BO3q.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-B7LX4RcP.js → SideNav-B-Om6Bz3.js} +49 -27
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
- package/dist/Stepper/index.d.ts +2 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Stepper-BZ_8SEZt.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-Cnc2Hs1H.js +380 -0
- package/dist/Table/index.d.ts +2 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D5zWaITo.js → Table-D-LhAy_J.js} +6 -6
- 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/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/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-DMOgWncm.js → Thumbnail-Dc1UpykG.js} +2 -2
- package/dist/{TimeField-DeQ1ukHl.js → TimeField-C7t9Knq9.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-jb1nLqZk.js → TimeInput-BXxCOY98.js} +2 -2
- 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-DrWwVQBL.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-CV2J94bn.js → Token-wt4e80IM.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DF9r4hTW.js → Tokenizer-nmTqdS9n.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-BH_s3uap.js → TopNav-notp-mJx.js} +58 -32
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-D9cR-w7r.js → TreeList-s1xBQ0qq.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-s4DC1Qem.js → Typeahead-VAuiCurV.js} +3 -3
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +5 -2
- package/dist/composables-CVfjp9h4.js +502 -0
- package/dist/context-BjNya0v8.js +19 -0
- package/dist/context-Cfjh8te1.js +29 -0
- package/dist/{context-BshXcNYX.js → context-Dbo22sck.js} +138 -0
- package/dist/context-O2Vb8cJl.js +57 -0
- package/dist/index-1AZ4KZhg.d.ts +96 -0
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
- package/dist/index-BMrggCw-.d.ts +52 -0
- package/dist/{index-BlWLperN.d.ts → index-BUXNRekN.d.ts} +2 -2
- package/dist/index-Bainr_3n.d.ts +31 -0
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/{index-DXDGk38y.d.ts → index-Bn_odHQ9.d.ts} +1 -1
- package/dist/index-BrJzFA5X.d.ts +38 -0
- package/dist/{index-AkMWQ97a.d.ts → index-BtPZKO20.d.ts} +3 -3
- package/dist/index-Bu0Zd1uw.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-C59PdX9L.d.ts +141 -0
- package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-CQ9F1f_F.d.ts → index-C6iJwTL0.d.ts} +324 -145
- package/dist/{index-B4OOtNP8.d.ts → index-C7mxUcDR.d.ts} +2 -2
- 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-CRizexSC.d.ts +147 -0
- package/dist/{index-Bc0dgVM5.d.ts → index-CTolyeii.d.ts} +4 -4
- package/dist/index-CVn0GBdB.d.ts +115 -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-5R_pi3eT.d.ts → index-D-ZuubCK.d.ts} +3 -3
- package/dist/{index-g03bmR4K.d.ts → index-D0TlUOtG.d.ts} +2 -2
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-D3V7yRUP.d.ts → index-DOUEn7V0.d.ts} +4 -4
- package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
- package/dist/{index-CR6sUmRT.d.ts → index-DXSs3rwa.d.ts} +3 -107
- package/dist/{index--dh0s8Li.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-CNcQmDrK.d.ts → index-DoFCm2Q2.d.ts} +71 -0
- package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
- package/dist/{index-12ObcW99.d.ts → index-DtjAdYEc.d.ts} +2 -2
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-CsJpQElv.d.ts → index-NzLDrOkk.d.ts} +2 -2
- package/dist/{index-BnNh5Iml.d.ts → index-SMh42NI8.d.ts} +99 -2
- package/dist/{index-Q4gqBSIZ.d.ts → index-fa72tWIU.d.ts} +1 -1
- package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
- package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
- package/dist/index-nKlTsNfV.d.ts +42 -0
- package/dist/index.d.ts +84 -63
- package/dist/index.js +118 -91
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/size-BuTzpgnR.d.ts +14 -0
- package/dist/size-xcIqExkS.js +79 -0
- 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/dist/{index-Bovw9_8d.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/useResizable-CeESZS1v.d.ts +72 -0
- package/dist/useScrollableArea-DDk_CluT.js +172 -0
- package/package.json +73 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/card.css +5 -1
- package/styles/carousel.css +120 -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/field.css +12 -0
- package/styles/form-layout.css +31 -0
- package/styles/heading.css +25 -19
- package/styles/layout.css +280 -0
- package/styles/lightbox.css +144 -0
- package/styles/media-theme.css +51 -0
- package/styles/outline.css +124 -0
- package/styles/resize-handle.css +128 -0
- package/styles/scrollable-area.css +50 -0
- package/styles/section.css +60 -0
- package/styles/side-nav.css +26 -0
- package/styles/stepper.css +357 -0
- package/styles/tab-menu.css +91 -0
- package/styles/text.css +63 -14
- package/styles/theme.css +29 -0
- package/styles/timer.css +34 -0
- package/styles.css +18 -0
- package/dist/Collapsible-BYg9soTk.js +0 -102
- package/dist/TabList-LV1U4ZD6.js +0 -184
- package/dist/composables-Dq9RS33w.js +0 -111
- package/dist/index-BzqRns96.d.ts +0 -64
- package/dist/index-TnaIHsCS.d.ts +0 -87
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { n as SpacingStep } from "./types-D7QNSqoN.js";
|
|
2
|
+
import { VNode } from "vue";
|
|
3
|
+
//#region src/Carousel/types.d.ts
|
|
4
|
+
/** Gap steps the carousel actually spaces with. Padding accepts every spacing step. */
|
|
5
|
+
type CarouselGap = 0 | 0.5 | 1 | 1.5 | 2 | 3 | 4;
|
|
6
|
+
interface CarouselHandle {
|
|
7
|
+
/** Scroll forward by roughly one viewport. With `hasLoop`, wraps to the start at the end. */
|
|
8
|
+
scrollNext: () => void;
|
|
9
|
+
/** Scroll backward by roughly one viewport. With `hasLoop`, wraps to the end at the start. */
|
|
10
|
+
scrollPrev: () => void;
|
|
11
|
+
/**
|
|
12
|
+
* Scroll the item at the 0-based index to the start edge.
|
|
13
|
+
* The index is clamped. Only the carousel scrolls.
|
|
14
|
+
*/
|
|
15
|
+
scrollTo: (index: number) => void;
|
|
16
|
+
/** Whether a forward scroll is available. With `hasLoop`, true whenever the content overflows. */
|
|
17
|
+
canScrollNext: () => boolean;
|
|
18
|
+
/** Whether a backward scroll is available. With `hasLoop`, true whenever the content overflows. */
|
|
19
|
+
canScrollPrev: () => boolean;
|
|
20
|
+
}
|
|
21
|
+
interface CarouselProps {
|
|
22
|
+
/**
|
|
23
|
+
* Gap between items, as a spacing step.
|
|
24
|
+
* @default 1
|
|
25
|
+
*/
|
|
26
|
+
gap?: CarouselGap;
|
|
27
|
+
/**
|
|
28
|
+
* Show previous and next buttons when the content overflows.
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
hasButtons?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Fade the edges that hide overflow, so it is obvious there is more to scroll.
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
hasEdgeFade?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Wrap from the last item back to the first, and the other way around.
|
|
39
|
+
* Buttons stay available at both edges. Has no effect when the content fits.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
hasLoop?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Snap each direct child to the start edge.
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
hasSnap?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Inline padding inside the scrollport, with matching scroll-padding so snap
|
|
50
|
+
* points line up with the content edge.
|
|
51
|
+
*/
|
|
52
|
+
padding?: SpacingStep;
|
|
53
|
+
/**
|
|
54
|
+
* Accessible name of the carousel region.
|
|
55
|
+
* @default 'Carousel' (localized)
|
|
56
|
+
*/
|
|
57
|
+
label?: string;
|
|
58
|
+
}
|
|
59
|
+
interface CarouselSlots {
|
|
60
|
+
/** Carousel items, rendered in a horizontal scrollport. */
|
|
61
|
+
default?: () => VNode[];
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/Carousel/Carousel.vue.d.ts
|
|
65
|
+
type __VLS_Slots = CarouselSlots;
|
|
66
|
+
declare const __VLS_base: import("vue").DefineComponent<CarouselProps, CarouselHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CarouselProps> & Readonly<{}>, {
|
|
67
|
+
gap: CarouselGap;
|
|
68
|
+
hasButtons: boolean;
|
|
69
|
+
hasEdgeFade: boolean;
|
|
70
|
+
hasLoop: boolean;
|
|
71
|
+
hasSnap: boolean;
|
|
72
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
73
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
74
|
+
declare const _default: typeof __VLS_export;
|
|
75
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
76
|
+
new (): {
|
|
77
|
+
$slots: S;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//#endregion
|
|
81
|
+
export { CarouselSlots as a, CarouselProps as i, CarouselGap as n, CarouselHandle as r, _default as t };
|
|
@@ -34,10 +34,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
34
34
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
35
35
|
isDisabled: boolean;
|
|
36
36
|
as: ItemElement;
|
|
37
|
-
align: ItemAlign;
|
|
38
|
-
layout: ItemLayout;
|
|
39
37
|
density: ListDensity;
|
|
40
38
|
isSelected: boolean;
|
|
39
|
+
align: ItemAlign;
|
|
40
|
+
layout: ItemLayout;
|
|
41
41
|
isHighlighted: boolean;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
@@ -53,8 +53,8 @@ type __VLS_Slots$1 = ListSlots;
|
|
|
53
53
|
declare const __VLS_base$1: import("vue").DefineComponent<ListProps, {
|
|
54
54
|
element: import("vue").ComputedRef<HTMLUListElement | HTMLOListElement | null>;
|
|
55
55
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListProps> & Readonly<{}>, {
|
|
56
|
-
start: number;
|
|
57
56
|
density: ListDensity;
|
|
57
|
+
start: number;
|
|
58
58
|
hasDividers: boolean;
|
|
59
59
|
listStyle: ListMarkerStyle;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -84,10 +84,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
84
84
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
85
85
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
86
86
|
}>, {
|
|
87
|
-
|
|
88
|
-
placement: "start" | "end" | "above" | "below";
|
|
87
|
+
placement: "above" | "below" | "start" | "end";
|
|
89
88
|
alignment: "start" | "end" | "center";
|
|
90
89
|
hideDelay: number;
|
|
90
|
+
hover: boolean;
|
|
91
91
|
showDelay: number;
|
|
92
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey, VNode } from "vue";
|
|
2
|
+
//#region src/Collapsible/types.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Logical side of the trigger label that carries the disclosure chevron.
|
|
5
|
+
*
|
|
6
|
+
* `end` is a trailing status indicator: it follows the label, points down while
|
|
7
|
+
* the content is collapsed, and flips up when it expands. `start` is a leading
|
|
8
|
+
* disclosure arrow: it sits before the label, points inward toward the content
|
|
9
|
+
* while collapsed — mirrored under RTL — and turns down when it expands.
|
|
10
|
+
*/
|
|
11
|
+
type CollapsibleChevronPosition = 'start' | 'end';
|
|
12
|
+
interface CollapsibleProps {
|
|
13
|
+
/**
|
|
14
|
+
* Plain-text trigger label.
|
|
15
|
+
*
|
|
16
|
+
* Use the `trigger` slot when the label needs markup, a heading, or
|
|
17
|
+
* additional controls; the slot replaces this prop entirely.
|
|
18
|
+
*/
|
|
19
|
+
trigger?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Open state the component starts in while `isOpen` stays unbound.
|
|
22
|
+
* @default true
|
|
23
|
+
*/
|
|
24
|
+
defaultIsOpen?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the trigger can be operated.
|
|
27
|
+
*
|
|
28
|
+
* A disabled trigger is dimmed, announces itself as disabled, and leaves the
|
|
29
|
+
* tab order. Disabling never collapses content that is already open.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
isDisabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Logical side of the trigger label that carries the disclosure chevron.
|
|
35
|
+
* @default 'end'
|
|
36
|
+
*/
|
|
37
|
+
chevronPosition?: CollapsibleChevronPosition;
|
|
38
|
+
/**
|
|
39
|
+
* Controlled open state, bound with `v-model:isOpen`. Leave it unbound to let
|
|
40
|
+
* the component own its state, starting from `defaultIsOpen`.
|
|
41
|
+
*
|
|
42
|
+
* Inside a `CollapsibleGroup`, the group owns the open state and this prop
|
|
43
|
+
* is ignored.
|
|
44
|
+
*/
|
|
45
|
+
isOpen?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Identifier used by a parent `CollapsibleGroup`. A collapsible without a
|
|
48
|
+
* `value` keeps its own open state even when it sits inside a group.
|
|
49
|
+
*/
|
|
50
|
+
value?: string;
|
|
51
|
+
}
|
|
52
|
+
interface CollapsibleEmits {
|
|
53
|
+
/**
|
|
54
|
+
* Emitted with the open state the trigger asks for. In uncontrolled usage it
|
|
55
|
+
* reports the change; in controlled usage it is the request to update the
|
|
56
|
+
* bound state.
|
|
57
|
+
*/
|
|
58
|
+
openChange: [isOpen: boolean];
|
|
59
|
+
}
|
|
60
|
+
interface CollapsibleSlots {
|
|
61
|
+
/** The content hidden while collapsed and revealed while expanded. */
|
|
62
|
+
default?: () => VNode[];
|
|
63
|
+
/** The trigger label. Replaces the `trigger` prop. */
|
|
64
|
+
trigger?: () => VNode[];
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/Collapsible/Collapsible.vue.d.ts
|
|
68
|
+
type __VLS_Props$1 = Omit<CollapsibleProps, 'isOpen'>;
|
|
69
|
+
type __VLS_Slots$1 = CollapsibleSlots;
|
|
70
|
+
type __VLS_ModelProps$1 = {
|
|
71
|
+
'isOpen'?: boolean | undefined;
|
|
72
|
+
};
|
|
73
|
+
type __VLS_PublicProps$1 = __VLS_Props$1 & __VLS_ModelProps$1;
|
|
74
|
+
declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
75
|
+
element: import("vue").ComputedRef<HTMLDivElement | null>;
|
|
76
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
|
+
openChange: (isOpen: boolean) => any;
|
|
78
|
+
"update:isOpen": (value: boolean | undefined) => any;
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
80
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
81
|
+
"onUpdate:isOpen"?: ((value: boolean | undefined) => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
isDisabled: boolean;
|
|
84
|
+
defaultIsOpen: boolean;
|
|
85
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
86
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
87
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
88
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
89
|
+
new (): {
|
|
90
|
+
$slots: S;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/Collapsible/context.d.ts
|
|
95
|
+
type CollapsibleGroupDensity = 'compact' | 'balanced' | 'spacious';
|
|
96
|
+
type CollapsibleGroupType = 'single' | 'multiple';
|
|
97
|
+
type CollapsibleGroupValue = string | string[];
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/Collapsible/groupTypes.d.ts
|
|
100
|
+
interface CollapsibleGroupProps {
|
|
101
|
+
/**
|
|
102
|
+
* `single` keeps one section open and lets a second click close it.
|
|
103
|
+
* `multiple` toggles each section on its own.
|
|
104
|
+
* @default 'single'
|
|
105
|
+
*/
|
|
106
|
+
type?: CollapsibleGroupType;
|
|
107
|
+
/**
|
|
108
|
+
* Open section when the group owns its state. A string in single mode, a
|
|
109
|
+
* list in multiple mode.
|
|
110
|
+
*/
|
|
111
|
+
defaultValue?: CollapsibleGroupValue;
|
|
112
|
+
/**
|
|
113
|
+
* Controlled open section, bound with `v-model:value`.
|
|
114
|
+
*/
|
|
115
|
+
value?: CollapsibleGroupValue;
|
|
116
|
+
/**
|
|
117
|
+
* Draw a hairline between sections and give them accordion padding.
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
hasDividers?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Trigger and content padding. With `hasDividers` and no density, the group
|
|
123
|
+
* uses `balanced`.
|
|
124
|
+
*/
|
|
125
|
+
density?: CollapsibleGroupDensity;
|
|
126
|
+
/**
|
|
127
|
+
* Chevron side for the group's sections. A section can still set its own
|
|
128
|
+
* `chevronPosition`.
|
|
129
|
+
* @default 'end'
|
|
130
|
+
*/
|
|
131
|
+
chevronPosition?: CollapsibleChevronPosition;
|
|
132
|
+
}
|
|
133
|
+
interface CollapsibleGroupEmits {
|
|
134
|
+
/**
|
|
135
|
+
* The next open value: a string in single mode (`''` when everything is
|
|
136
|
+
* closed) or a list in multiple mode.
|
|
137
|
+
*/
|
|
138
|
+
change: [value: CollapsibleGroupValue];
|
|
139
|
+
}
|
|
140
|
+
interface CollapsibleGroupSlots {
|
|
141
|
+
/** `Collapsible` sections. Give each one a `value` so the group can coordinate it. */
|
|
142
|
+
default?: () => VNode[];
|
|
143
|
+
}
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/Collapsible/CollapsibleGroup.vue.d.ts
|
|
146
|
+
type __VLS_Props = CollapsibleGroupProps;
|
|
147
|
+
type __VLS_Slots = CollapsibleGroupSlots;
|
|
148
|
+
type __VLS_ModelProps = {
|
|
149
|
+
'value'?: CollapsibleGroupValue;
|
|
150
|
+
};
|
|
151
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
152
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
153
|
+
"update:value": (value: CollapsibleGroupValue | undefined) => any;
|
|
154
|
+
change: (value: CollapsibleGroupValue) => any;
|
|
155
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
156
|
+
"onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
|
|
157
|
+
onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
|
|
158
|
+
}>, {
|
|
159
|
+
type: CollapsibleGroupType;
|
|
160
|
+
hasDividers: boolean;
|
|
161
|
+
chevronPosition: CollapsibleChevronPosition;
|
|
162
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
163
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
164
|
+
declare const _default: typeof __VLS_export;
|
|
165
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
166
|
+
new (): {
|
|
167
|
+
$slots: S;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
//#endregion
|
|
171
|
+
export { CollapsibleGroupDensity as a, _default$1 as c, CollapsibleProps as d, CollapsibleSlots as f, CollapsibleGroupSlots as i, CollapsibleChevronPosition as l, CollapsibleGroupEmits as n, CollapsibleGroupType as o, CollapsibleGroupProps as r, CollapsibleGroupValue as s, _default as t, CollapsibleEmits as u };
|
|
@@ -76,23 +76,23 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
76
76
|
focus: () => void | undefined;
|
|
77
77
|
blur: () => void | undefined;
|
|
78
78
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
|
-
change: (value: (string | number)[]) => any;
|
|
80
79
|
search: (query: string) => any;
|
|
80
|
+
change: (value: (string | number)[]) => any;
|
|
81
81
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
82
82
|
openChange: (isOpen: boolean) => any;
|
|
83
83
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
84
|
-
onChange?: ((value: (string | number)[]) => any) | undefined;
|
|
85
84
|
onSearch?: ((query: string) => any) | undefined;
|
|
85
|
+
onChange?: ((value: (string | number)[]) => any) | undefined;
|
|
86
86
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
87
87
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
89
|
size: MultiSelectorSize;
|
|
90
90
|
required: boolean;
|
|
91
91
|
variant: MultiSelectorVariant;
|
|
92
|
-
modelValue: readonly (string | number)[];
|
|
93
92
|
status: MultiSelectorStatus;
|
|
94
|
-
|
|
93
|
+
modelValue: readonly (string | number)[];
|
|
95
94
|
disabled: boolean;
|
|
95
|
+
labelHidden: boolean;
|
|
96
96
|
clearable: boolean;
|
|
97
97
|
optional: boolean;
|
|
98
98
|
presentation: MultiSelectorPresentation;
|
|
@@ -23,6 +23,21 @@ interface TabListProps {
|
|
|
23
23
|
*/
|
|
24
24
|
hasDivider?: boolean;
|
|
25
25
|
}
|
|
26
|
+
interface TabMenuOption {
|
|
27
|
+
value: string;
|
|
28
|
+
label: string;
|
|
29
|
+
/** CSS icon class, for example `i-carbon-settings`. */
|
|
30
|
+
iconClass?: string;
|
|
31
|
+
}
|
|
32
|
+
interface TabMenuProps {
|
|
33
|
+
/**
|
|
34
|
+
* Trigger text when none of the options is the selected tab, and the
|
|
35
|
+
* accessible name of the menu.
|
|
36
|
+
*/
|
|
37
|
+
label: string;
|
|
38
|
+
/** Secondary tabs collected behind the trigger. */
|
|
39
|
+
options: TabMenuOption[];
|
|
40
|
+
}
|
|
26
41
|
interface TabProps {
|
|
27
42
|
/**
|
|
28
43
|
* Unique value for this tab.
|
|
@@ -42,6 +57,12 @@ interface TabListTab {
|
|
|
42
57
|
value: string;
|
|
43
58
|
disabled: boolean;
|
|
44
59
|
el: HTMLElement;
|
|
60
|
+
/**
|
|
61
|
+
* When false, arrowing onto this stop focuses it without changing the
|
|
62
|
+
* selected value. TabMenu uses that so the overflow trigger is in the
|
|
63
|
+
* roving order without becoming a tab value of its own.
|
|
64
|
+
*/
|
|
65
|
+
selectsOnFocus?: boolean;
|
|
45
66
|
}
|
|
46
67
|
//#endregion
|
|
47
68
|
//#region src/TabList/Tab.vue.d.ts
|
|
@@ -52,8 +73,8 @@ type __VLS_Slots$1 = {} & {
|
|
|
52
73
|
declare const __VLS_base$1: import("vue").DefineComponent<TabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TabProps> & Readonly<{}>, {
|
|
53
74
|
disabled: boolean;
|
|
54
75
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
-
declare const __VLS_export$
|
|
56
|
-
declare const _default$
|
|
76
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
77
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
57
78
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
58
79
|
new (): {
|
|
59
80
|
$slots: S;
|
|
@@ -72,15 +93,19 @@ declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}
|
|
|
72
93
|
onChange?: ((value: string) => any) | undefined;
|
|
73
94
|
}>, {
|
|
74
95
|
size: TabListSize;
|
|
75
|
-
layout: TabListLayout;
|
|
76
96
|
hasDivider: boolean;
|
|
97
|
+
layout: TabListLayout;
|
|
77
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
79
|
-
declare const _default: typeof __VLS_export;
|
|
99
|
+
declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
100
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
80
101
|
type __VLS_WithSlots<T, S> = T & {
|
|
81
102
|
new (): {
|
|
82
103
|
$slots: S;
|
|
83
104
|
};
|
|
84
105
|
};
|
|
85
106
|
//#endregion
|
|
86
|
-
|
|
107
|
+
//#region src/TabList/TabMenu.vue.d.ts
|
|
108
|
+
declare const __VLS_export: import("vue").DefineComponent<TabMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TabMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
109
|
+
declare const _default: typeof __VLS_export;
|
|
110
|
+
//#endregion
|
|
111
|
+
export { TabListProps as a, TabMenuOption as c, TabListLayout as i, TabMenuProps as l, _default$1 as n, TabListSize as o, _default$2 as r, TabListTab as s, _default as t, TabProps as u };
|
|
@@ -1,109 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
|
1
|
+
import { a as TableColumn, d as TableFilterValue, f as TablePlugin, h as TableSlots, i as TableCellProps, l as TableFilterField, m as TableRowProps, n as PixelWidth, p as TableProps, r as ProportionalWidth, u as TableFilterState, v as TableSortState } from "./types-JktRxujg.js";
|
|
2
|
+
import { CSSProperties, ComputedRef, MaybeRefOrGetter, Ref, VNodeChild } from "vue";
|
|
107
3
|
//#region src/Table/columnUtils.d.ts
|
|
108
4
|
declare function proportional(value?: number, options?: {
|
|
109
5
|
minWidth?: number;
|
|
@@ -353,4 +249,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
353
249
|
};
|
|
354
250
|
};
|
|
355
251
|
//#endregion
|
|
356
|
-
export {
|
|
252
|
+
export { generateColumns as A, UseTableColumnSettingsConfig as C, useTableColumnResize as D, UseTableColumnResizeConfig as E, sortRows as F, pixel as M, proportional as N, capitalize as O, resolveColumnWidths as P, ColumnSettingsOption as S, useTableColumnSettingsState as T, useTablePagination as _, _default$4 as a, useTableFilterState as b, _default$7 as c, useTableSortableState as d, UseTableSelectionConfig as f, UseTablePaginationConfig as g, useTableSelectionState as h, _default$3 as i, paginateData as j, cellText as k, UseTableSortableConfig as l, useTableSelection as m, _default$1 as n, _default$5 as o, UseTableSelectionStateConfig as p, _default$2 as r, _default$6 as s, _default as t, useTableSortable as u, UseTableFilteringConfig as v, useTableColumnSettings as w, useTableFiltering as x, applyTableFilters as y };
|
|
@@ -195,9 +195,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
195
195
|
default: undefined;
|
|
196
196
|
};
|
|
197
197
|
}>> & Readonly<{}>, {
|
|
198
|
+
density: MarkdownDensity | undefined;
|
|
198
199
|
display: MarkdownDisplay | undefined;
|
|
199
200
|
content: string;
|
|
200
|
-
density: MarkdownDensity | undefined;
|
|
201
201
|
contentAlign: MarkdownAlign | undefined;
|
|
202
202
|
contentWidth: string | number | undefined;
|
|
203
203
|
components: MarkdownComponents | undefined;
|
|
@@ -9,6 +9,14 @@ interface CalendarMessages {
|
|
|
9
9
|
nextMonth: string;
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
+
//#region src/locale/messages/carousel.d.ts
|
|
13
|
+
interface CarouselMessages {
|
|
14
|
+
label: string;
|
|
15
|
+
scrollLeft: string;
|
|
16
|
+
scrollRight: string;
|
|
17
|
+
slide: (current: number, total: number) => string;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
12
20
|
//#region src/locale/messages/chat.d.ts
|
|
13
21
|
interface ChatMessages {
|
|
14
22
|
log: string;
|
|
@@ -41,6 +49,21 @@ interface CitationMessages {
|
|
|
41
49
|
label: (number: number, title: string) => string;
|
|
42
50
|
}
|
|
43
51
|
//#endregion
|
|
52
|
+
//#region src/locale/messages/command-palette.d.ts
|
|
53
|
+
interface CommandPaletteMessages {
|
|
54
|
+
label: string;
|
|
55
|
+
emptySearch: string;
|
|
56
|
+
emptyBootstrap: string;
|
|
57
|
+
placeholder: string;
|
|
58
|
+
listLabel: string;
|
|
59
|
+
loading: string;
|
|
60
|
+
noResultsFor: (query: string) => string;
|
|
61
|
+
resultCount: (count: number) => string;
|
|
62
|
+
navigate: string;
|
|
63
|
+
select: string;
|
|
64
|
+
close: string;
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
44
67
|
//#region src/locale/messages/date-input.d.ts
|
|
45
68
|
interface DateInputMessages {
|
|
46
69
|
placeholder: string;
|
|
@@ -77,6 +100,27 @@ interface FileInputMessages {
|
|
|
77
100
|
errorCount: (maxFiles: number) => string;
|
|
78
101
|
}
|
|
79
102
|
//#endregion
|
|
103
|
+
//#region src/locale/messages/layout.d.ts
|
|
104
|
+
interface LayoutMessages {
|
|
105
|
+
skipToContent: string;
|
|
106
|
+
resizeHandle: string;
|
|
107
|
+
collapsed: string;
|
|
108
|
+
mobileNavigation: string;
|
|
109
|
+
}
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/locale/messages/lightbox.d.ts
|
|
112
|
+
interface LightboxMessages {
|
|
113
|
+
close: string;
|
|
114
|
+
previous: string;
|
|
115
|
+
next: string;
|
|
116
|
+
mediaViewer: string;
|
|
117
|
+
zoom: string;
|
|
118
|
+
zoomedIn: string;
|
|
119
|
+
zoomedOut: string;
|
|
120
|
+
imagePosition: (index: number, total: number) => string;
|
|
121
|
+
mediaPosition: (alt: string, index: number, total: number) => string;
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
80
124
|
//#region src/locale/messages/markdown.d.ts
|
|
81
125
|
interface MarkdownMessages {
|
|
82
126
|
headingLink: (title: string) => string;
|
|
@@ -110,6 +154,7 @@ interface NavMessages {
|
|
|
110
154
|
collapseSidebar: string;
|
|
111
155
|
expandSidebar: string;
|
|
112
156
|
openMenu: string;
|
|
157
|
+
openNavigation: string;
|
|
113
158
|
close: string;
|
|
114
159
|
more: string;
|
|
115
160
|
moreItems: (count: number) => string;
|
|
@@ -124,6 +169,11 @@ interface NumberInputMessages {
|
|
|
124
169
|
decrement: (label?: string) => string;
|
|
125
170
|
}
|
|
126
171
|
//#endregion
|
|
172
|
+
//#region src/locale/messages/outline.d.ts
|
|
173
|
+
interface OutlineMessages {
|
|
174
|
+
label: string;
|
|
175
|
+
}
|
|
176
|
+
//#endregion
|
|
127
177
|
//#region src/locale/messages/pagination.d.ts
|
|
128
178
|
interface PaginationMessages {
|
|
129
179
|
nav: string;
|
|
@@ -146,6 +196,21 @@ interface SelectorMessages {
|
|
|
146
196
|
empty: string;
|
|
147
197
|
}
|
|
148
198
|
//#endregion
|
|
199
|
+
//#region src/locale/messages/stepper.d.ts
|
|
200
|
+
interface StepperMessages {
|
|
201
|
+
progress: string;
|
|
202
|
+
optional: string;
|
|
203
|
+
previous: string;
|
|
204
|
+
next: string;
|
|
205
|
+
goToStep: (step: number) => string;
|
|
206
|
+
goToStepWithStatus: (step: number, status: string) => string;
|
|
207
|
+
status: {
|
|
208
|
+
completed: string;
|
|
209
|
+
warning: string;
|
|
210
|
+
error: string;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
//#endregion
|
|
149
214
|
//#region src/locale/messages/table.d.ts
|
|
150
215
|
interface TableMessages {
|
|
151
216
|
label: string;
|
|
@@ -229,19 +294,25 @@ interface TypeaheadMessages {
|
|
|
229
294
|
//#region src/locale/messages.d.ts
|
|
230
295
|
interface AstryxMessages {
|
|
231
296
|
calendar: CalendarMessages;
|
|
297
|
+
carousel: CarouselMessages;
|
|
232
298
|
chat: ChatMessages;
|
|
233
299
|
citation: CitationMessages;
|
|
300
|
+
commandPalette: CommandPaletteMessages;
|
|
234
301
|
dateInput: DateInputMessages;
|
|
235
302
|
dateRangeInput: DateRangeInputMessages;
|
|
236
303
|
dateTimeInput: DateTimeInputMessages;
|
|
237
304
|
fileInput: FileInputMessages;
|
|
305
|
+
layout: LayoutMessages;
|
|
306
|
+
lightbox: LightboxMessages;
|
|
238
307
|
markdown: MarkdownMessages;
|
|
239
308
|
metadataList: MetadataListMessages;
|
|
240
309
|
multiSelector: MultiSelectorMessages;
|
|
241
310
|
nav: NavMessages;
|
|
242
311
|
numberInput: NumberInputMessages;
|
|
312
|
+
outline: OutlineMessages;
|
|
243
313
|
pagination: PaginationMessages;
|
|
244
314
|
selector: SelectorMessages;
|
|
315
|
+
stepper: StepperMessages;
|
|
245
316
|
table: TableMessages;
|
|
246
317
|
thumbnail: ThumbnailMessages;
|
|
247
318
|
timeInput: TimeInputMessages;
|