@astryx-vue/core 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/AppShell/index.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-b0PWt9Fz.js +249 -0
- package/dist/AspectRatio/index.d.ts +2 -0
- package/dist/AspectRatio/index.js +2 -0
- package/dist/AspectRatio-Bij7e-tq.js +40 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DpYFXwgb.js → Calendar-CYhGDT6f.js} +2 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bfd-YPAK.js → Chat-C1aWl5V3.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C86o3XoG.js → CheckboxInput-CMsEE1_4.js} +4 -2
- package/dist/CheckboxList/index.d.ts +2 -0
- package/dist/CheckboxList/index.js +2 -0
- package/dist/CheckboxList-EsIEXjK_.js +174 -0
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DaDd1teb.js → Citation-C1X0Rde8.js} +2 -2
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-CK-NWM_1.js → CodeBlock-BQdooQy2.js} +1 -1
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-BS9ctCQV.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-u5h_E05P.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-BHmGWml0.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-BJh99Exj.js → ContextMenu-dA-ppaRQ.js} +284 -12
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-zJAdXByM.js → DateInput-D2ErjXYO.js} +18 -10
- package/dist/DateRangeInput/index.d.ts +2 -0
- package/dist/DateRangeInput/index.js +2 -0
- package/dist/DateRangeInput-fmQlr_A7.js +385 -0
- package/dist/DateTimeInput/index.d.ts +2 -0
- package/dist/DateTimeInput/index.js +2 -0
- package/dist/DateTimeInput-Bs1JmcIp.js +196 -0
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-C3j2zaEn.js → DropdownMenu-B0gogrvG.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -4
- package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
- package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
- package/dist/FieldStatus/index.d.ts +2 -0
- package/dist/FieldStatus/index.js +2 -0
- package/dist/FileInput/index.d.ts +2 -0
- package/dist/FileInput/index.js +2 -0
- package/dist/FileInput-CmAfOpkA.js +238 -0
- package/dist/FormLayout/index.d.ts +2 -0
- package/dist/FormLayout/index.js +2 -0
- package/dist/FormLayout-D47FjiOq.js +40 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/{Icon-B6qNgBP9.js → Icon-5MdZQ18k.js} +10 -2
- package/dist/Layout/index.d.ts +2 -0
- package/dist/Layout/index.js +3 -0
- package/dist/Layout-Bed3kP0M.js +56 -0
- package/dist/LayoutPanel-C34uOq3e.js +358 -0
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DyKIwAL_.js → Markdown-CwtLr3f_.js} +2 -2
- package/dist/MetadataList/index.d.ts +2 -0
- package/dist/MetadataList/index.js +2 -0
- package/dist/MetadataList-DlXQTLog.js +124 -0
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BK2iRJF-.js → MobileNavToggle-CgQamG6E.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BjUsVWWk.js → MoreMenu-BXL6Dqsu.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CKTbTj1A.js → MultiSelector-DT8ZccMI.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DU3_rw7z.js → NumberInput-DspJO6z6.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B2T5UtiQ.js → OverflowList-zXg3g6fy.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-qCgNwwhr.js → Pagination-DXfgMUKJ.js} +2 -2
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Radio/index.d.ts +2 -2
- package/dist/Radio/index.js +2 -2
- package/dist/{Radio-BioQfwHQ.js → RadioGroup-BqjdSCfJ.js} +21 -88
- package/dist/RadioList/index.d.ts +2 -0
- package/dist/RadioList/index.js +2 -0
- package/dist/RadioList-DI8ujXcT.js +122 -0
- package/dist/Resizable/index.d.ts +2 -0
- package/dist/Resizable/index.js +2 -0
- package/dist/Resizable-BuGKvU9I.js +261 -0
- package/dist/ScrollableArea/index.d.ts +2 -0
- package/dist/ScrollableArea/index.js +2 -0
- package/dist/ScrollableArea-DQDYjnxO.js +78 -0
- package/dist/Section/index.d.ts +2 -0
- package/dist/Section/index.js +2 -0
- package/dist/Section-C48Wqfc7.js +68 -0
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +2 -0
- package/dist/SelectableCard/index.js +2 -0
- package/dist/SelectableCard-Bj5s_tIN.js +108 -0
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-C6sPJMtH.js → Selector-DlZpQh42.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-D9lnn-sM.js → SideNav-Cdrigq2A.js} +49 -27
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +2 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Stepper-DxmLfh8O.js +423 -0
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CNdnr5TP.js → Switch-SesQzPGZ.js} +4 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +2 -2
- package/dist/TabList-C411uNQU.js +380 -0
- package/dist/Table/index.d.ts +3 -0
- package/dist/Table/index.js +2 -0
- package/dist/Table-7qRmlIQd.js +967 -0
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BL0NuB99.js → TextArea-Cv9UVbzS.js} +5 -3
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-B0IKC7g5.js → TextInput-BasnjVvy.js} +5 -3
- package/dist/Thumbnail/index.d.ts +2 -0
- package/dist/Thumbnail/index.js +2 -0
- package/dist/Thumbnail-BWVzLLyI.js +163 -0
- package/dist/TimeField-l3QzU6vC.js +214 -0
- package/dist/TimeInput/index.d.ts +2 -0
- package/dist/TimeInput/index.js +2 -0
- package/dist/TimeInput-OkgX-xbQ.js +121 -0
- package/dist/Timestamp/index.d.ts +2 -0
- package/dist/Timestamp/index.js +2 -0
- package/dist/Timestamp-DUoP9ari.js +465 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Ctf9jekS.js → Token-C4KD0fZD.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-D5MPgau0.js → Tokenizer-BA8sTMPZ.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CjbMCbkC.js → TopNav-CZokS7E_.js} +57 -31
- package/dist/TreeList/index.d.ts +2 -0
- package/dist/TreeList/index.js +2 -0
- package/dist/TreeList-CIbAGOMf.js +506 -0
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-BMoU3hfx.js → Typeahead-DIw-K4aa.js} +3 -3
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +8 -2
- package/dist/composables-CVfjp9h4.js +502 -0
- package/dist/context-BjNya0v8.js +19 -0
- package/dist/context-Cfjh8te1.js +29 -0
- package/dist/{locale-56lkR7OK.js → context-D6ECRdc5.js} +267 -18
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-Dw21t7Uf.d.ts → index-2u4l3wq8.d.ts} +2 -2
- package/dist/{index-CvLlWLIZ.d.ts → index-B4OOtNP8.d.ts} +4 -4
- package/dist/{index-_1-uvr27.d.ts → index-B8MbfMwV.d.ts} +1 -1
- package/dist/{index-MPcg1Pm4.d.ts → index-BKr7yvVv.d.ts} +1 -1
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/{index-CnVbMebA.d.ts → index-Bqb_Fyju.d.ts} +3 -3
- package/dist/index-BrJzFA5X.d.ts +38 -0
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/index-By2mSzUA.d.ts +67 -0
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-BQuN_dWR.d.ts → index-BzqRns96.d.ts} +1 -1
- package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-Cc2HGODZ.d.ts → index-C6RecznD.d.ts} +3 -3
- package/dist/{index-BSRk8MFK.d.ts → index-C8wDPDcP.d.ts} +1 -1
- package/dist/index-CDdRQQF3.d.ts +170 -0
- package/dist/index-COqjznX0.d.ts +47 -0
- package/dist/{index-Cz9ZHVf6.d.ts → index-CT8KEpec.d.ts} +2 -2
- package/dist/{index-CxspvLBl.d.ts → index-CTolyeii.d.ts} +1 -1
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-CX97hlld.d.ts +158 -0
- package/dist/index-C_2Z65Rp.d.ts +67 -0
- package/dist/index-CjtAH60j.d.ts +38 -0
- package/dist/index-CtlkhQ55.d.ts +36 -0
- package/dist/{index-JeZ0YTyd.d.ts → index-D-ZuubCK.d.ts} +4 -4
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-C8NW9xre.d.ts → index-DGNqi2za.d.ts} +7 -7
- package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
- package/dist/index-DXSs3rwa.d.ts +252 -0
- package/dist/{index-C0S2Xzoi.d.ts → index-DYChvBOM.d.ts} +135 -0
- package/dist/index-Da7Jm8Ht.d.ts +10 -0
- package/dist/{index-CaHXYQ_E.d.ts → index-Df2YvC8o.d.ts} +717 -147
- package/dist/{index-DjOdQv5B.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-CPhDtlv-.d.ts → index-FEy8qFSD.d.ts} +3 -3
- package/dist/{index-DBcbfStA.d.ts → index-SMh42NI8.d.ts} +182 -2
- package/dist/{index-Cdi82rTW.d.ts → index-ZJyk8RtQ.d.ts} +6 -2
- package/dist/{index-BeJqhW4l.d.ts → index-fa72tWIU.d.ts} +3 -3
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-BQa836Vz.d.ts → index-iBLzInje.d.ts} +6 -14
- package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
- package/dist/index-nKlTsNfV.d.ts +42 -0
- package/dist/index-utZGF4GR.d.ts +79 -0
- package/dist/index.d.ts +76 -59
- package/dist/index.js +119 -78
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -1
- package/dist/locale-Cpk_nrLA.js +18 -0
- package/dist/size-BuTzpgnR.d.ts +14 -0
- package/dist/size-xcIqExkS.js +79 -0
- package/dist/{index-Cp0NlzQv.d.ts → types-Db3Owy8Q.d.ts} +1 -36
- package/dist/types-JktRxujg.d.ts +107 -0
- package/dist/useAppShellMobile-DTsyuAJ4.js +19 -0
- package/dist/useClickableContainer-DyNpnSEa.js +112 -0
- package/dist/useFileSelection-BPtaegqK.js +58 -0
- package/dist/useMonthGrid-CmJsZTcB.js +139 -0
- package/dist/useResizable-CeESZS1v.d.ts +72 -0
- package/dist/useScrollableArea-DDk_CluT.js +172 -0
- package/dist/useTimeValue-DWk6oTAZ.js +113 -0
- package/package.json +97 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/bordered-control.css +87 -0
- package/styles/calendar.css +8 -2
- package/styles/card.css +5 -1
- package/styles/checkbox-list.css +15 -0
- package/styles/clickable-card.css +101 -0
- package/styles/collapsible.css +37 -0
- package/styles/command-palette.css +183 -0
- package/styles/complex-selector.css +114 -0
- package/styles/date-range-input.css +163 -0
- package/styles/date-time-input.css +40 -0
- package/styles/field.css +14 -3
- package/styles/file-input.css +87 -0
- package/styles/form-layout.css +31 -0
- package/styles/heading.css +19 -17
- package/styles/icon.css +32 -0
- package/styles/layout.css +280 -0
- package/styles/metadata-list.css +107 -0
- package/styles/number-input.css +6 -0
- package/styles/radio.css +32 -0
- package/styles/resize-handle.css +128 -0
- package/styles/scrollable-area.css +50 -0
- package/styles/section.css +60 -0
- package/styles/selector.css +10 -0
- package/styles/side-nav.css +26 -0
- package/styles/stepper.css +357 -0
- package/styles/tab-menu.css +91 -0
- package/styles/table.css +256 -0
- package/styles/text-area.css +6 -1
- package/styles/text-input.css +6 -0
- package/styles/thumbnail.css +151 -0
- package/styles/time-input.css +51 -0
- package/styles/timestamp.css +93 -0
- package/styles/tree-list.css +229 -0
- package/styles.css +23 -0
- package/dist/Collapsible-ByXCGhT8.js +0 -102
- package/dist/TabList-LV1U4ZD6.js +0 -184
- package/dist/composables-Dq9RS33w.js +0 -111
- package/dist/index-TnaIHsCS.d.ts +0 -87
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { s as ButtonSize } from "./types-WlmsNL1I.js";
|
|
2
|
+
import { l as FieldStatusVariant, o as FieldStatusInput } from "./types-3eXh_5os.js";
|
|
3
|
+
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-Db3Owy8Q.js";
|
|
4
|
+
import { Component, Ref, VNode, VNodeChild } from "vue";
|
|
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
|
|
23
|
+
//#region src/ComplexSelector/types.d.ts
|
|
24
|
+
interface ComplexSelectorState {
|
|
25
|
+
isOpen: boolean;
|
|
26
|
+
isBusy: boolean;
|
|
27
|
+
triggerId: string;
|
|
28
|
+
contentId: string;
|
|
29
|
+
}
|
|
30
|
+
type ComplexSelectorVariant = 'input' | 'ghost';
|
|
31
|
+
interface ComplexSelectorHandle {
|
|
32
|
+
/** Open the popup. */
|
|
33
|
+
open: () => void;
|
|
34
|
+
/** Close the popup. */
|
|
35
|
+
close: () => void;
|
|
36
|
+
/** Open when closed, and close when open. */
|
|
37
|
+
toggle: () => void;
|
|
38
|
+
/** Whether the popup is open. */
|
|
39
|
+
isOpen: () => boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A Vue ref or a callback. In a template, pass a callback: template refs are
|
|
43
|
+
* unwrapped, so `:handle-ref="someRef"` would hand over `null`.
|
|
44
|
+
*/
|
|
45
|
+
type ComplexSelectorHandleRef = Ref<ComplexSelectorHandle | null> | ((handle: ComplexSelectorHandle | null) => void);
|
|
46
|
+
interface ComplexSelectorTriggerProps {
|
|
47
|
+
'id': string;
|
|
48
|
+
'onClick': (event: MouseEvent) => void;
|
|
49
|
+
'onKeydown': (event: KeyboardEvent) => void;
|
|
50
|
+
'aria-haspopup': 'dialog';
|
|
51
|
+
'aria-expanded': boolean;
|
|
52
|
+
'aria-controls': string | undefined;
|
|
53
|
+
'aria-busy': true | undefined;
|
|
54
|
+
'aria-label': string;
|
|
55
|
+
}
|
|
56
|
+
interface ComplexSelectorSlotProps<Value> {
|
|
57
|
+
/** The value shown in the field, including a pending optimistic value. */
|
|
58
|
+
value: Value;
|
|
59
|
+
/** Commit the next value and run `changeAction` when one was provided. */
|
|
60
|
+
commit: (value: Value) => void;
|
|
61
|
+
/** Close the popup. */
|
|
62
|
+
close: () => void;
|
|
63
|
+
state: ComplexSelectorState;
|
|
64
|
+
}
|
|
65
|
+
interface ComplexSelectorProps<Value = unknown> {
|
|
66
|
+
/** Field label. It also names the popup. */
|
|
67
|
+
label: string;
|
|
68
|
+
/** Current value. Bind with `v-model`. */
|
|
69
|
+
modelValue: Value;
|
|
70
|
+
/** Text shown on the trigger. Falls back to `placeholder`. */
|
|
71
|
+
triggerLabel?: string;
|
|
72
|
+
/** Shown when `triggerLabel` is empty. */
|
|
73
|
+
placeholder?: string;
|
|
74
|
+
/** Hide the visible label. The accessible name stays. */
|
|
75
|
+
isLabelHidden?: boolean;
|
|
76
|
+
/** Supporting text under the label. */
|
|
77
|
+
description?: string;
|
|
78
|
+
/** @default false */
|
|
79
|
+
isOptional?: boolean;
|
|
80
|
+
/** @default false */
|
|
81
|
+
isRequired?: boolean;
|
|
82
|
+
/** @default false */
|
|
83
|
+
isDisabled?: boolean;
|
|
84
|
+
/** @default false */
|
|
85
|
+
isLoading?: boolean;
|
|
86
|
+
status?: FieldStatusInput;
|
|
87
|
+
/** @default 'attached' */
|
|
88
|
+
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
89
|
+
labelTooltip?: string;
|
|
90
|
+
/** @default 'md' */
|
|
91
|
+
size?: ButtonSize;
|
|
92
|
+
width?: number | string;
|
|
93
|
+
/** @default 'below' */
|
|
94
|
+
placement?: PopoverPlacement;
|
|
95
|
+
/**
|
|
96
|
+
* Popup alignment along the placement axis.
|
|
97
|
+
* @default 'start'
|
|
98
|
+
*/
|
|
99
|
+
alignment?: PopoverAlignment;
|
|
100
|
+
/**
|
|
101
|
+
* Icon at the start of the built-in trigger. A CSS icon class, a chrome
|
|
102
|
+
* name, or a component.
|
|
103
|
+
*/
|
|
104
|
+
startIcon?: ExtendedIconName | Component;
|
|
105
|
+
/**
|
|
106
|
+
* `input` is the bordered field. `ghost` matches a toolbar button.
|
|
107
|
+
* @default 'input'
|
|
108
|
+
*/
|
|
109
|
+
variant?: ComplexSelectorVariant;
|
|
110
|
+
/**
|
|
111
|
+
* Replaces the field and the built-in trigger. Spread the argument onto the
|
|
112
|
+
* control the popup should hang off. `label` still names the popup.
|
|
113
|
+
*/
|
|
114
|
+
renderTrigger?: (props: ComplexSelectorTriggerProps) => VNode;
|
|
115
|
+
/**
|
|
116
|
+
* Imperative open, close, toggle, and isOpen. A template `ref` on the
|
|
117
|
+
* component exposes the same methods.
|
|
118
|
+
*/
|
|
119
|
+
handleRef?: ComplexSelectorHandleRef;
|
|
120
|
+
/**
|
|
121
|
+
* Runs after the value changes. While it is pending the trigger shows a
|
|
122
|
+
* spinner and the slot sees the value that was just committed.
|
|
123
|
+
*/
|
|
124
|
+
changeAction?: (value: Value) => void | Promise<void>;
|
|
125
|
+
}
|
|
126
|
+
interface ComplexSelectorEmits<Value> {
|
|
127
|
+
change: [value: Value];
|
|
128
|
+
}
|
|
129
|
+
interface ComplexSelectorSlots<Value> {
|
|
130
|
+
default?: (props: ComplexSelectorSlotProps<Value>) => VNode[];
|
|
131
|
+
/**
|
|
132
|
+
* Replaces the field and the built-in trigger, the same job as
|
|
133
|
+
* `renderTrigger`. Spread the bindings onto the control.
|
|
134
|
+
*/
|
|
135
|
+
trigger?: (props: ComplexSelectorTriggerProps) => VNode[];
|
|
136
|
+
}
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/ComplexSelector/ComplexSelector.vue.d.ts
|
|
139
|
+
declare const __VLS_export: <Value>(__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<{
|
|
140
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
|
|
141
|
+
modelValue: Value;
|
|
142
|
+
}) & {
|
|
143
|
+
onChange?: ((value: Value) => any) | undefined;
|
|
144
|
+
"onUpdate:modelValue"?: ((value: Value) => any) | undefined;
|
|
145
|
+
}> & (typeof globalThis extends {
|
|
146
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
147
|
+
} ? P : {});
|
|
148
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
|
|
149
|
+
attrs: any;
|
|
150
|
+
slots: ComplexSelectorSlots<Value>;
|
|
151
|
+
emit: ((evt: "change", value: Value) => void) & ((event: "update:modelValue", value: Value) => void);
|
|
152
|
+
}>) => import("vue").VNode & {
|
|
153
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
154
|
+
};
|
|
155
|
+
declare const _default: typeof __VLS_export;
|
|
156
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
157
|
+
//#endregion
|
|
158
|
+
export { ComplexSelectorProps as a, ComplexSelectorState as c, ComplexSelectorHandleRef as i, ComplexSelectorTriggerProps as l, ComplexSelectorEmits as n, ComplexSelectorSlotProps as o, ComplexSelectorHandle as r, ComplexSelectorSlots as s, _default as t, ComplexSelectorVariant as u };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Ref, VNode } from "vue";
|
|
2
|
+
//#region src/TreeList/types.d.ts
|
|
3
|
+
type TreeListDensity = 'compact' | 'balanced' | 'spacious';
|
|
4
|
+
type TreeListVariant = 'lineGuides' | 'noGuides';
|
|
5
|
+
interface TreeListItemData {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
/** Glyph name, or a CSS icon class starting with `i-`. */
|
|
10
|
+
icon?: string;
|
|
11
|
+
/** Trailing glyph or CSS icon class. */
|
|
12
|
+
endIcon?: string;
|
|
13
|
+
/** Compact trailing badge, for counts. */
|
|
14
|
+
badge?: string;
|
|
15
|
+
children?: TreeListItemData[];
|
|
16
|
+
href?: string;
|
|
17
|
+
target?: string;
|
|
18
|
+
isDisabled?: boolean;
|
|
19
|
+
isSelected?: boolean;
|
|
20
|
+
isExpanded?: boolean;
|
|
21
|
+
onClick?: (event: MouseEvent) => void;
|
|
22
|
+
}
|
|
23
|
+
interface TreeListProps {
|
|
24
|
+
items: TreeListItemData[];
|
|
25
|
+
/** @default 'balanced' */
|
|
26
|
+
density?: TreeListDensity;
|
|
27
|
+
/** @default 'lineGuides' */
|
|
28
|
+
variant?: TreeListVariant;
|
|
29
|
+
header?: string;
|
|
30
|
+
label?: string;
|
|
31
|
+
}
|
|
32
|
+
interface TreeListSlots {
|
|
33
|
+
header?: () => VNode[];
|
|
34
|
+
start?: (props: {
|
|
35
|
+
item: TreeListItemData;
|
|
36
|
+
}) => VNode[];
|
|
37
|
+
end?: (props: {
|
|
38
|
+
item: TreeListItemData;
|
|
39
|
+
}) => VNode[];
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/TreeList/TreeList.vue.d.ts
|
|
43
|
+
type __VLS_Slots = TreeListSlots;
|
|
44
|
+
declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
|
|
45
|
+
variant: TreeListVariant;
|
|
46
|
+
density: TreeListDensity;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/TreeList/useTreeFocus.d.ts
|
|
57
|
+
interface UseTreeFocusOptions {
|
|
58
|
+
onToggleExpand?: (id: string) => void;
|
|
59
|
+
onActivate?: (current: HTMLElement) => boolean;
|
|
60
|
+
}
|
|
61
|
+
declare function useTreeFocus(options: UseTreeFocusOptions): {
|
|
62
|
+
treeRef: Ref<HTMLElement | null>;
|
|
63
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
64
|
+
handleFocus: () => void;
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
export { TreeListItemData as a, TreeListVariant as c, TreeListDensity as i, useTreeFocus as n, TreeListProps as o, _default as r, TreeListSlots as s, UseTreeFocusOptions as t };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
+
import { a as PopoverRole, i as PopoverProps, n as PopoverPadding } from "./types-Db3Owy8Q.js";
|
|
3
|
+
//#region src/Popover/Popover.vue.d.ts
|
|
4
|
+
declare var __VLS_1: {}, __VLS_9: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
content?: (props: typeof __VLS_9) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
openChange: (isOpen: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
13
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
label: string;
|
|
16
|
+
width: string | number;
|
|
17
|
+
padding: PopoverPadding;
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
placement: LayerPlacement;
|
|
20
|
+
alignment: LayerAlignment;
|
|
21
|
+
hasAutoFocus: boolean;
|
|
22
|
+
isEnabled: boolean;
|
|
23
|
+
role: PopoverRole;
|
|
24
|
+
isModal: boolean;
|
|
25
|
+
hasCloseButton: boolean;
|
|
26
|
+
closeButtonLabel: string;
|
|
27
|
+
hasLightDismiss: boolean;
|
|
28
|
+
hasEscapeDismiss: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { _default as t };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/Thumbnail/types.d.ts
|
|
2
|
+
type ThumbnailRemoveVisibility = 'always' | 'hover';
|
|
3
|
+
interface ThumbnailProps {
|
|
4
|
+
src?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
/** Accessible name. Not drawn; used by the tooltip and the remove button. */
|
|
7
|
+
label?: string;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* When the remove button is visible. `hover` also reveals it on keyboard
|
|
12
|
+
* focus, and keeps it visible for coarse pointers.
|
|
13
|
+
* @default 'hover'
|
|
14
|
+
*/
|
|
15
|
+
showRemoveOn?: ThumbnailRemoveVisibility;
|
|
16
|
+
}
|
|
17
|
+
interface ThumbnailEmits {
|
|
18
|
+
remove: [event: MouseEvent];
|
|
19
|
+
click: [event: MouseEvent];
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/Thumbnail/Thumbnail.vue.d.ts
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<ThumbnailProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
click: (event: MouseEvent) => any;
|
|
25
|
+
remove: (event: MouseEvent) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<ThumbnailProps> & Readonly<{
|
|
27
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
28
|
+
onRemove?: ((event: MouseEvent) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
isDisabled: boolean;
|
|
31
|
+
isLoading: boolean;
|
|
32
|
+
showRemoveOn: ThumbnailRemoveVisibility;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { ThumbnailRemoveVisibility as i, ThumbnailEmits as n, ThumbnailProps as r, _default as t };
|
|
@@ -32,12 +32,12 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
32
32
|
focus: typeof focus;
|
|
33
33
|
blur: typeof blur;
|
|
34
34
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
35
|
-
as: ItemElement;
|
|
36
35
|
isDisabled: boolean;
|
|
36
|
+
as: ItemElement;
|
|
37
|
+
density: ListDensity;
|
|
38
|
+
isSelected: boolean;
|
|
37
39
|
align: ItemAlign;
|
|
38
40
|
layout: ItemLayout;
|
|
39
|
-
isSelected: boolean;
|
|
40
|
-
density: ListDensity;
|
|
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>;
|
|
@@ -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,27 +76,27 @@ 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
|
-
search: (query: string) => any;
|
|
80
79
|
change: (value: (string | number)[]) => any;
|
|
81
|
-
|
|
80
|
+
search: (query: string) => any;
|
|
82
81
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
82
|
+
openChange: (isOpen: boolean) => any;
|
|
83
83
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
84
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
85
84
|
onChange?: ((value: (string | number)[]) => any) | undefined;
|
|
86
|
-
|
|
85
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
87
86
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
87
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
89
|
size: MultiSelectorSize;
|
|
90
|
-
variant: MultiSelectorVariant;
|
|
91
90
|
required: boolean;
|
|
91
|
+
variant: MultiSelectorVariant;
|
|
92
|
+
status: MultiSelectorStatus;
|
|
92
93
|
modelValue: readonly (string | number)[];
|
|
93
94
|
labelHidden: boolean;
|
|
94
95
|
disabled: boolean;
|
|
95
|
-
status: MultiSelectorStatus;
|
|
96
96
|
clearable: boolean;
|
|
97
97
|
optional: boolean;
|
|
98
|
-
searchable: boolean;
|
|
99
98
|
presentation: MultiSelectorPresentation;
|
|
99
|
+
searchable: boolean;
|
|
100
100
|
selectAll: boolean;
|
|
101
101
|
triggerDisplay: MultiSelectorTriggerDisplay;
|
|
102
102
|
maxBadges: number;
|
|
@@ -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 };
|