@astryx-vue/core 0.2.1 → 0.2.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/THIRD_PARTY_NOTICES.md +2 -0
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-1wNIEtK_.js → AppShell-Dd-D4bA2.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +2 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +3 -2
- package/dist/Breadcrumbs/index.js +3 -2
- package/dist/{Breadcrumbs-C97HmjkC.js → Breadcrumbs-CWGfgLNK.js} +13 -8
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-CnOsSjMY.js +656 -0
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BGUnskjo.js → Carousel-JA7ilqI_.js} +2 -2
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +2 -2
- package/dist/Chat-C7WrCOE4.js +3148 -0
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BbCPiend.js → CheckboxList-CnCGnkZk.js} +77 -24
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DunoAqVH.js → Citation-CtwrU33I.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-yb_KOFtJ.js → Code-BvefYRpx.js} +2 -1
- package/dist/{CodeBlock-CAF-VJnh.js → CodeBlock-BZGzYeoL.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DvMiYJp7.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-xfm9ldUI.js → CommandPalette-BNbM9T9y.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-B6lBTRhP.js → ComplexSelector-LtbLlrcj.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-DUkED3Z3.js → ContextMenu-DVQl0xL5.js} +204 -56
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-zm8sNc0t.js +743 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-e9KSxBBK.js → DateRangeInput-DlVFzrf7.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-fSOfuLex.js → DateTimeInput-C7Z-p6Yd.js} +54 -15
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-8G0B1UND.js → DropdownMenu-BoZChdev.js} +308 -63
- package/dist/DropdownMenu-u1psFjis.js +325 -0
- package/dist/DropdownMenuRadioItem.vue-uVM0FD2f.d.ts +564 -0
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-D-fchyQH.js → FileInput-QdlZn7qK.js} +2 -2
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-Bku25g_K.js → Icon-bteSId7T.js} +114 -14
- package/dist/Indicator/index.d.ts +3 -0
- package/dist/Indicator/index.js +2 -0
- package/dist/InputGroup/index.d.ts +2 -2
- package/dist/InputGroup/index.js +3 -2
- package/dist/InputGroup-BzR6JRZb.js +129 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-uuVGgHxW.js → Lightbox-BSzfqZ-u.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DLICa3db.js → Markdown-B6tSqenv.js} +8 -5
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-h492rqEN.js → MetadataList-aN1tRn6W.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BMj3Wtuq.js → MobileNavToggle-fqcSafkc.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DkYi5az5.js → MoreMenu-B3brqdK_.js} +1 -1
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C2IS-EaU.js → MultiSelector-BD5PMgez.js} +303 -121
- package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-DbYLDXK0.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-DrwIMHKO.js} +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CjfAsFwj.js → NumberInput-CBeU4lEl.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-BTmrtvXR.js → Outline--HVMSB6i.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CRE8BE7V.js → OverflowList-FMh7r-r_.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BpGXPmc7.js → Pagination-DlIvESjx.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +2 -0
- package/dist/PowerSearch/index.js +2 -0
- package/dist/PowerSearch-CMG7Rb69.js +2386 -0
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-CE8XQDL2.js → Resizable-CXpvj1TZ.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 +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-BpPnuWH3.js +618 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DcDWBnXJ.js → SideNav-D4TupqgE.js} +3 -3
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DZKaqEoz.js → Stepper-H-6-T5Ps.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-hm06QPiW.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +2 -2
- package/dist/Table-nqA_njNz.js +1982 -0
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +2 -1
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-BuUiiJNr.js → Theme-CejS9MHm.js} +21 -3
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CAOYds8t.js → Thumbnail-CXb3m_Hv.js} +2 -2
- package/dist/{TimeField-BGbxCoKU.js → TimeField-B3cndWb0.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJP3l4ZS.js → TimeInput-BHQ_LKGm.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BzRp8uWc.js → Timestamp-Cfuxbb3i.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-CjocuhzE.js → Token-CdVLH0_H.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-mYES5SPM.js → Tokenizer-DlD-S_8-.js} +4 -4
- 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-C2t6JkZb.js → TopNav-DzV874G7.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-THJ0KamE.js → TreeList-DEwvlZRV.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-D7VnvRpK.js → Typeahead-DQ3tmqYe.js} +4 -4
- package/dist/{useTypeaheadMenu-Ba7XpcZl.js → TypeaheadMenu-CGvo0Tud.js} +107 -107
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +4 -4
- package/dist/composables/index.js +10 -5
- package/dist/{composables-CVfjp9h4.js → composables-DDI08XFF.js} +98 -1
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/context-D5-MwxnN.js +4 -0
- package/dist/{context-DzcK4T_C.js → context-DmOLCubj.js} +262 -12
- package/dist/{index-DimuSES0.d.ts → index-B1x05arQ.d.ts} +3 -1
- package/dist/index-B9WzWqzk.d.ts +18 -0
- package/dist/index-B9f1rUEv.d.ts +77 -0
- package/dist/{index-DnSrjbjP.d.ts → index-BB5yVIN-.d.ts} +2 -2
- package/dist/{index-Bu0Zd1uw.d.ts → index-BMn9ghAX.d.ts} +3 -3
- package/dist/{index-CJlBAXwj.d.ts → index-BRfR0lhb.d.ts} +41 -4
- package/dist/{index-DeOftUMq.d.ts → index-BTAgQRP0.d.ts} +762 -114
- package/dist/{index-DA52oIdw.d.ts → index-BcJBLWJ0.d.ts} +2 -2
- package/dist/{index-jdjcb3Js.d.ts → index-Bqb_Fyju.d.ts} +2 -2
- package/dist/{index-CNjbOgty.d.ts → index-C-QpeUlQ.d.ts} +2 -2
- package/dist/{index-I4J7gwa1.d.ts → index-C2sfHfBw.d.ts} +31 -5
- package/dist/{index-By2mSzUA.d.ts → index-CA6RbRWx.d.ts} +1 -1
- package/dist/{index-DnEh-HA0.d.ts → index-C_2Z65Rp.d.ts} +1 -1
- package/dist/{index-cG1E0U2s.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-CRizexSC.d.ts → index-Ch6BbxCP.d.ts} +2 -67
- package/dist/{index-CBym0hSq.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-DXSs3rwa.d.ts → index-CngORuiq.d.ts} +137 -2
- package/dist/index-Ctu32CLv.d.ts +902 -0
- package/dist/{index-DQAnGHu7.d.ts → index-D1Twv_fL.d.ts} +65 -6
- package/dist/{index-D_nYxnNv.d.ts → index-D7-WTV6I.d.ts} +1 -1
- package/dist/{index-c_TaW8mM.d.ts → index-D8o50qOE.d.ts} +1 -1
- package/dist/index-DMQG6kdM.d.ts +416 -0
- package/dist/index-D_UEJIU5.d.ts +83 -0
- package/dist/{index-D2bSSSBP.d.ts → index-DkVEBdWa.d.ts} +2 -2
- package/dist/{index-SMh42NI8.d.ts → index-DxsKyAxq.d.ts} +118 -46
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-Clmz00IK.d.ts → index-LIyvJTW3.d.ts} +63 -0
- package/dist/{index-BKr7yvVv.d.ts → index-MPcg1Pm4.d.ts} +1 -1
- package/dist/{index-cGagYM1g.d.ts → index-ViSV0RBx.d.ts} +1 -1
- package/dist/{index-Z_onS2lR.d.ts → index-f4NGT-e2.d.ts} +3 -3
- package/dist/{index-DsyKhauk.d.ts → index-foQMNKZO.d.ts} +1 -1
- package/dist/{index-1uRMrk63.d.ts → index-nCEmW6wa.d.ts} +1 -1
- package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
- package/dist/{index-3p2BDVHq.d.ts → index-vP0EtrJJ.d.ts} +13 -3
- package/dist/{index-CZeoAr0a.d.ts → index-xfkEuGLY.d.ts} +2 -2
- package/dist/index.d.ts +81 -78
- package/dist/index.js +122 -106
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -2
- package/dist/{locale-Cpk_nrLA.js → locale-CCwVnyMZ.js} +25 -1
- package/dist/power-search-DrDfcoL1.d.ts +68 -0
- package/dist/searchResultMessage-DN0HeRRB.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/{types-JktRxujg.d.ts → types-Cp4liug-.d.ts} +66 -3
- package/dist/{types-BKcxXW--.d.ts → types-CwyibrRB.d.ts} +12 -11
- package/dist/types-DIYwbkpe.d.ts +33 -0
- package/dist/types-jmqqnkKA.d.ts +163 -0
- package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
- package/dist/useDatePresentation-C07PnOCw.js +21 -0
- package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
- package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
- package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
- package/dist/useFieldControlState-voICDrys.js +18 -0
- package/dist/useHandleRef-6cdKugm8.js +17 -0
- package/dist/useIndicator-i1NORM7W.js +147 -0
- package/dist/useMenuDrillIn-OaEwjK44.js +520 -0
- package/dist/useMonthGrid-fGHSSrFc.js +43 -0
- package/dist/usePendingChange-ib-h8FZK.js +25 -0
- package/dist/{useResizable-CeESZS1v.d.ts → useResizable-CUoNPmUw.d.ts} +1 -1
- package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
- package/package.json +9 -1
- package/styles/calendar.css +38 -3
- package/styles/chat.css +469 -1
- package/styles/check-indicator.css +17 -0
- package/styles/checkbox-indicator.css +29 -10
- package/styles/checkbox-input.css +0 -11
- package/styles/date-input.css +48 -0
- package/styles/dropdown-menu.css +163 -0
- package/styles/field.css +48 -0
- package/styles/icon.css +69 -1
- package/styles/input-group.css +32 -3
- package/styles/multi-selector.css +26 -0
- package/styles/power-search.css +303 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles/table.css +304 -1
- package/styles.css +3 -0
- package/dist/Calendar-DqC3EDN1.js +0 -352
- package/dist/Chat-DCjXRiOF.js +0 -1051
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-Crcg-CCj.js +0 -376
- package/dist/DropdownMenu-XvW4BJob.js +0 -164
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Selector-DkJOLZSR.js +0 -468
- package/dist/Table-DwehtMap.js +0 -967
- package/dist/index-BLOEjvaM.d.ts +0 -398
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-CuFLztiI.d.ts +0 -49
- package/dist/index-DJo-BmXZ.d.ts +0 -431
- package/dist/index-IbUN4M8V.d.ts +0 -40
- package/dist/types-DDAAT1Xd.d.ts +0 -285
- package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
- /package/dist/{index-BUXNRekN.d.ts → index-BXkNZF3q.d.ts} +0 -0
package/dist/index-BLOEjvaM.d.ts
DELETED
|
@@ -1,398 +0,0 @@
|
|
|
1
|
-
import { Component, ComputedRef, InjectionKey, VNodeChild } from "vue";
|
|
2
|
-
//#region src/ContextMenu/types.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* Density of the menu rows, from the tightest to the most spacious.
|
|
5
|
-
*
|
|
6
|
-
* The size only changes the rows' block padding; the panel, the radius, and
|
|
7
|
-
* the type stay the same in every size.
|
|
8
|
-
*/
|
|
9
|
-
type ContextMenuSize = 'sm' | 'md' | 'lg';
|
|
10
|
-
/**
|
|
11
|
-
* The element the trigger area renders as.
|
|
12
|
-
*
|
|
13
|
-
* `div` is a block that hugs its content; `span` is an inline wrapper, so a
|
|
14
|
-
* reference inside running prose can own a context menu without breaking the
|
|
15
|
-
* text flow.
|
|
16
|
-
*/
|
|
17
|
-
type ContextMenuTriggerElement = 'div' | 'span';
|
|
18
|
-
/**
|
|
19
|
-
* How the actions are presented.
|
|
20
|
-
*
|
|
21
|
-
* `popover` anchors a menu to the pointer, `bottom-sheet` presents a
|
|
22
|
-
* thumb-reachable sheet, and `adaptive` uses the sheet at 768px and below
|
|
23
|
-
* when the primary pointer is coarse.
|
|
24
|
-
*/
|
|
25
|
-
type ContextMenuPresentation = 'popover' | 'bottom-sheet' | 'adaptive';
|
|
26
|
-
/** A menu width as a number of pixels or any CSS length. */
|
|
27
|
-
type ContextMenuWidth = number | string;
|
|
28
|
-
/**
|
|
29
|
-
* Visual variant of a row. `destructive` paints the label, the description,
|
|
30
|
-
* and the icon in the error color for an action that cannot be undone.
|
|
31
|
-
*/
|
|
32
|
-
type ContextMenuVariant = 'default' | 'destructive';
|
|
33
|
-
/** Where a link row navigates. */
|
|
34
|
-
type ContextMenuItemTarget = '_blank' | '_self';
|
|
35
|
-
/**
|
|
36
|
-
* The artwork of a row: a CSS icon class, or a Vue component that draws the
|
|
37
|
-
* SVG. astryx-vue ships no icons of its own.
|
|
38
|
-
*/
|
|
39
|
-
type ContextMenuItemIcon = string | Component;
|
|
40
|
-
/**
|
|
41
|
-
* One action row in the `items` data API.
|
|
42
|
-
*
|
|
43
|
-
* Every field is also a `ContextMenuItem` prop, so the data API and the
|
|
44
|
-
* compound API describe the same row and cannot drift.
|
|
45
|
-
*/
|
|
46
|
-
interface ContextMenuItemData {
|
|
47
|
-
/**
|
|
48
|
-
* Discriminant of the data API. An action row leaves it unset; a divider or
|
|
49
|
-
* a section sets it.
|
|
50
|
-
*/
|
|
51
|
-
type?: undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Stable identity for the row. Rows are keyed by position when it is
|
|
54
|
-
* omitted, which is correct for a fixed menu; set it when `items` can
|
|
55
|
-
* reorder or filter so a row keeps its DOM node, and its focus, as the
|
|
56
|
-
* array changes around it.
|
|
57
|
-
*/
|
|
58
|
-
id?: string;
|
|
59
|
-
/** Primary label of the row. */
|
|
60
|
-
label: string;
|
|
61
|
-
/** Icon rendered before the label. */
|
|
62
|
-
icon?: ContextMenuItemIcon;
|
|
63
|
-
/** Secondary text rendered below the label. */
|
|
64
|
-
description?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Plain text rendered after the label area. Rich trailing content needs the
|
|
67
|
-
* compound `ContextMenuItem` and its `endContent` slot.
|
|
68
|
-
*/
|
|
69
|
-
endContent?: string | number;
|
|
70
|
-
/** Called when the row is activated, with the click that activated it. */
|
|
71
|
-
onClick?: (event: MouseEvent) => void;
|
|
72
|
-
/** Whether the row is disabled. @default false */
|
|
73
|
-
isDisabled?: boolean;
|
|
74
|
-
/** Visual variant of the row. @default 'default' */
|
|
75
|
-
variant?: ContextMenuVariant;
|
|
76
|
-
/**
|
|
77
|
-
* Whether activating the row closes the menu. Set it to `false` for an
|
|
78
|
-
* action that reports its result on the row itself.
|
|
79
|
-
* @default true
|
|
80
|
-
*/
|
|
81
|
-
hasCloseOnSelect?: boolean;
|
|
82
|
-
/** Address the row navigates to; the row then renders as an anchor. */
|
|
83
|
-
href?: string;
|
|
84
|
-
/** Link target of a link row. */
|
|
85
|
-
target?: ContextMenuItemTarget;
|
|
86
|
-
/** Link relationship of a link row. */
|
|
87
|
-
rel?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Nested entries. When present, the row becomes a submenu that reveals
|
|
90
|
-
* these entries in a flyout beside it instead of acting itself.
|
|
91
|
-
*/
|
|
92
|
-
items?: ContextMenuOption[];
|
|
93
|
-
}
|
|
94
|
-
/** A horizontal rule between groups of rows. */
|
|
95
|
-
interface ContextMenuDividerData {
|
|
96
|
-
type: 'divider';
|
|
97
|
-
}
|
|
98
|
-
/** A titled group of rows. */
|
|
99
|
-
interface ContextMenuSection {
|
|
100
|
-
type: 'section';
|
|
101
|
-
/** Stable identity for the group. */
|
|
102
|
-
id?: string;
|
|
103
|
-
/** Heading shown above the group's rows and used as the group's name. */
|
|
104
|
-
title?: string;
|
|
105
|
-
/** The actions of the group. */
|
|
106
|
-
items: ContextMenuItemData[];
|
|
107
|
-
}
|
|
108
|
-
/** One entry of the `items` data API. */
|
|
109
|
-
type ContextMenuOption = ContextMenuItemData | ContextMenuDividerData | ContextMenuSection;
|
|
110
|
-
interface ContextMenuProps {
|
|
111
|
-
/**
|
|
112
|
-
* The menu entries. Each entry is an action row, a divider, or a section;
|
|
113
|
-
* a row with nested `items` becomes a submenu. Omit it and use the
|
|
114
|
-
* `content` slot for a menu the caller composes itself.
|
|
115
|
-
*/
|
|
116
|
-
items?: ContextMenuOption[];
|
|
117
|
-
/**
|
|
118
|
-
* Width of the menu panel. Numbers are interpreted as pixels. The panel is
|
|
119
|
-
* still capped to the viewport, so a width wider than the screen shrinks
|
|
120
|
-
* instead of overflowing.
|
|
121
|
-
* @default undefined (the panel is at least 160px wide and sizes to its rows)
|
|
122
|
-
*/
|
|
123
|
-
menuWidth?: ContextMenuWidth;
|
|
124
|
-
/**
|
|
125
|
-
* Density of the menu rows.
|
|
126
|
-
* @default 'md'
|
|
127
|
-
*/
|
|
128
|
-
size?: ContextMenuSize;
|
|
129
|
-
/**
|
|
130
|
-
* Accessible name of the menu panel, announced when it opens.
|
|
131
|
-
* @default 'Context menu'
|
|
132
|
-
*/
|
|
133
|
-
label?: string;
|
|
134
|
-
/**
|
|
135
|
-
* When true, the native browser context menu is left untouched and the
|
|
136
|
-
* menu never opens.
|
|
137
|
-
* @default false
|
|
138
|
-
*/
|
|
139
|
-
isDisabled?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* The element the trigger area renders as.
|
|
142
|
-
* @default 'div'
|
|
143
|
-
*/
|
|
144
|
-
triggerAs?: ContextMenuTriggerElement;
|
|
145
|
-
/**
|
|
146
|
-
* How the menu is presented.
|
|
147
|
-
* @default 'popover'
|
|
148
|
-
*/
|
|
149
|
-
presentation?: ContextMenuPresentation;
|
|
150
|
-
/**
|
|
151
|
-
* Open state of the menu. Bind it with `v-model:is-open` to control the
|
|
152
|
-
* menu from the outside; leave it unbound and the menu manages its own
|
|
153
|
-
* state, opening on right-click, the context-menu key, or a long press.
|
|
154
|
-
* @default undefined
|
|
155
|
-
*/
|
|
156
|
-
isOpen?: boolean;
|
|
157
|
-
}
|
|
158
|
-
interface ContextMenuEmits {
|
|
159
|
-
/** Fired when the menu opens or closes. */
|
|
160
|
-
'openChange': [isOpen: boolean];
|
|
161
|
-
/** Fired when a row of the `items` data API is activated. */
|
|
162
|
-
'select': [item: ContextMenuItemData, event: MouseEvent];
|
|
163
|
-
/** Fired by `v-model:isOpen`. */
|
|
164
|
-
'update:isOpen': [isOpen: boolean];
|
|
165
|
-
}
|
|
166
|
-
interface ContextMenuSlots {
|
|
167
|
-
/** The trigger area: right-click on this content to open the menu. */
|
|
168
|
-
default?: () => VNodeChild;
|
|
169
|
-
/**
|
|
170
|
-
* The menu's content for a caller-composed menu. Every row still needs the
|
|
171
|
-
* `menuitem` role and keyboard handling comes from the menu, so compose it
|
|
172
|
-
* from the exported menu components.
|
|
173
|
-
*/
|
|
174
|
-
content?: () => VNodeChild;
|
|
175
|
-
}
|
|
176
|
-
interface ContextMenuItemProps {
|
|
177
|
-
/** Icon rendered before the label. */
|
|
178
|
-
icon?: ContextMenuItemIcon;
|
|
179
|
-
/** Primary label of the row. */
|
|
180
|
-
label?: string | number;
|
|
181
|
-
/** Secondary text rendered below the label. */
|
|
182
|
-
description?: string;
|
|
183
|
-
/**
|
|
184
|
-
* Plain text rendered after the label area. Use the `endContent` slot for
|
|
185
|
-
* rich trailing content such as a badge.
|
|
186
|
-
*/
|
|
187
|
-
endContent?: string | number;
|
|
188
|
-
/** Address the row navigates to; the row then renders as an anchor. */
|
|
189
|
-
href?: string;
|
|
190
|
-
/** Link target, only used with `href`. */
|
|
191
|
-
target?: ContextMenuItemTarget;
|
|
192
|
-
/** Link relationship, only used with `href`. */
|
|
193
|
-
rel?: string;
|
|
194
|
-
/**
|
|
195
|
-
* Whether the row is disabled. A disabled row is dimmed, skipped by arrow
|
|
196
|
-
* keys and typeahead, and cannot be activated.
|
|
197
|
-
* @default false
|
|
198
|
-
*/
|
|
199
|
-
isDisabled?: boolean;
|
|
200
|
-
/**
|
|
201
|
-
* Whether activating the row closes the menu.
|
|
202
|
-
* @default true
|
|
203
|
-
*/
|
|
204
|
-
hasCloseOnSelect?: boolean;
|
|
205
|
-
/**
|
|
206
|
-
* Visual variant of the row.
|
|
207
|
-
* @default 'default'
|
|
208
|
-
*/
|
|
209
|
-
variant?: ContextMenuVariant;
|
|
210
|
-
}
|
|
211
|
-
interface ContextMenuItemEmits {
|
|
212
|
-
/** Fired when the row is activated, with the click that activated it. */
|
|
213
|
-
click: [event: MouseEvent];
|
|
214
|
-
}
|
|
215
|
-
interface ContextMenuItemSlots {
|
|
216
|
-
/** Rich content replacing the `label` prop. */
|
|
217
|
-
label?: () => VNodeChild;
|
|
218
|
-
/** Leading content replacing the `icon` prop. */
|
|
219
|
-
icon?: () => VNodeChild;
|
|
220
|
-
/** Rich content replacing the `description` prop. */
|
|
221
|
-
description?: () => VNodeChild;
|
|
222
|
-
/** Trailing content after the label area. */
|
|
223
|
-
endContent?: () => VNodeChild;
|
|
224
|
-
}
|
|
225
|
-
interface ContextMenuDividerProps {
|
|
226
|
-
/**
|
|
227
|
-
* The divider's weight. `subtle` is the hairline drawn between menu rows.
|
|
228
|
-
* @default 'subtle'
|
|
229
|
-
*/
|
|
230
|
-
variant?: 'subtle' | 'strong';
|
|
231
|
-
}
|
|
232
|
-
interface ContextMenuGroupProps {
|
|
233
|
-
/**
|
|
234
|
-
* Heading shown above the group's rows and used as the group's accessible
|
|
235
|
-
* name. Omit it for an unnamed group.
|
|
236
|
-
*/
|
|
237
|
-
title?: string;
|
|
238
|
-
}
|
|
239
|
-
interface ContextMenuGroupSlots {
|
|
240
|
-
/** The group's rows: menu items, dividers, submenus. */
|
|
241
|
-
default?: () => VNodeChild;
|
|
242
|
-
}
|
|
243
|
-
interface ContextMenuSubMenuProps {
|
|
244
|
-
/** Icon rendered before the label. */
|
|
245
|
-
icon?: ContextMenuItemIcon;
|
|
246
|
-
/** Primary label of the row. */
|
|
247
|
-
label?: string | number;
|
|
248
|
-
/** Secondary text rendered below the label. */
|
|
249
|
-
description?: string;
|
|
250
|
-
/**
|
|
251
|
-
* Whether the row is disabled and can neither be opened nor activated.
|
|
252
|
-
* @default false
|
|
253
|
-
*/
|
|
254
|
-
isDisabled?: boolean;
|
|
255
|
-
/** The entries revealed in the flyout. */
|
|
256
|
-
items?: ContextMenuOption[];
|
|
257
|
-
}
|
|
258
|
-
interface ContextMenuSubMenuEmits {
|
|
259
|
-
/** Fired when the flyout opens or closes. */
|
|
260
|
-
openChange: [isOpen: boolean];
|
|
261
|
-
/** Fired when a row inside the flyout is activated, re-emitted upward. */
|
|
262
|
-
select: [item: ContextMenuItemData, event: MouseEvent];
|
|
263
|
-
}
|
|
264
|
-
interface ContextMenuSubMenuSlots {
|
|
265
|
-
/** Rich content replacing the `label` prop. */
|
|
266
|
-
label?: () => VNodeChild;
|
|
267
|
-
/** Leading content replacing the `icon` prop. */
|
|
268
|
-
icon?: () => VNodeChild;
|
|
269
|
-
/** Rich content replacing the `description` prop. */
|
|
270
|
-
description?: () => VNodeChild;
|
|
271
|
-
/** Trailing content replacing the chevron. */
|
|
272
|
-
endContent?: () => VNodeChild;
|
|
273
|
-
/** The flyout's rows, replacing the `items` prop. */
|
|
274
|
-
default?: () => VNodeChild;
|
|
275
|
-
}
|
|
276
|
-
//#endregion
|
|
277
|
-
//#region src/ContextMenu/context.d.ts
|
|
278
|
-
/**
|
|
279
|
-
* What a `ContextMenu` tells the rows and submenus inside it.
|
|
280
|
-
*
|
|
281
|
-
* Every member is a ref or a computed, so a row that reads the context keeps
|
|
282
|
-
* following the menu's own props after mount instead of freezing at the
|
|
283
|
-
* values present when the menu was created. `closeMenu` reads the menu's live
|
|
284
|
-
* open state each time it runs, so it stays correct as well.
|
|
285
|
-
*/
|
|
286
|
-
interface ContextMenuContextValue {
|
|
287
|
-
/**
|
|
288
|
-
* Close the menu. `restoreFocus` puts focus back on the element that was
|
|
289
|
-
* focused before the menu opened; keyboard dismissal asks for it, a
|
|
290
|
-
* pointer-driven dismissal does not.
|
|
291
|
-
*/
|
|
292
|
-
closeMenu: (options?: {
|
|
293
|
-
restoreFocus?: boolean;
|
|
294
|
-
}) => void;
|
|
295
|
-
/** Whether the menu is currently open. */
|
|
296
|
-
isOpen: ComputedRef<boolean>;
|
|
297
|
-
/** The menu's accessible name, used by a submenu flyout's rows. */
|
|
298
|
-
menuLabel: ComputedRef<string>;
|
|
299
|
-
/** Density of the rows inside this menu. */
|
|
300
|
-
menuSize: ComputedRef<ContextMenuSize>;
|
|
301
|
-
}
|
|
302
|
-
/** The surrounding menu, or `undefined` when the row stands alone. */
|
|
303
|
-
declare function useContextMenu(): ContextMenuContextValue | undefined;
|
|
304
|
-
/** The row density of the surrounding menu, or the menu default. */
|
|
305
|
-
declare function useContextMenuSize(): ComputedRef<ContextMenuSize>;
|
|
306
|
-
//#endregion
|
|
307
|
-
//#region src/ContextMenu/ContextMenu.vue.d.ts
|
|
308
|
-
type __VLS_Props = ContextMenuProps;
|
|
309
|
-
type __VLS_Slots$3 = ContextMenuSlots;
|
|
310
|
-
type __VLS_ModelProps = {
|
|
311
|
-
'isOpen'?: boolean | undefined;
|
|
312
|
-
};
|
|
313
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
314
|
-
declare const __VLS_base$3: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
315
|
-
blur: () => void | undefined;
|
|
316
|
-
close: () => void;
|
|
317
|
-
element: import("vue").ComputedRef<HTMLElement | null>;
|
|
318
|
-
focus: () => void | undefined;
|
|
319
|
-
open: () => void;
|
|
320
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
321
|
-
openChange: (isOpen: boolean) => any;
|
|
322
|
-
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
323
|
-
"update:isOpen": (...args: unknown[]) => any;
|
|
324
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
325
|
-
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
326
|
-
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
327
|
-
"onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
328
|
-
}>, {
|
|
329
|
-
label: string;
|
|
330
|
-
isDisabled: boolean;
|
|
331
|
-
size: ContextMenuSize;
|
|
332
|
-
presentation: ContextMenuPresentation;
|
|
333
|
-
triggerAs: ContextMenuTriggerElement;
|
|
334
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
335
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
336
|
-
declare const _default$4: typeof __VLS_export$4;
|
|
337
|
-
type __VLS_WithSlots$3<T, S> = T & {
|
|
338
|
-
new (): {
|
|
339
|
-
$slots: S;
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
//#endregion
|
|
343
|
-
//#region src/ContextMenu/ContextMenuDivider.vue.d.ts
|
|
344
|
-
declare const __VLS_export$3: import("vue").DefineComponent<ContextMenuDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextMenuDividerProps> & Readonly<{}>, {
|
|
345
|
-
variant: "subtle" | "strong";
|
|
346
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
347
|
-
declare const _default$3: typeof __VLS_export$3;
|
|
348
|
-
//#endregion
|
|
349
|
-
//#region src/ContextMenu/ContextMenuGroup.vue.d.ts
|
|
350
|
-
type __VLS_Slots$2 = ContextMenuGroupSlots;
|
|
351
|
-
declare const __VLS_base$2: import("vue").DefineComponent<ContextMenuGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextMenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
352
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
353
|
-
declare const _default$2: typeof __VLS_export$2;
|
|
354
|
-
type __VLS_WithSlots$2<T, S> = T & {
|
|
355
|
-
new (): {
|
|
356
|
-
$slots: S;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
//#endregion
|
|
360
|
-
//#region src/ContextMenu/ContextMenuItem.vue.d.ts
|
|
361
|
-
type __VLS_Slots$1 = ContextMenuItemSlots;
|
|
362
|
-
declare const __VLS_base$1: import("vue").DefineComponent<ContextMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
363
|
-
click: (event: MouseEvent) => any;
|
|
364
|
-
}, string, import("vue").PublicProps, Readonly<ContextMenuItemProps> & Readonly<{
|
|
365
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
366
|
-
}>, {
|
|
367
|
-
isDisabled: boolean;
|
|
368
|
-
variant: ContextMenuVariant;
|
|
369
|
-
hasCloseOnSelect: boolean;
|
|
370
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
371
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
372
|
-
declare const _default$1: typeof __VLS_export$1;
|
|
373
|
-
type __VLS_WithSlots$1<T, S> = T & {
|
|
374
|
-
new (): {
|
|
375
|
-
$slots: S;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/ContextMenu/ContextMenuSubMenu.vue.d.ts
|
|
380
|
-
type __VLS_Slots = ContextMenuSubMenuSlots;
|
|
381
|
-
declare const __VLS_base: import("vue").DefineComponent<ContextMenuSubMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
382
|
-
openChange: (isOpen: boolean) => any;
|
|
383
|
-
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
384
|
-
}, string, import("vue").PublicProps, Readonly<ContextMenuSubMenuProps> & Readonly<{
|
|
385
|
-
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
386
|
-
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
387
|
-
}>, {
|
|
388
|
-
isDisabled: boolean;
|
|
389
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
390
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
391
|
-
declare const _default: typeof __VLS_export;
|
|
392
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
393
|
-
new (): {
|
|
394
|
-
$slots: S;
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
//#endregion
|
|
398
|
-
export { ContextMenuWidth as A, ContextMenuSize as C, ContextMenuSubMenuSlots as D, ContextMenuSubMenuProps as E, ContextMenuTriggerElement as O, ContextMenuSection as S, ContextMenuSubMenuEmits as T, ContextMenuItemSlots as _, _default$4 as a, ContextMenuPresentation as b, ContextMenuDividerData as c, ContextMenuGroupProps as d, ContextMenuGroupSlots as f, ContextMenuItemProps as g, ContextMenuItemIcon as h, _default$3 as i, ContextMenuVariant as k, ContextMenuDividerProps as l, ContextMenuItemEmits as m, _default$1 as n, useContextMenu as o, ContextMenuItemData as p, _default$2 as r, useContextMenuSize as s, _default as t, ContextMenuEmits as u, ContextMenuItemTarget as v, ContextMenuSlots as w, ContextMenuProps as x, ContextMenuOption as y };
|
package/dist/index-Bgv4ZmBl.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { CalendarDate } from "@internationalized/date";
|
|
2
|
-
//#region src/Calendar/types.d.ts
|
|
3
|
-
interface CalendarRangeValue {
|
|
4
|
-
start: Date | null;
|
|
5
|
-
end: Date | null;
|
|
6
|
-
}
|
|
7
|
-
interface CalendarProps {
|
|
8
|
-
/** 当前选中的日期。`mode="range"` 时改用 `range`。 */
|
|
9
|
-
modelValue?: Date | null;
|
|
10
|
-
/** 选一天,或选一段起止日期。 */
|
|
11
|
-
mode?: 'single' | 'range';
|
|
12
|
-
/** 范围模式下的起止日期,用 `v-model:range` 绑定。 */
|
|
13
|
-
range?: CalendarRangeValue | null;
|
|
14
|
-
/** 并排显示的月份数。 */
|
|
15
|
-
numberOfMonths?: 1 | 2;
|
|
16
|
-
/** 打开时先显示这一天所在的月份。 */
|
|
17
|
-
focusDate?: Date;
|
|
18
|
-
/** 最小可选日期 */
|
|
19
|
-
min?: Date;
|
|
20
|
-
/** 最大可选日期 */
|
|
21
|
-
max?: Date;
|
|
22
|
-
/** 禁用的日期判断函数 */
|
|
23
|
-
isDateDisabled?: (date: Date) => boolean;
|
|
24
|
-
/** 日历标签 */
|
|
25
|
-
label?: string;
|
|
26
|
-
/** 是否禁用 */
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
}
|
|
29
|
-
interface CalendarEmits {
|
|
30
|
-
(event: 'update:modelValue', value: Date | null): void;
|
|
31
|
-
(event: 'update:range', value: CalendarRangeValue): void;
|
|
32
|
-
(event: 'change', value: Date | null): void;
|
|
33
|
-
}
|
|
34
|
-
interface CalendarSlots {
|
|
35
|
-
/** 自定义日期单元格 */
|
|
36
|
-
day?: (props: {
|
|
37
|
-
date: CalendarDate;
|
|
38
|
-
isSelected: boolean;
|
|
39
|
-
isDisabled: boolean;
|
|
40
|
-
isToday: boolean;
|
|
41
|
-
isInMonth: boolean;
|
|
42
|
-
}) => any;
|
|
43
|
-
/** 自定义头部 */
|
|
44
|
-
header?: () => any;
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region src/Calendar/Calendar.vue.d.ts
|
|
48
|
-
type __VLS_Slots = CalendarSlots;
|
|
49
|
-
declare const __VLS_base: import("vue").DefineComponent<CalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
|
-
change: (value: Date | null) => any;
|
|
51
|
-
"update:modelValue": (value: Date | null) => any;
|
|
52
|
-
"update:range": (value: CalendarRangeValue) => any;
|
|
53
|
-
}, string, import("vue").PublicProps, Readonly<CalendarProps> & Readonly<{
|
|
54
|
-
onChange?: ((value: Date | null) => any) | undefined;
|
|
55
|
-
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
56
|
-
"onUpdate:range"?: ((value: CalendarRangeValue) => any) | undefined;
|
|
57
|
-
}>, {
|
|
58
|
-
modelValue: Date | null;
|
|
59
|
-
mode: "single" | "range";
|
|
60
|
-
disabled: boolean;
|
|
61
|
-
range: CalendarRangeValue | null;
|
|
62
|
-
numberOfMonths: 1 | 2;
|
|
63
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
64
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
65
|
-
declare const _default: typeof __VLS_export;
|
|
66
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
-
new (): {
|
|
68
|
-
$slots: S;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
//#endregion
|
|
72
|
-
export { CalendarSlots as a, CalendarRangeValue as i, CalendarEmits as n, CalendarProps as r, _default as t };
|
package/dist/index-CuFLztiI.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
//#region src/Badge/types.d.ts
|
|
2
|
-
interface BadgeVariantMap {
|
|
3
|
-
blue: true;
|
|
4
|
-
cyan: true;
|
|
5
|
-
error: true;
|
|
6
|
-
green: true;
|
|
7
|
-
info: true;
|
|
8
|
-
neutral: true;
|
|
9
|
-
orange: true;
|
|
10
|
-
pink: true;
|
|
11
|
-
purple: true;
|
|
12
|
-
red: true;
|
|
13
|
-
success: true;
|
|
14
|
-
teal: true;
|
|
15
|
-
warning: true;
|
|
16
|
-
yellow: true;
|
|
17
|
-
}
|
|
18
|
-
type BadgeVariant = Extract<keyof BadgeVariantMap, string>;
|
|
19
|
-
interface BadgeProps {
|
|
20
|
-
/**
|
|
21
|
-
* The visual style of the badge.
|
|
22
|
-
*
|
|
23
|
-
* @default 'neutral'
|
|
24
|
-
*/
|
|
25
|
-
variant?: BadgeVariant;
|
|
26
|
-
/**
|
|
27
|
-
* Badge text. A string or number is also set as the title so a clipped
|
|
28
|
-
* label stays reachable. The default slot overrides this when both are set.
|
|
29
|
-
*/
|
|
30
|
-
label?: string | number;
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region src/Badge/Badge.vue.d.ts
|
|
34
|
-
type __VLS_Slots = {
|
|
35
|
-
default?: () => unknown;
|
|
36
|
-
icon?: () => unknown;
|
|
37
|
-
};
|
|
38
|
-
declare const __VLS_base: import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
39
|
-
variant: BadgeVariant;
|
|
40
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
-
declare const _default: typeof __VLS_export;
|
|
43
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
-
new (): {
|
|
45
|
-
$slots: S;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
export { BadgeVariantMap as i, BadgeProps as n, BadgeVariant as r, _default as t };
|