@astryx-vue/core 0.2.2 → 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-Cb41gIAj.js → AppShell-Dd-D4bA2.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -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-CTQ7fjDn.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-X0cuQkvg.js → Carousel-JA7ilqI_.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-M0tiGrNT.js → Chat-C7WrCOE4.js} +3 -3
- 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-C1veUk5p.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-DesTJAkm.js → CodeBlock-BZGzYeoL.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BArt97V8.js → CommandPalette-BNbM9T9y.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-LtbLlrcj.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-9Im6i43E.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-DwDy3eRo.js → DateRangeInput-DlVFzrf7.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-C7Z-p6Yd.js} +54 -15
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-Dh-WAHKb.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-DLO6V12n.js → FileInput-QdlZn7qK.js} +2 -2
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
- 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-CdFCS_EA.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-BqKloI3w.js → Markdown-B6tSqenv.js} +8 -5
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CvZkmisf.js → MetadataList-aN1tRn6W.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-fqcSafkc.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B3brqdK_.js} +1 -1
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C-ETfFy_.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.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DjetVB8O.js → NumberInput-CBeU4lEl.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bz9c-u5y.js → Outline--HVMSB6i.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-ED-KN9Y5.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-Cb66HMEf.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 +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-CMG7Rb69.js} +14 -14
- 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.js +1 -1
- package/dist/{Resizable-D-TBCg0Y.js → Resizable-CXpvj1TZ.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-BpPnuWH3.js +618 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DonEfiAx.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-D2ZIcUNx.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-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CrP2Uffq.js → Table-nqA_njNz.js} +6 -6
- 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-BC5JGPGZ.js → Thumbnail-CXb3m_Hv.js} +2 -2
- package/dist/{TimeField-DpHFrNv0.js → TimeField-B3cndWb0.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJLV0_4z.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-GKNjjt5g.js → Timestamp-Cfuxbb3i.js} +2 -2
- 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-Chu_eCVs.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-DRDpvQ_l.js → Tokenizer-DlD-S_8-.js} +3 -3
- 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-CEyWddtA.js → TopNav-DzV874G7.js} +5 -5
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-COS8US8e.js → TreeList-DEwvlZRV.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-P7cCqtaQ.js → Typeahead-DQ3tmqYe.js} +3 -3
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +2 -2
- 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-CiKncNSH.js → context-DmOLCubj.js} +82 -8
- package/dist/{index-DimuSES0.d.ts → index-B1x05arQ.d.ts} +3 -1
- package/dist/index-B9f1rUEv.d.ts +77 -0
- package/dist/{index-D-ZuubCK.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-DNRBbwp_.d.ts → index-BTAgQRP0.d.ts} +758 -111
- 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-DGXviOlp.d.ts → index-C2sfHfBw.d.ts} +31 -5
- package/dist/{index-By2mSzUA.d.ts → index-CA6RbRWx.d.ts} +1 -1
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-CRizexSC.d.ts → index-Ch6BbxCP.d.ts} +2 -67
- package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-kVhSuA9t.d.ts → index-Ctu32CLv.d.ts} +4 -4
- package/dist/{index-DOUEn7V0.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-D4I_obqR.d.ts → index-DAiGhkNZ.d.ts} +1 -1
- package/dist/{index-Cs5pcwY3.d.ts → index-DMQG6kdM.d.ts} +3 -3
- package/dist/index-D_UEJIU5.d.ts +83 -0
- package/dist/{index-fa72tWIU.d.ts → index-DkVEBdWa.d.ts} +2 -2
- package/dist/{index-B1TG2GPS.d.ts → index-DxsKyAxq.d.ts} +116 -44
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/{index-qiZtHnGK.d.ts → index-LIyvJTW3.d.ts} +39 -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-C7mxUcDR.d.ts → index-f4NGT-e2.d.ts} +4 -4
- package/dist/{index-DsyKhauk.d.ts → index-foQMNKZO.d.ts} +1 -1
- package/dist/{index-u5ozu0G7.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 +76 -75
- package/dist/index.js +115 -107
- 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/searchResultMessage-DN0HeRRB.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
- 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/useSubmenuMode-CZN9qrUo.js +37 -0
- package/package.json +5 -1
- package/styles/calendar.css +38 -3
- 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 +51 -3
- package/styles/input-group.css +32 -3
- package/styles/multi-selector.css +26 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles.css +2 -0
- package/dist/Calendar-BFaI5AMv.js +0 -352
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-BLocxqC3.js +0 -376
- package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Selector-DE2IEFML.js +0 -468
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-DN7MXPHM.d.ts +0 -398
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ButtonElevation, o as ButtonRootElement, s as ButtonSize, u as ButtonVariant } from "./types-WlmsNL1I.js";
|
|
2
2
|
import "./index-CGEC2zgy.js";
|
|
3
3
|
import { n as SpacingStep } from "./types-D7QNSqoN.js";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-CA6RbRWx.js";
|
|
5
5
|
import "./index-COqjznX0.js";
|
|
6
6
|
import { o as AvatarShape, s as AvatarSize } from "./index-Bu3oXIIS.js";
|
|
7
7
|
import "./index-B9WzWqzk.js";
|
|
@@ -9,25 +9,24 @@ import "./index-CFfXQMkd.js";
|
|
|
9
9
|
import "./index-C8wDPDcP.js";
|
|
10
10
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
11
11
|
import { u as ListDensity } from "./types-CAZY4Xua.js";
|
|
12
|
-
import "./
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import {
|
|
12
|
+
import { N as DropdownMenuSubMenuPresentation } from "./DropdownMenuRadioItem.vue-uVM0FD2f.js";
|
|
13
|
+
import "./index-B1x05arQ.js";
|
|
14
|
+
import "./index-f4NGT-e2.js";
|
|
15
|
+
import { Ct as NativePicker, Tt as TimePresentation, _t as DatePresentation, an as ISODateRange, f as ScrollAxis, g as ScrollStickyContainment, h as ScrollRole, m as ScrollOverscroll, sn as WeekStartsOn, xt as HourFormat } from "./index-DxsKyAxq.js";
|
|
16
|
+
import { n as CardElevation, o as CardVariant, r as CardProps } from "./index-D7-WTV6I.js";
|
|
16
17
|
import "./index-CsVS37na.js";
|
|
17
18
|
import "./index-CEB7Ywvw.js";
|
|
18
|
-
import "./index-
|
|
19
|
+
import "./index-Ctu32CLv.js";
|
|
19
20
|
import { i as CheckboxSize } from "./index-DEiLb6hI.js";
|
|
20
21
|
import { c as FieldStatusType, l as FieldStatusVariant, n as FieldLabelSlots, o as FieldStatusInput, t as FieldLabelProps } from "./types-3eXh_5os.js";
|
|
21
22
|
import "./index-iHf0OCyv.js";
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./index-
|
|
23
|
+
import "./index-foQMNKZO.js";
|
|
24
|
+
import "./index-BcJBLWJ0.js";
|
|
24
25
|
import "./index-Be1czg3M.js";
|
|
25
|
-
import "./index-
|
|
26
|
-
import {
|
|
27
|
-
import "./index-
|
|
28
|
-
import "./index-CZeoAr0a.js";
|
|
26
|
+
import "./index-ChWlKHjc.js";
|
|
27
|
+
import { u as MenuDrillIn } from "./index-BRfR0lhb.js";
|
|
28
|
+
import "./index-xfkEuGLY.js";
|
|
29
29
|
import "./index-HV6W3xCx.js";
|
|
30
|
-
import "./index-CJlBAXwj.js";
|
|
31
30
|
import "./index--Xrukl7L.js";
|
|
32
31
|
import "./index-iBLzInje.js";
|
|
33
32
|
import "./index-Da7Jm8Ht.js";
|
|
@@ -35,55 +34,57 @@ import "./index-BrJzFA5X.js";
|
|
|
35
34
|
import "./index-CDDMDHJM.js";
|
|
36
35
|
import "./index-CGZ2xi3r.js";
|
|
37
36
|
import "./index-kaKBOZSU.js";
|
|
38
|
-
import "./index-
|
|
37
|
+
import "./index-vP0EtrJJ.js";
|
|
39
38
|
import "./index-Yl4kJKpq.js";
|
|
40
|
-
import "./index-
|
|
39
|
+
import "./index-B9f1rUEv.js";
|
|
40
|
+
import "./index-D_UEJIU5.js";
|
|
41
41
|
import "./index-BtrAhmSP.js";
|
|
42
42
|
import "./index-CDdRQQF3.js";
|
|
43
43
|
import { n as SizeValue, t as PaddingInput } from "./size-BuTzpgnR.js";
|
|
44
44
|
import "./index-1AZ4KZhg.js";
|
|
45
45
|
import "./index-Dg3ZmwEg.js";
|
|
46
|
-
import "./index-
|
|
47
|
-
import { l as AstryxLocale } from "./index-
|
|
46
|
+
import "./index-BB5yVIN-.js";
|
|
47
|
+
import { l as AstryxLocale } from "./index-LIyvJTW3.js";
|
|
48
48
|
import "./index-DfgHJE7H.js";
|
|
49
49
|
import "./index-utZGF4GR.js";
|
|
50
50
|
import "./index-BeR-1LgF.js";
|
|
51
|
-
import "./index-
|
|
51
|
+
import "./index-D1Twv_fL.js";
|
|
52
52
|
import { a as NavItemSize, s as NavLinkComponent } from "./types-BG23kC3S.js";
|
|
53
|
-
import "./index-
|
|
53
|
+
import "./index-DkVEBdWa.js";
|
|
54
54
|
import "./index-D0TlUOtG.js";
|
|
55
|
-
import "./index-
|
|
55
|
+
import "./index-DAiGhkNZ.js";
|
|
56
56
|
import "./index-Cn-sSds-.js";
|
|
57
57
|
import "./index-BDZCJ9ri.js";
|
|
58
|
-
import "./index-
|
|
59
|
-
import "./index-
|
|
60
|
-
import "./index-
|
|
61
|
-
import "./index-
|
|
58
|
+
import "./index-D8o50qOE.js";
|
|
59
|
+
import "./index-BMn9ghAX.js";
|
|
60
|
+
import "./index-DMQG6kdM.js";
|
|
61
|
+
import "./index-ViSV0RBx.js";
|
|
62
62
|
import "./index-nCEmW6wa.js";
|
|
63
63
|
import "./index-nKlTsNfV.js";
|
|
64
|
-
import "./index-
|
|
65
|
-
import "./index-
|
|
64
|
+
import "./index-COxy6LEW.js";
|
|
65
|
+
import "./index-C2sfHfBw.js";
|
|
66
66
|
import "./index-Dt_9IR_M.js";
|
|
67
67
|
import "./index-BIPc1v82.js";
|
|
68
68
|
import "./index-yaS9_EpM.js";
|
|
69
|
-
import "./index-
|
|
69
|
+
import "./index-MPcg1Pm4.js";
|
|
70
70
|
import "./index-BmAxqw1G.js";
|
|
71
|
-
import "./index-
|
|
71
|
+
import "./index-Ca8VIE4l.js";
|
|
72
72
|
import "./index-CngORuiq.js";
|
|
73
|
-
import "./index-
|
|
73
|
+
import "./index-C-QpeUlQ.js";
|
|
74
74
|
import { a as TextSize, n as TextColor, o as TextType, s as TextWeight } from "./types-Bt-lSgYX.js";
|
|
75
75
|
import "./index-Cm_TiLXU.js";
|
|
76
|
-
import "./index-
|
|
76
|
+
import "./index-Ch6BbxCP.js";
|
|
77
77
|
import "./index-CtlkhQ55.js";
|
|
78
78
|
import "./index-BMrggCw-.js";
|
|
79
79
|
import "./index-Bt7ewoz2.js";
|
|
80
|
-
import "./index-
|
|
81
|
-
import "./index-
|
|
80
|
+
import "./index-BXkNZF3q.js";
|
|
81
|
+
import "./index-FEy8qFSD.js";
|
|
82
82
|
import "./index-C5p2NeCr.js";
|
|
83
83
|
import "./index-C_2Z65Rp.js";
|
|
84
|
-
import "./index-
|
|
84
|
+
import "./index-Bqb_Fyju.js";
|
|
85
85
|
import "./index-DGV6SCWO.js";
|
|
86
86
|
import { Component, ComputedRef, InjectionKey, Ref, VNode, VNodeChild } from "vue";
|
|
87
|
+
import { CalendarDate } from "@internationalized/date";
|
|
87
88
|
//#region src/Banner/types.d.ts
|
|
88
89
|
type BannerStatus = 'info' | 'warning' | 'error' | 'success';
|
|
89
90
|
type BannerContainer = 'card' | 'section';
|
|
@@ -114,18 +115,18 @@ interface BannerSlots {
|
|
|
114
115
|
}
|
|
115
116
|
//#endregion
|
|
116
117
|
//#region src/Banner/Banner.vue.d.ts
|
|
117
|
-
type __VLS_Props$
|
|
118
|
-
type __VLS_Slots$
|
|
119
|
-
type __VLS_ModelProps$
|
|
118
|
+
type __VLS_Props$16 = Omit<BannerProps, 'isOpen'>;
|
|
119
|
+
type __VLS_Slots$36 = BannerSlots;
|
|
120
|
+
type __VLS_ModelProps$16 = {
|
|
120
121
|
'isOpen'?: boolean | undefined;
|
|
121
122
|
};
|
|
122
|
-
type __VLS_PublicProps$
|
|
123
|
-
declare const __VLS_base$
|
|
123
|
+
type __VLS_PublicProps$16 = __VLS_Props$16 & __VLS_ModelProps$16;
|
|
124
|
+
declare const __VLS_base$36: import("vue").DefineComponent<__VLS_PublicProps$16, {
|
|
124
125
|
element: import("vue").ComputedRef<HTMLDivElement | null>;
|
|
125
126
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
126
127
|
"update:isOpen": (value: boolean | undefined) => any;
|
|
127
128
|
dismiss: () => any;
|
|
128
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$
|
|
129
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$16> & Readonly<{
|
|
129
130
|
"onUpdate:isOpen"?: ((value: boolean | undefined) => any) | undefined;
|
|
130
131
|
onDismiss?: (() => any) | undefined;
|
|
131
132
|
}>, {
|
|
@@ -136,9 +137,9 @@ declare const __VLS_base$31: import("vue").DefineComponent<__VLS_PublicProps$15,
|
|
|
136
137
|
collapsible: boolean;
|
|
137
138
|
defaultIsOpen: boolean;
|
|
138
139
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
139
|
-
declare const __VLS_export$
|
|
140
|
-
declare const _default$
|
|
141
|
-
type __VLS_WithSlots$
|
|
140
|
+
declare const __VLS_export$45: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
|
|
141
|
+
declare const _default$45: typeof __VLS_export$45;
|
|
142
|
+
type __VLS_WithSlots$36<T, S> = T & {
|
|
142
143
|
new (): {
|
|
143
144
|
$slots: S;
|
|
144
145
|
};
|
|
@@ -165,18 +166,126 @@ interface ButtonGroupSlots {
|
|
|
165
166
|
}
|
|
166
167
|
//#endregion
|
|
167
168
|
//#region src/ButtonGroup/ButtonGroup.vue.d.ts
|
|
168
|
-
type __VLS_Slots$
|
|
169
|
-
declare const __VLS_base$
|
|
169
|
+
type __VLS_Slots$35 = ButtonGroupSlots;
|
|
170
|
+
declare const __VLS_base$35: import("vue").DefineComponent<ButtonGroupProps, {
|
|
170
171
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
171
172
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
172
|
-
size: ButtonSize;
|
|
173
|
-
elevation: ButtonElevation;
|
|
174
173
|
isDisabled: boolean;
|
|
174
|
+
elevation: ButtonElevation;
|
|
175
175
|
orientation: ButtonGroupOrientation;
|
|
176
|
+
size: ButtonSize;
|
|
176
177
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
177
|
-
declare const __VLS_export$
|
|
178
|
-
declare const _default$
|
|
179
|
-
type __VLS_WithSlots$
|
|
178
|
+
declare const __VLS_export$44: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
|
|
179
|
+
declare const _default$44: typeof __VLS_export$44;
|
|
180
|
+
type __VLS_WithSlots$35<T, S> = T & {
|
|
181
|
+
new (): {
|
|
182
|
+
$slots: S;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
//#endregion
|
|
186
|
+
//#region src/Calendar/types.d.ts
|
|
187
|
+
interface CalendarRangeValue {
|
|
188
|
+
start: Date | null;
|
|
189
|
+
end: Date | null;
|
|
190
|
+
}
|
|
191
|
+
interface CalendarHandle {
|
|
192
|
+
/** 把可见月份移到这一天,并把键盘焦点放到这一天。 */
|
|
193
|
+
navigateTo: (date: Date) => void;
|
|
194
|
+
}
|
|
195
|
+
type CalendarHandleRef = Ref<CalendarHandle | null> | ((handle: CalendarHandle | null) => void);
|
|
196
|
+
interface CalendarProps {
|
|
197
|
+
/** 当前选中的日期。`mode="range"` 时改用 `range`。 */
|
|
198
|
+
modelValue?: Date | null;
|
|
199
|
+
/** 选一天,或选一段起止日期。 */
|
|
200
|
+
mode?: 'single' | 'range';
|
|
201
|
+
/** 范围模式下的起止日期,用 `v-model:range` 绑定。 */
|
|
202
|
+
range?: CalendarRangeValue | null;
|
|
203
|
+
/** 并排显示的月份数。 */
|
|
204
|
+
numberOfMonths?: 1 | 2;
|
|
205
|
+
/**
|
|
206
|
+
* 先显示这一天所在的月份。
|
|
207
|
+
* 配合 `v-model:focus-date` 时,翻月会把新月份交还给外面。
|
|
208
|
+
*/
|
|
209
|
+
focusDate?: Date;
|
|
210
|
+
/** 最小可选日期 */
|
|
211
|
+
min?: Date;
|
|
212
|
+
/** 最大可选日期 */
|
|
213
|
+
max?: Date;
|
|
214
|
+
/** 返回 true 时禁用这一天。和 `dateConstraints` 一起生效。 */
|
|
215
|
+
isDateDisabled?: (date: Date) => boolean;
|
|
216
|
+
/** 任一函数返回 false 时禁用这一天。 */
|
|
217
|
+
dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
|
|
218
|
+
/**
|
|
219
|
+
* 范围最短天数,含两端。2 表示不能只选同一天。
|
|
220
|
+
* 起点已经选中后,比这个更近的日期不可选;再点一次起点会取消这次选择。
|
|
221
|
+
*/
|
|
222
|
+
minRangeSpan?: number;
|
|
223
|
+
/**
|
|
224
|
+
* 范围最长天数,含两端。7 表示从起点起最多七天。
|
|
225
|
+
* 起点还没选中时,这个限制不生效。
|
|
226
|
+
*/
|
|
227
|
+
maxRangeSpan?: number;
|
|
228
|
+
/** 显示相邻月份的日期。这些日期只用来补齐格子,不能选。 */
|
|
229
|
+
hasOutsideDays?: boolean;
|
|
230
|
+
/** 在每一行左侧显示 ISO 周数。 */
|
|
231
|
+
hasWeekNumbers?: boolean;
|
|
232
|
+
/** 按当月收缩行数。关闭时固定六行,高度不变。 */
|
|
233
|
+
hasVariableRowCount?: boolean;
|
|
234
|
+
/** 一周的第一天。0 是周日,也可以写 sun、mon 这样的缩写。 */
|
|
235
|
+
weekStartsOn?: WeekStartsOn;
|
|
236
|
+
/** 命令式翻月。`navigateTo` 会显示那一天所在的月份并聚焦它。 */
|
|
237
|
+
handleRef?: CalendarHandleRef;
|
|
238
|
+
/** 日历标签 */
|
|
239
|
+
label?: string;
|
|
240
|
+
/** 是否禁用 */
|
|
241
|
+
disabled?: boolean;
|
|
242
|
+
}
|
|
243
|
+
interface CalendarEmits {
|
|
244
|
+
(event: 'update:modelValue', value: Date | null): void;
|
|
245
|
+
(event: 'update:range', value: CalendarRangeValue): void;
|
|
246
|
+
(event: 'update:focusDate', value: Date): void;
|
|
247
|
+
(event: 'change', value: Date | null): void;
|
|
248
|
+
}
|
|
249
|
+
interface CalendarSlots {
|
|
250
|
+
/** 自定义日期单元格 */
|
|
251
|
+
day?: (props: {
|
|
252
|
+
date: CalendarDate;
|
|
253
|
+
isSelected: boolean;
|
|
254
|
+
isDisabled: boolean;
|
|
255
|
+
isToday: boolean;
|
|
256
|
+
isInMonth: boolean;
|
|
257
|
+
}) => any;
|
|
258
|
+
/** 自定义头部 */
|
|
259
|
+
header?: () => any;
|
|
260
|
+
}
|
|
261
|
+
//#endregion
|
|
262
|
+
//#region src/Calendar/Calendar.vue.d.ts
|
|
263
|
+
type __VLS_Slots$34 = CalendarSlots;
|
|
264
|
+
declare const __VLS_base$34: import("vue").DefineComponent<CalendarProps, CalendarHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
265
|
+
change: (value: Date | null) => any;
|
|
266
|
+
"update:modelValue": (value: Date | null) => any;
|
|
267
|
+
"update:range": (value: CalendarRangeValue) => any;
|
|
268
|
+
"update:focusDate": (value: Date) => any;
|
|
269
|
+
}, string, import("vue").PublicProps, Readonly<CalendarProps> & Readonly<{
|
|
270
|
+
onChange?: ((value: Date | null) => any) | undefined;
|
|
271
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
272
|
+
"onUpdate:range"?: ((value: CalendarRangeValue) => any) | undefined;
|
|
273
|
+
"onUpdate:focusDate"?: ((value: Date) => any) | undefined;
|
|
274
|
+
}>, {
|
|
275
|
+
modelValue: Date | null;
|
|
276
|
+
mode: "single" | "range";
|
|
277
|
+
disabled: boolean;
|
|
278
|
+
numberOfMonths: 1 | 2;
|
|
279
|
+
weekStartsOn: WeekStartsOn;
|
|
280
|
+
minRangeSpan: number;
|
|
281
|
+
range: CalendarRangeValue | null;
|
|
282
|
+
hasOutsideDays: boolean;
|
|
283
|
+
hasWeekNumbers: boolean;
|
|
284
|
+
hasVariableRowCount: boolean;
|
|
285
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
286
|
+
declare const __VLS_export$43: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
287
|
+
declare const _default$43: typeof __VLS_export$43;
|
|
288
|
+
type __VLS_WithSlots$34<T, S> = T & {
|
|
180
289
|
new (): {
|
|
181
290
|
$slots: S;
|
|
182
291
|
};
|
|
@@ -210,15 +319,15 @@ interface CheckboxInputEmits {
|
|
|
210
319
|
interface CheckboxInputSlots extends FieldLabelSlots {}
|
|
211
320
|
//#endregion
|
|
212
321
|
//#region src/CheckboxInput/CheckboxInput.vue.d.ts
|
|
213
|
-
type __VLS_Props$
|
|
214
|
-
type __VLS_Slots$
|
|
322
|
+
type __VLS_Props$15 = Omit<CheckboxInputProps, 'modelValue'>;
|
|
323
|
+
type __VLS_Slots$33 = CheckboxInputSlots;
|
|
215
324
|
declare function focus$5(options?: FocusOptions): void;
|
|
216
325
|
declare function blur$5(): void;
|
|
217
|
-
type __VLS_ModelProps$
|
|
326
|
+
type __VLS_ModelProps$15 = {
|
|
218
327
|
modelValue: CheckboxValue;
|
|
219
328
|
};
|
|
220
|
-
type __VLS_PublicProps$
|
|
221
|
-
declare const __VLS_base$
|
|
329
|
+
type __VLS_PublicProps$15 = __VLS_Props$15 & __VLS_ModelProps$15;
|
|
330
|
+
declare const __VLS_base$33: import("vue").DefineComponent<__VLS_PublicProps$15, {
|
|
222
331
|
element: import("vue").ComputedRef<HTMLInputElement | null>;
|
|
223
332
|
focus: typeof focus$5;
|
|
224
333
|
blur: typeof blur$5;
|
|
@@ -226,17 +335,17 @@ declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$14,
|
|
|
226
335
|
change: (value: boolean, event: CheckboxInputChangeEvent) => any;
|
|
227
336
|
"update:modelValue": (value: CheckboxValue) => any;
|
|
228
337
|
actionError: (error: unknown, value: boolean, event: CheckboxInputChangeEvent) => any;
|
|
229
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$
|
|
338
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$15> & Readonly<{
|
|
230
339
|
onChange?: ((value: boolean, event: CheckboxInputChangeEvent) => any) | undefined;
|
|
231
340
|
"onUpdate:modelValue"?: ((value: CheckboxValue) => any) | undefined;
|
|
232
341
|
onActionError?: ((error: unknown, value: boolean, event: CheckboxInputChangeEvent) => any) | undefined;
|
|
233
342
|
}>, {
|
|
234
|
-
size: CheckboxSize;
|
|
235
343
|
loadingLabel: string;
|
|
344
|
+
size: CheckboxSize;
|
|
236
345
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
237
|
-
declare const __VLS_export$
|
|
238
|
-
declare const _default$
|
|
239
|
-
type __VLS_WithSlots$
|
|
346
|
+
declare const __VLS_export$42: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
|
|
347
|
+
declare const _default$42: typeof __VLS_export$42;
|
|
348
|
+
type __VLS_WithSlots$33<T, S> = T & {
|
|
240
349
|
new (): {
|
|
241
350
|
$slots: S;
|
|
242
351
|
};
|
|
@@ -251,6 +360,20 @@ interface CheckboxListProps {
|
|
|
251
360
|
density?: ListDensity;
|
|
252
361
|
hasDividers?: boolean;
|
|
253
362
|
isDisabled?: boolean;
|
|
363
|
+
/**
|
|
364
|
+
* 整组被禁用的原因。和 isDisabled 一起用时,每一行仍可聚焦,悬停或键盘聚焦能看到原因。
|
|
365
|
+
* 单独禁用某一行时不用这句。
|
|
366
|
+
*/
|
|
367
|
+
disabledReason?: string;
|
|
368
|
+
/**
|
|
369
|
+
* 整组只读。勾选状态还在,也不会变暗,但不能改。
|
|
370
|
+
* 和 isDisabled 同时设置时按禁用处理。
|
|
371
|
+
*/
|
|
372
|
+
isReadOnly?: boolean;
|
|
373
|
+
/**
|
|
374
|
+
* 勾选变化之后执行。进行中的那一行会显示加载,并且不能再点。
|
|
375
|
+
*/
|
|
376
|
+
changeAction?: (values: string[]) => void | Promise<void>;
|
|
254
377
|
isRequired?: boolean;
|
|
255
378
|
isOptional?: boolean;
|
|
256
379
|
isLabelHidden?: boolean;
|
|
@@ -267,6 +390,8 @@ interface CheckboxListItemProps {
|
|
|
267
390
|
value?: string;
|
|
268
391
|
description?: string;
|
|
269
392
|
isDisabled?: boolean;
|
|
393
|
+
/** 这一行自己的加载。复选框里显示旋转指示,并且不能切换。 */
|
|
394
|
+
isLoading?: boolean;
|
|
270
395
|
isChecked?: CheckboxValue;
|
|
271
396
|
}
|
|
272
397
|
interface CheckboxListItemEmits {
|
|
@@ -277,19 +402,19 @@ interface CheckboxListItemSlots {
|
|
|
277
402
|
}
|
|
278
403
|
//#endregion
|
|
279
404
|
//#region src/CheckboxList/CheckboxList.vue.d.ts
|
|
280
|
-
type __VLS_Props$
|
|
281
|
-
type __VLS_ModelProps$
|
|
405
|
+
type __VLS_Props$14 = Omit<CheckboxListProps, 'modelValue'>;
|
|
406
|
+
type __VLS_ModelProps$14 = {
|
|
282
407
|
modelValue?: string[];
|
|
283
408
|
};
|
|
284
|
-
type __VLS_PublicProps$
|
|
285
|
-
declare var
|
|
286
|
-
type __VLS_Slots$
|
|
287
|
-
default?: (props: typeof
|
|
409
|
+
type __VLS_PublicProps$14 = __VLS_Props$14 & __VLS_ModelProps$14;
|
|
410
|
+
declare var __VLS_20: {};
|
|
411
|
+
type __VLS_Slots$32 = {} & {
|
|
412
|
+
default?: (props: typeof __VLS_20) => any;
|
|
288
413
|
};
|
|
289
|
-
declare const __VLS_base$
|
|
414
|
+
declare const __VLS_base$32: import("vue").DefineComponent<__VLS_PublicProps$14, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
290
415
|
change: (value: string[]) => any;
|
|
291
416
|
"update:modelValue": (...args: unknown[]) => any;
|
|
292
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$
|
|
417
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$14> & Readonly<{
|
|
293
418
|
onChange?: ((value: string[]) => any) | undefined;
|
|
294
419
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
295
420
|
}>, {
|
|
@@ -297,24 +422,24 @@ declare const __VLS_base$28: import("vue").DefineComponent<__VLS_PublicProps$13,
|
|
|
297
422
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
298
423
|
hasDividers: boolean;
|
|
299
424
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
300
|
-
declare const __VLS_export$
|
|
301
|
-
declare const _default$
|
|
302
|
-
type __VLS_WithSlots$
|
|
425
|
+
declare const __VLS_export$41: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
|
|
426
|
+
declare const _default$41: typeof __VLS_export$41;
|
|
427
|
+
type __VLS_WithSlots$32<T, S> = T & {
|
|
303
428
|
new (): {
|
|
304
429
|
$slots: S;
|
|
305
430
|
};
|
|
306
431
|
};
|
|
307
432
|
//#endregion
|
|
308
433
|
//#region src/CheckboxList/CheckboxListItem.vue.d.ts
|
|
309
|
-
type __VLS_Slots$
|
|
310
|
-
declare const __VLS_base$
|
|
434
|
+
type __VLS_Slots$31 = CheckboxListItemSlots;
|
|
435
|
+
declare const __VLS_base$31: import("vue").DefineComponent<CheckboxListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
311
436
|
check: (checked: boolean) => any;
|
|
312
437
|
}, string, import("vue").PublicProps, Readonly<CheckboxListItemProps> & Readonly<{
|
|
313
438
|
onCheck?: ((checked: boolean) => any) | undefined;
|
|
314
439
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
315
|
-
declare const __VLS_export$
|
|
316
|
-
declare const _default$
|
|
317
|
-
type __VLS_WithSlots$
|
|
440
|
+
declare const __VLS_export$40: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
|
|
441
|
+
declare const _default$40: typeof __VLS_export$40;
|
|
442
|
+
type __VLS_WithSlots$31<T, S> = T & {
|
|
318
443
|
new (): {
|
|
319
444
|
$slots: S;
|
|
320
445
|
};
|
|
@@ -362,15 +487,479 @@ interface ClickableCardSlots {
|
|
|
362
487
|
}
|
|
363
488
|
//#endregion
|
|
364
489
|
//#region src/ClickableCard/ClickableCard.vue.d.ts
|
|
365
|
-
type __VLS_Slots$
|
|
366
|
-
declare const __VLS_base$
|
|
490
|
+
type __VLS_Slots$30 = ClickableCardSlots;
|
|
491
|
+
declare const __VLS_base$30: import("vue").DefineComponent<ClickableCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
367
492
|
click: (event: MouseEvent) => any;
|
|
368
493
|
}, string, import("vue").PublicProps, Readonly<ClickableCardProps> & Readonly<{
|
|
369
494
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
370
495
|
}>, {
|
|
371
|
-
elevation: CardElevation;
|
|
372
496
|
isDisabled: boolean;
|
|
373
497
|
variant: CardVariant;
|
|
498
|
+
elevation: CardElevation;
|
|
499
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
500
|
+
declare const __VLS_export$39: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
501
|
+
declare const _default$39: typeof __VLS_export$39;
|
|
502
|
+
type __VLS_WithSlots$30<T, S> = T & {
|
|
503
|
+
new (): {
|
|
504
|
+
$slots: S;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
//#endregion
|
|
508
|
+
//#region src/ContextMenu/types.d.ts
|
|
509
|
+
/**
|
|
510
|
+
* Density of the menu rows, from the tightest to the most spacious.
|
|
511
|
+
*
|
|
512
|
+
* The size only changes the rows' block padding; the panel, the radius, and
|
|
513
|
+
* the type stay the same in every size.
|
|
514
|
+
*/
|
|
515
|
+
type ContextMenuSize = 'sm' | 'md' | 'lg';
|
|
516
|
+
/**
|
|
517
|
+
* The element the trigger area renders as.
|
|
518
|
+
*
|
|
519
|
+
* `div` is a block that hugs its content; `span` is an inline wrapper, so a
|
|
520
|
+
* reference inside running prose can own a context menu without breaking the
|
|
521
|
+
* text flow.
|
|
522
|
+
*/
|
|
523
|
+
type ContextMenuTriggerElement = 'div' | 'span';
|
|
524
|
+
/**
|
|
525
|
+
* How the actions are presented.
|
|
526
|
+
*
|
|
527
|
+
* `popover` anchors a menu to the pointer, `bottom-sheet` presents a
|
|
528
|
+
* thumb-reachable sheet, and `adaptive` uses the sheet at 768px and below
|
|
529
|
+
* when the primary pointer is coarse.
|
|
530
|
+
*/
|
|
531
|
+
type ContextMenuPresentation = 'popover' | 'bottom-sheet' | 'adaptive';
|
|
532
|
+
/** A menu width as a number of pixels or any CSS length. */
|
|
533
|
+
type ContextMenuWidth = number | string;
|
|
534
|
+
/**
|
|
535
|
+
* Visual variant of a row. `destructive` paints the label, the description,
|
|
536
|
+
* and the icon in the error color for an action that cannot be undone.
|
|
537
|
+
*/
|
|
538
|
+
type ContextMenuVariant = 'default' | 'destructive';
|
|
539
|
+
/** Where a link row navigates. */
|
|
540
|
+
type ContextMenuItemTarget = '_blank' | '_self';
|
|
541
|
+
/**
|
|
542
|
+
* The artwork of a row: a CSS icon class, or a Vue component that draws the
|
|
543
|
+
* SVG. astryx-vue ships no icons of its own.
|
|
544
|
+
*/
|
|
545
|
+
type ContextMenuItemIcon = string | Component;
|
|
546
|
+
/**
|
|
547
|
+
* One action row in the `items` data API.
|
|
548
|
+
*
|
|
549
|
+
* Every field is also a `ContextMenuItem` prop, so the data API and the
|
|
550
|
+
* compound API describe the same row and cannot drift.
|
|
551
|
+
*/
|
|
552
|
+
interface ContextMenuItemData {
|
|
553
|
+
/**
|
|
554
|
+
* Discriminant of the data API. An action row leaves it unset; a divider or
|
|
555
|
+
* a section sets it.
|
|
556
|
+
*/
|
|
557
|
+
type?: undefined;
|
|
558
|
+
/**
|
|
559
|
+
* Stable identity for the row. Rows are keyed by position when it is
|
|
560
|
+
* omitted, which is correct for a fixed menu; set it when `items` can
|
|
561
|
+
* reorder or filter so a row keeps its DOM node, and its focus, as the
|
|
562
|
+
* array changes around it.
|
|
563
|
+
*/
|
|
564
|
+
id?: string;
|
|
565
|
+
/** Primary label of the row. */
|
|
566
|
+
label: string;
|
|
567
|
+
/** Icon rendered before the label. */
|
|
568
|
+
icon?: ContextMenuItemIcon;
|
|
569
|
+
/** Secondary text rendered below the label. */
|
|
570
|
+
description?: string;
|
|
571
|
+
/**
|
|
572
|
+
* Plain text rendered after the label area. Rich trailing content needs the
|
|
573
|
+
* compound `ContextMenuItem` and its `endContent` slot.
|
|
574
|
+
*/
|
|
575
|
+
endContent?: string | number;
|
|
576
|
+
/** Called when the row is activated, with the click that activated it. */
|
|
577
|
+
onClick?: (event: MouseEvent) => void;
|
|
578
|
+
/** Whether the row is disabled. @default false */
|
|
579
|
+
isDisabled?: boolean;
|
|
580
|
+
/** Visual variant of the row. @default 'default' */
|
|
581
|
+
variant?: ContextMenuVariant;
|
|
582
|
+
/**
|
|
583
|
+
* Whether activating the row closes the menu. Set it to `false` for an
|
|
584
|
+
* action that reports its result on the row itself.
|
|
585
|
+
* @default true
|
|
586
|
+
*/
|
|
587
|
+
hasCloseOnSelect?: boolean;
|
|
588
|
+
/** Address the row navigates to; the row then renders as an anchor. */
|
|
589
|
+
href?: string;
|
|
590
|
+
/** Link target of a link row. */
|
|
591
|
+
target?: ContextMenuItemTarget;
|
|
592
|
+
/** Link relationship of a link row. */
|
|
593
|
+
rel?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Nested entries. When present, the row becomes a submenu that reveals
|
|
596
|
+
* these entries in a flyout beside it instead of acting itself.
|
|
597
|
+
*/
|
|
598
|
+
items?: ContextMenuOption[];
|
|
599
|
+
}
|
|
600
|
+
/** A checkbox row of the `items` data API. The checked state is controlled. */
|
|
601
|
+
interface ContextMenuCheckboxData {
|
|
602
|
+
type: 'checkbox';
|
|
603
|
+
id?: string;
|
|
604
|
+
label: string;
|
|
605
|
+
icon?: ContextMenuItemIcon;
|
|
606
|
+
description?: string;
|
|
607
|
+
/** Whether the row is checked. */
|
|
608
|
+
checked: boolean;
|
|
609
|
+
/** @default false */
|
|
610
|
+
isDisabled?: boolean;
|
|
611
|
+
/**
|
|
612
|
+
* Whether toggling closes the menu. Checkbox rows stay open.
|
|
613
|
+
* @default false
|
|
614
|
+
*/
|
|
615
|
+
hasCloseOnSelect?: boolean;
|
|
616
|
+
/** Called with the next checked state. */
|
|
617
|
+
onChange?: (checked: boolean) => void;
|
|
618
|
+
}
|
|
619
|
+
/** One option inside a radio group of the `items` data API. */
|
|
620
|
+
interface ContextMenuRadioOptionData {
|
|
621
|
+
id?: string;
|
|
622
|
+
value: string;
|
|
623
|
+
label: string;
|
|
624
|
+
icon?: ContextMenuItemIcon;
|
|
625
|
+
description?: string;
|
|
626
|
+
/** @default false */
|
|
627
|
+
isDisabled?: boolean;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* A single-select radio group of the `items` data API.
|
|
631
|
+
* Choosing a value closes the menu unless `hasCloseOnSelect` is false.
|
|
632
|
+
*/
|
|
633
|
+
interface ContextMenuRadioData {
|
|
634
|
+
type: 'radio';
|
|
635
|
+
id?: string;
|
|
636
|
+
/** Accessible name of the group. */
|
|
637
|
+
label: string;
|
|
638
|
+
/** Selected value. Unset when nothing is selected. */
|
|
639
|
+
value?: string;
|
|
640
|
+
/** @default true */
|
|
641
|
+
hasCloseOnSelect?: boolean;
|
|
642
|
+
items: ContextMenuRadioOptionData[];
|
|
643
|
+
onChange?: (value: string) => void;
|
|
644
|
+
}
|
|
645
|
+
/** A row the data API can place inside a section or at the top level. */
|
|
646
|
+
type ContextMenuEntry = ContextMenuItemData | ContextMenuCheckboxData | ContextMenuRadioData;
|
|
647
|
+
/** A horizontal rule between groups of rows. */
|
|
648
|
+
interface ContextMenuDividerData {
|
|
649
|
+
type: 'divider';
|
|
650
|
+
}
|
|
651
|
+
/** A titled group of rows. */
|
|
652
|
+
interface ContextMenuSection {
|
|
653
|
+
type: 'section';
|
|
654
|
+
/** Stable identity for the group. */
|
|
655
|
+
id?: string;
|
|
656
|
+
/** Heading shown above the group's rows and used as the group's name. */
|
|
657
|
+
title?: string;
|
|
658
|
+
/** The actions of the group. */
|
|
659
|
+
items: ContextMenuEntry[];
|
|
660
|
+
}
|
|
661
|
+
/** One entry of the `items` data API. */
|
|
662
|
+
type ContextMenuOption = ContextMenuEntry | ContextMenuDividerData | ContextMenuSection;
|
|
663
|
+
interface ContextMenuProps {
|
|
664
|
+
/**
|
|
665
|
+
* The menu entries. Each entry is an action row, a divider, or a section;
|
|
666
|
+
* a row with nested `items` becomes a submenu. Omit it and use the
|
|
667
|
+
* `content` slot for a menu the caller composes itself.
|
|
668
|
+
*/
|
|
669
|
+
items?: ContextMenuOption[];
|
|
670
|
+
/**
|
|
671
|
+
* Width of the menu panel. Numbers are interpreted as pixels. The panel is
|
|
672
|
+
* still capped to the viewport, so a width wider than the screen shrinks
|
|
673
|
+
* instead of overflowing.
|
|
674
|
+
* @default undefined (the panel is at least 160px wide and sizes to its rows)
|
|
675
|
+
*/
|
|
676
|
+
menuWidth?: ContextMenuWidth;
|
|
677
|
+
/**
|
|
678
|
+
* Density of the menu rows.
|
|
679
|
+
* @default 'md'
|
|
680
|
+
*/
|
|
681
|
+
size?: ContextMenuSize;
|
|
682
|
+
/**
|
|
683
|
+
* Accessible name of the menu panel, announced when it opens.
|
|
684
|
+
* @default 'Context menu'
|
|
685
|
+
*/
|
|
686
|
+
label?: string;
|
|
687
|
+
/**
|
|
688
|
+
* When true, the native browser context menu is left untouched and the
|
|
689
|
+
* menu never opens.
|
|
690
|
+
* @default false
|
|
691
|
+
*/
|
|
692
|
+
isDisabled?: boolean;
|
|
693
|
+
/**
|
|
694
|
+
* The element the trigger area renders as.
|
|
695
|
+
* @default 'div'
|
|
696
|
+
*/
|
|
697
|
+
triggerAs?: ContextMenuTriggerElement;
|
|
698
|
+
/**
|
|
699
|
+
* How the menu is presented.
|
|
700
|
+
* @default 'popover'
|
|
701
|
+
*/
|
|
702
|
+
presentation?: ContextMenuPresentation;
|
|
703
|
+
/**
|
|
704
|
+
* Open state of the menu. Bind it with `v-model:is-open` to control the
|
|
705
|
+
* menu from the outside; leave it unbound and the menu manages its own
|
|
706
|
+
* state, opening on right-click, the context-menu key, or a long press.
|
|
707
|
+
* @default undefined
|
|
708
|
+
*/
|
|
709
|
+
isOpen?: boolean;
|
|
710
|
+
}
|
|
711
|
+
interface ContextMenuEmits {
|
|
712
|
+
/** Fired when the menu opens or closes. */
|
|
713
|
+
'openChange': [isOpen: boolean];
|
|
714
|
+
/** Fired when a row of the `items` data API is activated. */
|
|
715
|
+
'select': [item: ContextMenuItemData, event: MouseEvent];
|
|
716
|
+
/** Fired by `v-model:isOpen`. */
|
|
717
|
+
'update:isOpen': [isOpen: boolean];
|
|
718
|
+
}
|
|
719
|
+
interface ContextMenuSlots {
|
|
720
|
+
/** The trigger area: right-click on this content to open the menu. */
|
|
721
|
+
default?: () => VNodeChild;
|
|
722
|
+
/**
|
|
723
|
+
* Custom panel in place of `items`. Compose it from the menu rows, including
|
|
724
|
+
* checkbox and radio rows, when the menu has to stay open across several
|
|
725
|
+
* toggles or the rows depend on state. Keyboard handling still belongs to
|
|
726
|
+
* the menu.
|
|
727
|
+
*/
|
|
728
|
+
content?: () => VNodeChild;
|
|
729
|
+
}
|
|
730
|
+
interface ContextMenuItemProps {
|
|
731
|
+
/** Icon rendered before the label. */
|
|
732
|
+
icon?: ContextMenuItemIcon;
|
|
733
|
+
/** Primary label of the row. */
|
|
734
|
+
label?: string | number;
|
|
735
|
+
/** Secondary text rendered below the label. */
|
|
736
|
+
description?: string;
|
|
737
|
+
/**
|
|
738
|
+
* Plain text rendered after the label area. Use the `endContent` slot for
|
|
739
|
+
* rich trailing content such as a badge.
|
|
740
|
+
*/
|
|
741
|
+
endContent?: string | number;
|
|
742
|
+
/** Address the row navigates to; the row then renders as an anchor. */
|
|
743
|
+
href?: string;
|
|
744
|
+
/** Link target, only used with `href`. */
|
|
745
|
+
target?: ContextMenuItemTarget;
|
|
746
|
+
/** Link relationship, only used with `href`. */
|
|
747
|
+
rel?: string;
|
|
748
|
+
/**
|
|
749
|
+
* Whether the row is disabled. A disabled row is dimmed, skipped by arrow
|
|
750
|
+
* keys and typeahead, and cannot be activated.
|
|
751
|
+
* @default false
|
|
752
|
+
*/
|
|
753
|
+
isDisabled?: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* Whether activating the row closes the menu.
|
|
756
|
+
* @default true
|
|
757
|
+
*/
|
|
758
|
+
hasCloseOnSelect?: boolean;
|
|
759
|
+
/**
|
|
760
|
+
* Visual variant of the row.
|
|
761
|
+
* @default 'default'
|
|
762
|
+
*/
|
|
763
|
+
variant?: ContextMenuVariant;
|
|
764
|
+
}
|
|
765
|
+
interface ContextMenuItemEmits {
|
|
766
|
+
/** Fired when the row is activated, with the click that activated it. */
|
|
767
|
+
click: [event: MouseEvent];
|
|
768
|
+
}
|
|
769
|
+
interface ContextMenuItemSlots {
|
|
770
|
+
/** Rich content replacing the `label` prop. */
|
|
771
|
+
label?: () => VNodeChild;
|
|
772
|
+
/** Leading content replacing the `icon` prop. */
|
|
773
|
+
icon?: () => VNodeChild;
|
|
774
|
+
/** Rich content replacing the `description` prop. */
|
|
775
|
+
description?: () => VNodeChild;
|
|
776
|
+
/** Trailing content after the label area. */
|
|
777
|
+
endContent?: () => VNodeChild;
|
|
778
|
+
}
|
|
779
|
+
interface ContextMenuDividerProps {
|
|
780
|
+
/**
|
|
781
|
+
* The divider's weight. `subtle` is the hairline drawn between menu rows.
|
|
782
|
+
* @default 'subtle'
|
|
783
|
+
*/
|
|
784
|
+
variant?: 'subtle' | 'strong';
|
|
785
|
+
}
|
|
786
|
+
interface ContextMenuGroupProps {
|
|
787
|
+
/**
|
|
788
|
+
* Heading shown above the group's rows and used as the group's accessible
|
|
789
|
+
* name. Omit it for an unnamed group.
|
|
790
|
+
*/
|
|
791
|
+
title?: string;
|
|
792
|
+
}
|
|
793
|
+
interface ContextMenuGroupSlots {
|
|
794
|
+
/** The group's rows: menu items, dividers, submenus. */
|
|
795
|
+
default?: () => VNodeChild;
|
|
796
|
+
}
|
|
797
|
+
interface ContextMenuSubMenuProps {
|
|
798
|
+
/** Icon rendered before the label. */
|
|
799
|
+
icon?: ContextMenuItemIcon;
|
|
800
|
+
/** Primary label of the row. */
|
|
801
|
+
label?: string | number;
|
|
802
|
+
/** Secondary text rendered below the label. */
|
|
803
|
+
description?: string;
|
|
804
|
+
/**
|
|
805
|
+
* Whether the row is disabled and can neither be opened nor activated.
|
|
806
|
+
* @default false
|
|
807
|
+
*/
|
|
808
|
+
isDisabled?: boolean;
|
|
809
|
+
/** The entries revealed in the flyout. */
|
|
810
|
+
items?: ContextMenuOption[];
|
|
811
|
+
/**
|
|
812
|
+
* Show a spinner in place of the caret while the flyout's rows are loading.
|
|
813
|
+
* @default false
|
|
814
|
+
*/
|
|
815
|
+
hasSpinner?: boolean;
|
|
816
|
+
/**
|
|
817
|
+
* Minimum width of the flyout. Capped to the viewport. Defaults to the
|
|
818
|
+
* flyout's content, at least 160px.
|
|
819
|
+
*/
|
|
820
|
+
menuWidth?: number | string;
|
|
821
|
+
/**
|
|
822
|
+
* `flyout` opens beside the row. `drill-in` replaces the menu's rows and
|
|
823
|
+
* adds a Back row. `adaptive` drills in on a compact touch surface.
|
|
824
|
+
* @default 'adaptive'
|
|
825
|
+
*/
|
|
826
|
+
presentation?: DropdownMenuSubMenuPresentation;
|
|
827
|
+
}
|
|
828
|
+
interface ContextMenuSubMenuEmits {
|
|
829
|
+
/** Fired when the flyout opens or closes. */
|
|
830
|
+
openChange: [isOpen: boolean];
|
|
831
|
+
/** Fired when a row inside the flyout is activated, re-emitted upward. */
|
|
832
|
+
select: [item: ContextMenuItemData, event: MouseEvent];
|
|
833
|
+
}
|
|
834
|
+
interface ContextMenuSubMenuSlots {
|
|
835
|
+
/** Rich content replacing the `label` prop. */
|
|
836
|
+
label?: () => VNodeChild;
|
|
837
|
+
/** Leading content replacing the `icon` prop. */
|
|
838
|
+
icon?: () => VNodeChild;
|
|
839
|
+
/** Rich content replacing the `description` prop. */
|
|
840
|
+
description?: () => VNodeChild;
|
|
841
|
+
/** Trailing content replacing the chevron. */
|
|
842
|
+
endContent?: () => VNodeChild;
|
|
843
|
+
/** The flyout's rows, replacing the `items` prop. */
|
|
844
|
+
default?: () => VNodeChild;
|
|
845
|
+
}
|
|
846
|
+
//#endregion
|
|
847
|
+
//#region src/ContextMenu/context.d.ts
|
|
848
|
+
/**
|
|
849
|
+
* What a `ContextMenu` tells the rows and submenus inside it.
|
|
850
|
+
*
|
|
851
|
+
* Every member is a ref or a computed, so a row that reads the context keeps
|
|
852
|
+
* following the menu's own props after mount instead of freezing at the
|
|
853
|
+
* values present when the menu was created. `closeMenu` reads the menu's live
|
|
854
|
+
* open state each time it runs, so it stays correct as well.
|
|
855
|
+
*/
|
|
856
|
+
interface ContextMenuContextValue {
|
|
857
|
+
/**
|
|
858
|
+
* Close the menu. `restoreFocus` puts focus back on the element that was
|
|
859
|
+
* focused before the menu opened; keyboard dismissal asks for it, a
|
|
860
|
+
* pointer-driven dismissal does not.
|
|
861
|
+
*/
|
|
862
|
+
closeMenu: (options?: {
|
|
863
|
+
restoreFocus?: boolean;
|
|
864
|
+
}) => void;
|
|
865
|
+
/** Whether the menu is currently open. */
|
|
866
|
+
isOpen: ComputedRef<boolean>;
|
|
867
|
+
/** The menu's accessible name, used by a submenu flyout's rows. */
|
|
868
|
+
menuLabel: ComputedRef<string>;
|
|
869
|
+
/** Density of the rows inside this menu. */
|
|
870
|
+
menuSize: ComputedRef<ContextMenuSize>;
|
|
871
|
+
/** View stack for submenus that replace the rows in place. */
|
|
872
|
+
drillIn: ComputedRef<MenuDrillIn>;
|
|
873
|
+
}
|
|
874
|
+
/** The surrounding menu, or `undefined` when the row stands alone. */
|
|
875
|
+
declare function useContextMenu(): ContextMenuContextValue | undefined;
|
|
876
|
+
/** The row density of the surrounding menu, or the menu default. */
|
|
877
|
+
declare function useContextMenuSize(): ComputedRef<ContextMenuSize>;
|
|
878
|
+
//#endregion
|
|
879
|
+
//#region src/ContextMenu/ContextMenu.vue.d.ts
|
|
880
|
+
type __VLS_Props$13 = ContextMenuProps;
|
|
881
|
+
type __VLS_Slots$29 = ContextMenuSlots;
|
|
882
|
+
type __VLS_ModelProps$13 = {
|
|
883
|
+
'isOpen'?: boolean | undefined;
|
|
884
|
+
};
|
|
885
|
+
type __VLS_PublicProps$13 = __VLS_Props$13 & __VLS_ModelProps$13;
|
|
886
|
+
declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$13, {
|
|
887
|
+
blur: () => void | undefined;
|
|
888
|
+
close: () => void;
|
|
889
|
+
element: import("vue").ComputedRef<HTMLElement | null>;
|
|
890
|
+
focus: () => void | undefined;
|
|
891
|
+
open: () => void;
|
|
892
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
893
|
+
openChange: (isOpen: boolean) => any;
|
|
894
|
+
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
895
|
+
"update:isOpen": (...args: unknown[]) => any;
|
|
896
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$13> & Readonly<{
|
|
897
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
898
|
+
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
899
|
+
"onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
900
|
+
}>, {
|
|
901
|
+
label: string;
|
|
902
|
+
isDisabled: boolean;
|
|
903
|
+
size: ContextMenuSize;
|
|
904
|
+
presentation: ContextMenuPresentation;
|
|
905
|
+
triggerAs: ContextMenuTriggerElement;
|
|
906
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
907
|
+
declare const __VLS_export$38: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
908
|
+
declare const _default$38: typeof __VLS_export$38;
|
|
909
|
+
type __VLS_WithSlots$29<T, S> = T & {
|
|
910
|
+
new (): {
|
|
911
|
+
$slots: S;
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
//#endregion
|
|
915
|
+
//#region src/ContextMenu/ContextMenuDivider.vue.d.ts
|
|
916
|
+
declare const __VLS_export$37: import("vue").DefineComponent<ContextMenuDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextMenuDividerProps> & Readonly<{}>, {
|
|
917
|
+
variant: "subtle" | "strong";
|
|
918
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
919
|
+
declare const _default$37: typeof __VLS_export$37;
|
|
920
|
+
//#endregion
|
|
921
|
+
//#region src/ContextMenu/ContextMenuGroup.vue.d.ts
|
|
922
|
+
type __VLS_Slots$28 = ContextMenuGroupSlots;
|
|
923
|
+
declare const __VLS_base$28: import("vue").DefineComponent<ContextMenuGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextMenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
924
|
+
declare const __VLS_export$36: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
|
|
925
|
+
declare const _default$36: typeof __VLS_export$36;
|
|
926
|
+
type __VLS_WithSlots$28<T, S> = T & {
|
|
927
|
+
new (): {
|
|
928
|
+
$slots: S;
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
//#endregion
|
|
932
|
+
//#region src/ContextMenu/ContextMenuItem.vue.d.ts
|
|
933
|
+
type __VLS_Slots$27 = ContextMenuItemSlots;
|
|
934
|
+
declare const __VLS_base$27: import("vue").DefineComponent<ContextMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
935
|
+
click: (event: MouseEvent) => any;
|
|
936
|
+
}, string, import("vue").PublicProps, Readonly<ContextMenuItemProps> & Readonly<{
|
|
937
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
938
|
+
}>, {
|
|
939
|
+
isDisabled: boolean;
|
|
940
|
+
variant: ContextMenuVariant;
|
|
941
|
+
hasCloseOnSelect: boolean;
|
|
942
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
943
|
+
declare const __VLS_export$35: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
|
|
944
|
+
declare const _default$35: typeof __VLS_export$35;
|
|
945
|
+
type __VLS_WithSlots$27<T, S> = T & {
|
|
946
|
+
new (): {
|
|
947
|
+
$slots: S;
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
//#endregion
|
|
951
|
+
//#region src/ContextMenu/ContextMenuSubMenu.vue.d.ts
|
|
952
|
+
type __VLS_Slots$26 = ContextMenuSubMenuSlots;
|
|
953
|
+
declare const __VLS_base$26: import("vue").DefineComponent<ContextMenuSubMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
954
|
+
openChange: (isOpen: boolean) => any;
|
|
955
|
+
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
956
|
+
}, string, import("vue").PublicProps, Readonly<ContextMenuSubMenuProps> & Readonly<{
|
|
957
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
958
|
+
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
959
|
+
}>, {
|
|
960
|
+
isDisabled: boolean;
|
|
961
|
+
presentation: DropdownMenuSubMenuPresentation;
|
|
962
|
+
hasSpinner: boolean;
|
|
374
963
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
375
964
|
declare const __VLS_export$34: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
376
965
|
declare const _default$34: typeof __VLS_export$34;
|
|
@@ -393,10 +982,18 @@ type DateInputFormat = DateInputFormatName | ((iso: string) => string);
|
|
|
393
982
|
* Which surface opens for the calendar.
|
|
394
983
|
*
|
|
395
984
|
* `popover` is the desktop calendar. `bottom-sheet` always uses a bottom sheet.
|
|
396
|
-
* `adaptive-bottom-sheet` uses a
|
|
397
|
-
*
|
|
985
|
+
* `native` always uses the system date control. `adaptive-bottom-sheet` uses a
|
|
986
|
+
* bottom sheet for a coarse pointer. `adaptive-native` uses the system control
|
|
987
|
+
* for a coarse pointer and the popover otherwise. When neither this nor
|
|
988
|
+
* `nativePicker` is set, the field follows `adaptive-native`.
|
|
989
|
+
*/
|
|
990
|
+
type DateInputPresentation = DatePresentation;
|
|
991
|
+
/**
|
|
992
|
+
* Older name for the picker surface.
|
|
993
|
+
* `touch` follows the pointer, `always` uses the system control, `never` keeps the calendar.
|
|
994
|
+
* `presentation` wins when both are set.
|
|
398
995
|
*/
|
|
399
|
-
type
|
|
996
|
+
type DateInputNativePicker = NativePicker;
|
|
400
997
|
/** Legacy string status. Prefer `{ type, message }` so the message is visible. */
|
|
401
998
|
type DateInputStatusType = 'default' | FieldStatusType;
|
|
402
999
|
type DateInputStatus = DateInputStatusType | FieldStatusInput;
|
|
@@ -415,6 +1012,8 @@ interface DateInputProps {
|
|
|
415
1012
|
max?: Date;
|
|
416
1013
|
/** 禁用的日期判断函数 */
|
|
417
1014
|
isDateDisabled?: (date: Date) => boolean;
|
|
1015
|
+
/** 任一函数返回 false 时禁用这一天。 */
|
|
1016
|
+
dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
|
|
418
1017
|
/** 表单字段名 */
|
|
419
1018
|
name?: string;
|
|
420
1019
|
/** 输入框标签。传入后会显示在字段上方。 */
|
|
@@ -423,10 +1022,22 @@ interface DateInputProps {
|
|
|
423
1022
|
description?: string;
|
|
424
1023
|
/** 只把标签留给读屏,不显示出来。 */
|
|
425
1024
|
isLabelHidden?: boolean;
|
|
1025
|
+
/** 在标签旁标成可选。 */
|
|
1026
|
+
isOptional?: boolean;
|
|
1027
|
+
/** 把字段标成必填。 */
|
|
1028
|
+
isRequired?: boolean;
|
|
1029
|
+
/** 标签末尾信息图标里的说明。 */
|
|
1030
|
+
labelTooltip?: string;
|
|
426
1031
|
/** 是否禁用 */
|
|
427
1032
|
disabled?: boolean;
|
|
428
1033
|
/** 禁用原因 */
|
|
429
1034
|
disabledReason?: string;
|
|
1035
|
+
/** 正在提交。字段不可改,并显示加载指示。 */
|
|
1036
|
+
isLoading?: boolean;
|
|
1037
|
+
/**
|
|
1038
|
+
* 值已经提交之后再跑。返回 Promise 时,字段保持加载直到它结束。
|
|
1039
|
+
*/
|
|
1040
|
+
changeAction?: (value: Date | null) => void | Promise<void>;
|
|
430
1041
|
/** 是否可清除 */
|
|
431
1042
|
clearable?: boolean;
|
|
432
1043
|
/** 清除按钮标签 */
|
|
@@ -445,8 +1056,16 @@ interface DateInputProps {
|
|
|
445
1056
|
* 函数参数是 `YYYY-MM-DD`,只作用于已提交的值,不作用于正在输入的文本。
|
|
446
1057
|
*/
|
|
447
1058
|
format?: DateInputFormat;
|
|
448
|
-
/**
|
|
1059
|
+
/** 日历的打开方式。不传时,鼠标用弹出层,触摸设备用系统日期控件。 */
|
|
449
1060
|
presentation?: DateInputPresentation;
|
|
1061
|
+
/** 旧的打开方式。同时传了 `presentation` 时以 `presentation` 为准。 */
|
|
1062
|
+
nativePicker?: DateInputNativePicker;
|
|
1063
|
+
/** 弹出日历并排的月份数。系统日期控件表达不了这项。 */
|
|
1064
|
+
numberOfMonths?: 1 | 2;
|
|
1065
|
+
/** 弹出日历从哪一天开始一周。系统日期控件表达不了这项。 */
|
|
1066
|
+
weekStartsOn?: WeekStartsOn;
|
|
1067
|
+
/** 整段字段的宽度。数字按像素算。 */
|
|
1068
|
+
width?: number | string;
|
|
450
1069
|
}
|
|
451
1070
|
interface DateInputEmits {
|
|
452
1071
|
(event: 'update:modelValue', value: Date | null): void;
|
|
@@ -461,20 +1080,30 @@ interface DateInputSlots {
|
|
|
461
1080
|
//#endregion
|
|
462
1081
|
//#region src/DateInput/DateInput.vue.d.ts
|
|
463
1082
|
type __VLS_Slots$25 = DateInputSlots;
|
|
464
|
-
declare
|
|
1083
|
+
declare function parseDate(str: string): Date | null;
|
|
1084
|
+
declare function onCalendarChange(date: Date | null): void;
|
|
1085
|
+
declare function onClear(event: Event): void;
|
|
1086
|
+
declare const __VLS_base$25: import("vue").DefineComponent<DateInputProps, {
|
|
1087
|
+
inputValue: import("vue").Ref<string, string>;
|
|
1088
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
1089
|
+
onCalendarChange: typeof onCalendarChange;
|
|
1090
|
+
onClear: typeof onClear;
|
|
1091
|
+
parseDate: typeof parseDate;
|
|
1092
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
465
1093
|
change: (value: Date | null) => any;
|
|
466
1094
|
"update:modelValue": (value: Date | null) => any;
|
|
467
1095
|
}, string, import("vue").PublicProps, Readonly<DateInputProps> & Readonly<{
|
|
468
1096
|
onChange?: ((value: Date | null) => any) | undefined;
|
|
469
1097
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
470
1098
|
}>, {
|
|
1099
|
+
isLoading: boolean;
|
|
471
1100
|
size: "sm" | "md" | "lg";
|
|
472
1101
|
modelValue: Date | null;
|
|
473
1102
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
474
1103
|
disabled: boolean;
|
|
475
1104
|
clearable: boolean;
|
|
476
|
-
presentation: DateInputPresentation;
|
|
477
1105
|
format: DateInputFormat;
|
|
1106
|
+
numberOfMonths: 1 | 2;
|
|
478
1107
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
479
1108
|
declare const __VLS_export$33: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
480
1109
|
declare const _default$33: typeof __VLS_export$33;
|
|
@@ -498,8 +1127,12 @@ interface DateRangeInputProps {
|
|
|
498
1127
|
placeholder?: string;
|
|
499
1128
|
presets?: readonly DateRangePreset[];
|
|
500
1129
|
monthCount?: number;
|
|
1130
|
+
/** 并排月份数。传了这项时优先于 monthCount。 */
|
|
1131
|
+
numberOfMonths?: 1 | 2;
|
|
501
1132
|
min?: string;
|
|
502
1133
|
max?: string;
|
|
1134
|
+
/** 任一函数返回 false 时禁用这一天。 */
|
|
1135
|
+
dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
|
|
503
1136
|
minRangeSpan?: number;
|
|
504
1137
|
maxRangeSpan?: number;
|
|
505
1138
|
weekStartsOn?: WeekStartsOn;
|
|
@@ -507,9 +1140,13 @@ interface DateRangeInputProps {
|
|
|
507
1140
|
clearLabel?: string;
|
|
508
1141
|
size?: 'sm' | 'md' | 'lg';
|
|
509
1142
|
isDisabled?: boolean;
|
|
1143
|
+
isLoading?: boolean;
|
|
1144
|
+
/** 值提交之后再跑。返回 Promise 时,字段保持加载直到它结束。 */
|
|
1145
|
+
changeAction?: (value: DateRange | null) => void | Promise<void>;
|
|
510
1146
|
isRequired?: boolean;
|
|
511
1147
|
isOptional?: boolean;
|
|
512
1148
|
isLabelHidden?: boolean;
|
|
1149
|
+
labelTooltip?: string;
|
|
513
1150
|
status?: FieldStatusInput;
|
|
514
1151
|
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
515
1152
|
width?: number | string;
|
|
@@ -532,6 +1169,7 @@ declare const __VLS_export$32: import("vue").DefineComponent<__VLS_PublicProps$1
|
|
|
532
1169
|
onChange?: ((value: ISODateRange | null) => any) | undefined;
|
|
533
1170
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
534
1171
|
}>, {
|
|
1172
|
+
isLoading: boolean;
|
|
535
1173
|
size: "sm" | "md" | "lg";
|
|
536
1174
|
modelValue: ISODateRange | null;
|
|
537
1175
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
@@ -557,11 +1195,19 @@ interface DateTimeInputProps {
|
|
|
557
1195
|
size?: DateTimeInputSize;
|
|
558
1196
|
min?: string;
|
|
559
1197
|
max?: string;
|
|
1198
|
+
/** 任一函数返回 false 时,日期那一半禁用这一天。 */
|
|
1199
|
+
dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
|
|
1200
|
+
numberOfMonths?: 1 | 2;
|
|
1201
|
+
weekStartsOn?: WeekStartsOn;
|
|
560
1202
|
isDisabled?: boolean;
|
|
1203
|
+
isLoading?: boolean;
|
|
1204
|
+
/** 日期和时间都齐了之后再跑。返回 Promise 时,字段保持加载直到它结束。 */
|
|
1205
|
+
changeAction?: (value: string | null) => void | Promise<void>;
|
|
561
1206
|
isReadOnly?: boolean;
|
|
562
1207
|
isRequired?: boolean;
|
|
563
1208
|
isOptional?: boolean;
|
|
564
1209
|
isLabelHidden?: boolean;
|
|
1210
|
+
labelTooltip?: string;
|
|
565
1211
|
status?: FieldStatusInput;
|
|
566
1212
|
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
567
1213
|
width?: number | string;
|
|
@@ -584,6 +1230,7 @@ declare const __VLS_export$31: import("vue").DefineComponent<__VLS_PublicProps$1
|
|
|
584
1230
|
onChange?: ((value: string | null) => any) | undefined;
|
|
585
1231
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
586
1232
|
}>, {
|
|
1233
|
+
isLoading: boolean;
|
|
587
1234
|
size: DateTimeInputSize;
|
|
588
1235
|
modelValue: string | null;
|
|
589
1236
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
@@ -834,9 +1481,9 @@ declare const __VLS_base$24: import("vue").DefineComponent<__VLS_PublicProps$9,
|
|
|
834
1481
|
"onUpdate:isMenuOpen"?: ((value: boolean | undefined) => any) | undefined;
|
|
835
1482
|
}>, {
|
|
836
1483
|
label: string;
|
|
837
|
-
size: ButtonSize;
|
|
838
1484
|
isDisabled: boolean;
|
|
839
1485
|
variant: ButtonVariant;
|
|
1486
|
+
size: ButtonSize;
|
|
840
1487
|
placement: LayerPlacement;
|
|
841
1488
|
alignment: LayerAlignment;
|
|
842
1489
|
isInline: boolean;
|
|
@@ -1022,8 +1669,8 @@ declare const __VLS_base$20: import("vue").DefineComponent<__VLS_PublicProps$7,
|
|
|
1022
1669
|
onChange?: ((value: RadioValue, event: RadioChangeEvent) => any) | undefined;
|
|
1023
1670
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
1024
1671
|
}>, {
|
|
1025
|
-
size: RadioSize;
|
|
1026
1672
|
orientation: RadioOrientation;
|
|
1673
|
+
size: RadioSize;
|
|
1027
1674
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1028
1675
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1029
1676
|
declare const __VLS_export$25: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
@@ -1141,15 +1788,15 @@ type __VLS_ModelProps$6 = {
|
|
|
1141
1788
|
};
|
|
1142
1789
|
type __VLS_PublicProps$6 = __VLS_Props$6 & __VLS_ModelProps$6;
|
|
1143
1790
|
declare const __VLS_base$17: import("vue").DefineComponent<__VLS_PublicProps$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1144
|
-
change: (isSelected: boolean) => any;
|
|
1145
1791
|
"update:isSelected": (value: boolean) => any;
|
|
1792
|
+
change: (isSelected: boolean) => any;
|
|
1146
1793
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$6> & Readonly<{
|
|
1147
|
-
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
1148
1794
|
"onUpdate:isSelected"?: ((value: boolean) => any) | undefined;
|
|
1795
|
+
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
1149
1796
|
}>, {
|
|
1150
|
-
elevation: CardElevation;
|
|
1151
1797
|
isDisabled: boolean;
|
|
1152
1798
|
variant: CardVariant;
|
|
1799
|
+
elevation: CardElevation;
|
|
1153
1800
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1154
1801
|
declare const __VLS_export$22: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
1155
1802
|
declare const _default$22: typeof __VLS_export$22;
|
|
@@ -1322,9 +1969,9 @@ declare const __VLS_base$14: import("vue").DefineComponent<SideNavItemProps, {},
|
|
|
1322
1969
|
}, string, import("vue").PublicProps, Readonly<SideNavItemProps> & Readonly<{
|
|
1323
1970
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1324
1971
|
}>, {
|
|
1325
|
-
size: NavItemSize;
|
|
1326
|
-
isDisabled: boolean;
|
|
1327
1972
|
isSelected: boolean;
|
|
1973
|
+
isDisabled: boolean;
|
|
1974
|
+
size: NavItemSize;
|
|
1328
1975
|
collapsible: boolean | SideNavItemCollapsible;
|
|
1329
1976
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1330
1977
|
declare const __VLS_export$18: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
@@ -1404,8 +2051,8 @@ declare const __VLS_base$12: import("vue").DefineComponent<__VLS_PublicProps$5,
|
|
|
1404
2051
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1405
2052
|
onActionError?: ((error: unknown, value: boolean, event: SwitchChangeEvent) => any) | undefined;
|
|
1406
2053
|
}>, {
|
|
1407
|
-
size: SwitchSize;
|
|
1408
2054
|
loadingLabel: string;
|
|
2055
|
+
size: SwitchSize;
|
|
1409
2056
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1410
2057
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1411
2058
|
declare const __VLS_export$16: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
@@ -1482,22 +2129,22 @@ declare const __VLS_base$11: import("vue").DefineComponent<__VLS_PublicProps$4,
|
|
|
1482
2129
|
blur: typeof blur$2;
|
|
1483
2130
|
select: typeof select$1;
|
|
1484
2131
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1485
|
-
clear: (event: MouseEvent) => any;
|
|
1486
2132
|
change: (value: string, event: TextAreaChangeEvent) => any;
|
|
2133
|
+
clear: (event: MouseEvent) => any;
|
|
1487
2134
|
"update:modelValue": (value: string) => any;
|
|
2135
|
+
actionError: (error: unknown, value: string, event: TextAreaChangeEvent) => any;
|
|
1488
2136
|
enter: (event: KeyboardEvent) => any;
|
|
1489
2137
|
keydown: (event: KeyboardEvent) => any;
|
|
1490
|
-
actionError: (error: unknown, value: string, event: TextAreaChangeEvent) => any;
|
|
1491
2138
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
|
|
1492
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1493
2139
|
onChange?: ((value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
2140
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1494
2141
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2142
|
+
onActionError?: ((error: unknown, value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
1495
2143
|
onEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
1496
2144
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1497
|
-
onActionError?: ((error: unknown, value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
1498
2145
|
}>, {
|
|
1499
|
-
size: TextAreaSize;
|
|
1500
2146
|
loadingLabel: string;
|
|
2147
|
+
size: TextAreaSize;
|
|
1501
2148
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1502
2149
|
resize: TextAreaResize;
|
|
1503
2150
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1569,23 +2216,23 @@ declare const __VLS_base$10: import("vue").DefineComponent<__VLS_PublicProps$3,
|
|
|
1569
2216
|
blur: typeof blur$1;
|
|
1570
2217
|
select: typeof select;
|
|
1571
2218
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1572
|
-
clear: (event: MouseEvent) => any;
|
|
1573
2219
|
change: (value: string, event: TextInputChangeEvent) => any;
|
|
2220
|
+
clear: (event: MouseEvent) => any;
|
|
1574
2221
|
"update:modelValue": (value: string) => any;
|
|
2222
|
+
actionError: (error: unknown, value: string, event: TextInputChangeEvent) => any;
|
|
1575
2223
|
enter: (event: KeyboardEvent) => any;
|
|
1576
2224
|
keydown: (event: KeyboardEvent) => any;
|
|
1577
|
-
actionError: (error: unknown, value: string, event: TextInputChangeEvent) => any;
|
|
1578
2225
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
1579
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1580
2226
|
onChange?: ((value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
2227
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1581
2228
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2229
|
+
onActionError?: ((error: unknown, value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
1582
2230
|
onEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
1583
2231
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1584
|
-
onActionError?: ((error: unknown, value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
1585
2232
|
}>, {
|
|
1586
|
-
size: TextInputSize;
|
|
1587
2233
|
type: TextInputType;
|
|
1588
2234
|
loadingLabel: string;
|
|
2235
|
+
size: TextInputSize;
|
|
1589
2236
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1590
2237
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1591
2238
|
declare const __VLS_export$14: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
@@ -1925,10 +2572,10 @@ declare const __VLS_base$9: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
|
1925
2572
|
"onUpdate:isPressed"?: ((value: boolean) => any) | undefined;
|
|
1926
2573
|
onPressedChange?: ((isPressed: boolean, event: MouseEvent) => any) | undefined;
|
|
1927
2574
|
}>, {
|
|
1928
|
-
elevation: ButtonElevation;
|
|
1929
2575
|
isDisabled: boolean;
|
|
1930
|
-
|
|
2576
|
+
elevation: ButtonElevation;
|
|
1931
2577
|
isIconOnly: boolean;
|
|
2578
|
+
isLoading: boolean;
|
|
1932
2579
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1933
2580
|
declare const __VLS_export$11: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
1934
2581
|
declare const _default$11: typeof __VLS_export$11;
|
|
@@ -1946,16 +2593,16 @@ type __VLS_ModelProps = {
|
|
|
1946
2593
|
};
|
|
1947
2594
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
1948
2595
|
declare const __VLS_base$8: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1949
|
-
"update:value": (value: ToggleButtonGroupValue) => any;
|
|
1950
2596
|
change: (value: ToggleButtonGroupValue) => any;
|
|
2597
|
+
"update:value": (value: ToggleButtonGroupValue) => any;
|
|
1951
2598
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
1952
|
-
"onUpdate:value"?: ((value: ToggleButtonGroupValue) => any) | undefined;
|
|
1953
2599
|
onChange?: ((value: ToggleButtonGroupValue) => any) | undefined;
|
|
2600
|
+
"onUpdate:value"?: ((value: ToggleButtonGroupValue) => any) | undefined;
|
|
1954
2601
|
}>, {
|
|
1955
|
-
size: ButtonSize;
|
|
1956
2602
|
isDisabled: boolean;
|
|
1957
2603
|
type: ToggleButtonGroupType;
|
|
1958
2604
|
orientation: ToggleButtonGroupOrientation;
|
|
2605
|
+
size: ButtonSize;
|
|
1959
2606
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1960
2607
|
declare const __VLS_export$10: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
1961
2608
|
declare const _default$10: typeof __VLS_export$10;
|
|
@@ -1993,9 +2640,9 @@ interface ToolbarSlots {
|
|
|
1993
2640
|
//#region src/Toolbar/Toolbar.vue.d.ts
|
|
1994
2641
|
type __VLS_Slots$7 = ToolbarSlots;
|
|
1995
2642
|
declare const __VLS_base$7: import("vue").DefineComponent<ToolbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarProps> & Readonly<{}>, {
|
|
1996
|
-
size: ToolbarSize;
|
|
1997
2643
|
variant: ToolbarVariant;
|
|
1998
2644
|
orientation: ToolbarOrientation;
|
|
2645
|
+
size: ToolbarSize;
|
|
1999
2646
|
gap: SpacingStep;
|
|
2000
2647
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2001
2648
|
declare const __VLS_export$9: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
@@ -2125,10 +2772,10 @@ declare const __VLS_export$6: import("vue").DefineComponent<TopNavItemProps, {},
|
|
|
2125
2772
|
}, string, import("vue").PublicProps, Readonly<TopNavItemProps> & Readonly<{
|
|
2126
2773
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2127
2774
|
}>, {
|
|
2128
|
-
|
|
2775
|
+
isSelected: boolean;
|
|
2129
2776
|
isDisabled: boolean;
|
|
2130
2777
|
isIconOnly: boolean;
|
|
2131
|
-
|
|
2778
|
+
size: NavItemSize;
|
|
2132
2779
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2133
2780
|
declare const _default$6: typeof __VLS_export$6;
|
|
2134
2781
|
//#endregion
|
|
@@ -2251,4 +2898,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
2251
2898
|
declare const __VLS_export: import("vue").DefineComponent<AvatarGroupOverflowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupOverflowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2252
2899
|
declare const _default: typeof __VLS_export;
|
|
2253
2900
|
//#endregion
|
|
2254
|
-
export { formatRelativeTime as $, DateRangeInputEmits as $n, SelectableCardEmits as $t, ToggleButtonElevation as A, MoreMenuIcon as An,
|
|
2901
|
+
export { formatRelativeTime as $, DateRangeInputEmits as $n, CheckboxListItemEmits as $r, SelectableCardEmits as $t, ToggleButtonElevation as A, MoreMenuIcon as An, ContextMenuItemSlots as Ar, SwitchChangeEvent as At, ToggleButtonGroupValue as B, _default$30 as Bn, ContextMenuSubMenuEmits as Br, _default$20 as Bt, _default$9 as C, BannerProps as Ci, _default$28 as Cn, ContextMenuEntry as Cr, TextAreaSize as Ct, _default$10 as D, _default$29 as Dn, ContextMenuItemEmits as Dr, TextAreaWrap as Dt, ToolbarSize as E, OverflowListProps as En, ContextMenuItemData as Er, TextAreaStatusType as Et, ToggleButtonGroupOrientation as F, MoreMenuPresentation as Fn, ContextMenuRadioData as Fr, SwitchStatus as Ft, _default$12 as G, FileInputStatus as Gn, ContextMenuWidth as Gr, SideNavHeadingProps as Gt, ToggleButtonProps as H, FileInputMode as Hn, ContextMenuSubMenuSlots as Hr, SideNavCollapseButtonProps as Ht, ToggleButtonGroupProps as I, MoreMenuProps as In, ContextMenuRadioOptionData as Ir, SwitchStatusType as It, TimestampProps as J, DateTimeInputEmits as Jn, ClickableCardProps as Jr, SideNavProps as Jt, TimestampColor as K, FileInputValue as Kn, _default$39 as Kr, SideNavItemEmits as Kt, ToggleButtonGroupSingleProps as L, MoreMenuResolvedPresentation as Ln, ContextMenuSection as Lr, _default$17 as Lt, ToggleButtonGroupBaseProps as M, MoreMenuItem as Mn, ContextMenuOption as Mr, SwitchProps as Mt, ToggleButtonGroupEmits as N, MoreMenuItemVariant as Nn, ContextMenuPresentation as Nr, SwitchSize as Nt, _default$11 as O, MoreMenuDivider as On, ContextMenuItemIcon as Or, _default$16 as Ot, ToggleButtonGroupMultipleProps as P, MoreMenuOption as Pn, ContextMenuProps as Pr, SwitchSlots as Pt, formatTooltipLines as Q, DateRange as Qn, CheckboxListEmits as Qr, _default$22 as Qt, ToggleButtonGroupSlots as R, MoreMenuSection as Rn, ContextMenuSize as Rr, _default$18 as Rt, TopNavProps as S, BannerEmits as Si, RadioValue as Sn, ContextMenuEmits as Sr, TextAreaResize as St, ToolbarProps as T, BannerStatus as Ti, OverflowListItem as Tn, ContextMenuGroupSlots as Tr, TextAreaStatus as Tt, ToggleButtonSize as U, FileInputProps as Un, ContextMenuTriggerElement as Ur, SideNavCollapsible as Ut, ToggleButtonPressedChangeHandler as V, FileInputEmits as Vn, ContextMenuSubMenuProps as Vr, _default$21 as Vt, ToggleButtonSlots as W, FileInputSize as Wn, ContextMenuVariant as Wr, SideNavEmits as Wt, TimestampTooltipFormat as X, DateTimeInputSize as Xn, _default$40 as Xr, SideNavCollapseContext as Xt, TimestampTooltipEntry as Y, DateTimeInputProps as Yn, ClickableCardSlots as Yr, SideNavSectionProps as Yt, TimestampTooltipLine as Z, _default$32 as Zn, _default$41 as Zr, useSideNavCollapse as Zt, TopNavMegaMenuItemProps as _, ButtonGroupProps as _i, RadioProps as _n, useContextMenu as _r, _default$15 as _t, _default$2 as a, CheckboxInputEmits as ai, _default$24 as an, DateInputFormatName as ar, TimeInputProps as at, TopNavMenuItem as b, _default$45 as bi, RadioStatus as bn, ContextMenuDividerData as br, TextAreaEmits as bt, _default$5 as c, CheckboxValue as ci, _default$26 as cn, DateInputProps as cr, TextInputChangeAction as ct, _default$8 as d, CalendarHandle as di, RadioGroupEmits as dn, DateInputStatusType as dr, TextInputProps as dt, CheckboxListItemProps as ei, SelectableCardProps as en, DateRangeInputProps as er, FormatInstantOptions as et, TopNavHeadingProps as f, CalendarHandleRef as fi, RadioGroupProps as fn, _default$34 as fr, TextInputSize as ft, TopNavMegaMenuFeaturedCardProps as g, _default$44 as gi, RadioOrientation as gn, _default$38 as gr, TextInputType as gt, TopNavMegaMenuEmits as h, CalendarSlots as hi, RadioOption as hn, _default$37 as hr, TextInputStatusType as ht, AvatarGroupProps as i, CheckboxInputChangeEvent as ii, ScrollableAreaSlots as in, DateInputFormat as ir, TimeInputEmits as it, ToggleButtonEmits as j, MoreMenuInitialFocus as jn, ContextMenuItemTarget as jr, SwitchEmits as jt, ToggleButtonChangeAction as k, MoreMenuEmits as kn, ContextMenuItemProps as kr, SwitchChangeAction as kt, _default$6 as l, _default$43 as li, _default$27 as ln, DateInputSlots as lr, TextInputChangeEvent as lt, TopNavItemProps as m, CalendarRangeValue as mi, RadioListProps as mn, _default$36 as mr, TextInputStatus as mt, _default$1 as n, _default$42 as ni, _default$23 as nn, _default$33 as nr, formatInstant as nt, _default$3 as o, CheckboxInputProps as oi, RadioListItemProps as on, DateInputNativePicker as or, TimeInputSize as ot, TopNavItemEmits as p, CalendarProps as pi, RadioGroupSlots as pn, _default$35 as pr, TextInputSlots as pt, TimestampFormat as q, _default$31 as qn, ClickableCardEmits as qr, SideNavItemProps as qt, AvatarGroupOverflowProps as r, CheckboxInputChangeAction as ri, ScrollableAreaProps as rn, DateInputEmits as rr, _default$13 as rt, _default$4 as s, CheckboxInputSlots as si, _default$25 as sn, DateInputPresentation as sr, _default$14 as st, _default as t, CheckboxListProps as ti, SelectableCardSlots as tn, DateRangePreset as tr, InstantFormat as tt, _default$7 as u, CalendarEmits as ui, RadioChangeEvent as un, DateInputStatus as ur, TextInputEmits as ut, TopNavMegaMenuProps as v, ButtonGroupSlots as vi, RadioSize as vn, useContextMenuSize as vr, TextAreaChangeAction as vt, ToolbarOrientation as w, BannerSlots as wi, OverflowListEmits as wn, ContextMenuGroupProps as wr, TextAreaSlots as wt, TopNavMenuProps as x, BannerContainer as xi, RadioStatusType as xn, ContextMenuDividerProps as xr, TextAreaProps as xt, TopNavMenuEmits as y, ButtonGroupOrientation as yi, RadioSlots as yn, ContextMenuCheckboxData as yr, TextAreaChangeEvent as yt, ToggleButtonGroupType as z, MoreMenuSlots as zn, ContextMenuSlots as zr, _default$19 as zt };
|