@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
|
@@ -1,33 +1,32 @@
|
|
|
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
|
-
import "./index-
|
|
7
|
+
import "./index-B9WzWqzk.js";
|
|
8
8
|
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-
|
|
29
|
-
import "./index-Byar3h1e.js";
|
|
30
|
-
import "./index-CJlBAXwj.js";
|
|
26
|
+
import "./index-ChWlKHjc.js";
|
|
27
|
+
import { u as MenuDrillIn } from "./index-BRfR0lhb.js";
|
|
28
|
+
import "./index-xfkEuGLY.js";
|
|
29
|
+
import "./index-HV6W3xCx.js";
|
|
31
30
|
import "./index--Xrukl7L.js";
|
|
32
31
|
import "./index-iBLzInje.js";
|
|
33
32
|
import "./index-Da7Jm8Ht.js";
|
|
@@ -35,54 +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
|
-
import "./index-
|
|
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
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
|
+
import "./index-nCEmW6wa.js";
|
|
62
63
|
import "./index-nKlTsNfV.js";
|
|
63
64
|
import "./index-COxy6LEW.js";
|
|
64
|
-
import "./index-
|
|
65
|
+
import "./index-C2sfHfBw.js";
|
|
65
66
|
import "./index-Dt_9IR_M.js";
|
|
66
67
|
import "./index-BIPc1v82.js";
|
|
67
68
|
import "./index-yaS9_EpM.js";
|
|
68
|
-
import "./index-
|
|
69
|
+
import "./index-MPcg1Pm4.js";
|
|
69
70
|
import "./index-BmAxqw1G.js";
|
|
70
|
-
import "./index-
|
|
71
|
-
import "./index-
|
|
72
|
-
import "./index-
|
|
71
|
+
import "./index-Ca8VIE4l.js";
|
|
72
|
+
import "./index-CngORuiq.js";
|
|
73
|
+
import "./index-C-QpeUlQ.js";
|
|
73
74
|
import { a as TextSize, n as TextColor, o as TextType, s as TextWeight } from "./types-Bt-lSgYX.js";
|
|
74
75
|
import "./index-Cm_TiLXU.js";
|
|
75
|
-
import "./index-
|
|
76
|
+
import "./index-Ch6BbxCP.js";
|
|
76
77
|
import "./index-CtlkhQ55.js";
|
|
77
78
|
import "./index-BMrggCw-.js";
|
|
78
79
|
import "./index-Bt7ewoz2.js";
|
|
79
|
-
import "./index-
|
|
80
|
-
import "./index-
|
|
80
|
+
import "./index-BXkNZF3q.js";
|
|
81
|
+
import "./index-FEy8qFSD.js";
|
|
81
82
|
import "./index-C5p2NeCr.js";
|
|
82
|
-
import "./index-
|
|
83
|
-
import "./index-
|
|
83
|
+
import "./index-C_2Z65Rp.js";
|
|
84
|
+
import "./index-Bqb_Fyju.js";
|
|
84
85
|
import "./index-DGV6SCWO.js";
|
|
85
86
|
import { Component, ComputedRef, InjectionKey, Ref, VNode, VNodeChild } from "vue";
|
|
87
|
+
import { CalendarDate } from "@internationalized/date";
|
|
86
88
|
//#region src/Banner/types.d.ts
|
|
87
89
|
type BannerStatus = 'info' | 'warning' | 'error' | 'success';
|
|
88
90
|
type BannerContainer = 'card' | 'section';
|
|
@@ -113,18 +115,18 @@ interface BannerSlots {
|
|
|
113
115
|
}
|
|
114
116
|
//#endregion
|
|
115
117
|
//#region src/Banner/Banner.vue.d.ts
|
|
116
|
-
type __VLS_Props$
|
|
117
|
-
type __VLS_Slots$
|
|
118
|
-
type __VLS_ModelProps$
|
|
118
|
+
type __VLS_Props$16 = Omit<BannerProps, 'isOpen'>;
|
|
119
|
+
type __VLS_Slots$36 = BannerSlots;
|
|
120
|
+
type __VLS_ModelProps$16 = {
|
|
119
121
|
'isOpen'?: boolean | undefined;
|
|
120
122
|
};
|
|
121
|
-
type __VLS_PublicProps$
|
|
122
|
-
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, {
|
|
123
125
|
element: import("vue").ComputedRef<HTMLDivElement | null>;
|
|
124
126
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
125
127
|
"update:isOpen": (value: boolean | undefined) => any;
|
|
126
128
|
dismiss: () => any;
|
|
127
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$
|
|
129
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$16> & Readonly<{
|
|
128
130
|
"onUpdate:isOpen"?: ((value: boolean | undefined) => any) | undefined;
|
|
129
131
|
onDismiss?: (() => any) | undefined;
|
|
130
132
|
}>, {
|
|
@@ -135,9 +137,9 @@ declare const __VLS_base$31: import("vue").DefineComponent<__VLS_PublicProps$15,
|
|
|
135
137
|
collapsible: boolean;
|
|
136
138
|
defaultIsOpen: boolean;
|
|
137
139
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
138
|
-
declare const __VLS_export$
|
|
139
|
-
declare const _default$
|
|
140
|
-
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 & {
|
|
141
143
|
new (): {
|
|
142
144
|
$slots: S;
|
|
143
145
|
};
|
|
@@ -164,18 +166,126 @@ interface ButtonGroupSlots {
|
|
|
164
166
|
}
|
|
165
167
|
//#endregion
|
|
166
168
|
//#region src/ButtonGroup/ButtonGroup.vue.d.ts
|
|
167
|
-
type __VLS_Slots$
|
|
168
|
-
declare const __VLS_base$
|
|
169
|
+
type __VLS_Slots$35 = ButtonGroupSlots;
|
|
170
|
+
declare const __VLS_base$35: import("vue").DefineComponent<ButtonGroupProps, {
|
|
169
171
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
170
172
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
171
|
-
orientation: ButtonGroupOrientation;
|
|
172
173
|
isDisabled: boolean;
|
|
173
|
-
size: ButtonSize;
|
|
174
174
|
elevation: ButtonElevation;
|
|
175
|
+
orientation: ButtonGroupOrientation;
|
|
176
|
+
size: ButtonSize;
|
|
175
177
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
176
|
-
declare const __VLS_export$
|
|
177
|
-
declare const _default$
|
|
178
|
-
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 & {
|
|
179
289
|
new (): {
|
|
180
290
|
$slots: S;
|
|
181
291
|
};
|
|
@@ -209,15 +319,15 @@ interface CheckboxInputEmits {
|
|
|
209
319
|
interface CheckboxInputSlots extends FieldLabelSlots {}
|
|
210
320
|
//#endregion
|
|
211
321
|
//#region src/CheckboxInput/CheckboxInput.vue.d.ts
|
|
212
|
-
type __VLS_Props$
|
|
213
|
-
type __VLS_Slots$
|
|
322
|
+
type __VLS_Props$15 = Omit<CheckboxInputProps, 'modelValue'>;
|
|
323
|
+
type __VLS_Slots$33 = CheckboxInputSlots;
|
|
214
324
|
declare function focus$5(options?: FocusOptions): void;
|
|
215
325
|
declare function blur$5(): void;
|
|
216
|
-
type __VLS_ModelProps$
|
|
326
|
+
type __VLS_ModelProps$15 = {
|
|
217
327
|
modelValue: CheckboxValue;
|
|
218
328
|
};
|
|
219
|
-
type __VLS_PublicProps$
|
|
220
|
-
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, {
|
|
221
331
|
element: import("vue").ComputedRef<HTMLInputElement | null>;
|
|
222
332
|
focus: typeof focus$5;
|
|
223
333
|
blur: typeof blur$5;
|
|
@@ -225,17 +335,17 @@ declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$14,
|
|
|
225
335
|
change: (value: boolean, event: CheckboxInputChangeEvent) => any;
|
|
226
336
|
"update:modelValue": (value: CheckboxValue) => any;
|
|
227
337
|
actionError: (error: unknown, value: boolean, event: CheckboxInputChangeEvent) => any;
|
|
228
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$
|
|
338
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$15> & Readonly<{
|
|
229
339
|
onChange?: ((value: boolean, event: CheckboxInputChangeEvent) => any) | undefined;
|
|
230
340
|
"onUpdate:modelValue"?: ((value: CheckboxValue) => any) | undefined;
|
|
231
341
|
onActionError?: ((error: unknown, value: boolean, event: CheckboxInputChangeEvent) => any) | undefined;
|
|
232
342
|
}>, {
|
|
233
|
-
size: CheckboxSize;
|
|
234
343
|
loadingLabel: string;
|
|
344
|
+
size: CheckboxSize;
|
|
235
345
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
236
|
-
declare const __VLS_export$
|
|
237
|
-
declare const _default$
|
|
238
|
-
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 & {
|
|
239
349
|
new (): {
|
|
240
350
|
$slots: S;
|
|
241
351
|
};
|
|
@@ -250,6 +360,20 @@ interface CheckboxListProps {
|
|
|
250
360
|
density?: ListDensity;
|
|
251
361
|
hasDividers?: boolean;
|
|
252
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>;
|
|
253
377
|
isRequired?: boolean;
|
|
254
378
|
isOptional?: boolean;
|
|
255
379
|
isLabelHidden?: boolean;
|
|
@@ -266,6 +390,8 @@ interface CheckboxListItemProps {
|
|
|
266
390
|
value?: string;
|
|
267
391
|
description?: string;
|
|
268
392
|
isDisabled?: boolean;
|
|
393
|
+
/** 这一行自己的加载。复选框里显示旋转指示,并且不能切换。 */
|
|
394
|
+
isLoading?: boolean;
|
|
269
395
|
isChecked?: CheckboxValue;
|
|
270
396
|
}
|
|
271
397
|
interface CheckboxListItemEmits {
|
|
@@ -276,19 +402,19 @@ interface CheckboxListItemSlots {
|
|
|
276
402
|
}
|
|
277
403
|
//#endregion
|
|
278
404
|
//#region src/CheckboxList/CheckboxList.vue.d.ts
|
|
279
|
-
type __VLS_Props$
|
|
280
|
-
type __VLS_ModelProps$
|
|
405
|
+
type __VLS_Props$14 = Omit<CheckboxListProps, 'modelValue'>;
|
|
406
|
+
type __VLS_ModelProps$14 = {
|
|
281
407
|
modelValue?: string[];
|
|
282
408
|
};
|
|
283
|
-
type __VLS_PublicProps$
|
|
284
|
-
declare var
|
|
285
|
-
type __VLS_Slots$
|
|
286
|
-
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;
|
|
287
413
|
};
|
|
288
|
-
declare const __VLS_base$
|
|
414
|
+
declare const __VLS_base$32: import("vue").DefineComponent<__VLS_PublicProps$14, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
289
415
|
change: (value: string[]) => any;
|
|
290
416
|
"update:modelValue": (...args: unknown[]) => any;
|
|
291
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$
|
|
417
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$14> & Readonly<{
|
|
292
418
|
onChange?: ((value: string[]) => any) | undefined;
|
|
293
419
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
294
420
|
}>, {
|
|
@@ -296,24 +422,24 @@ declare const __VLS_base$28: import("vue").DefineComponent<__VLS_PublicProps$13,
|
|
|
296
422
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
297
423
|
hasDividers: boolean;
|
|
298
424
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
299
|
-
declare const __VLS_export$
|
|
300
|
-
declare const _default$
|
|
301
|
-
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 & {
|
|
302
428
|
new (): {
|
|
303
429
|
$slots: S;
|
|
304
430
|
};
|
|
305
431
|
};
|
|
306
432
|
//#endregion
|
|
307
433
|
//#region src/CheckboxList/CheckboxListItem.vue.d.ts
|
|
308
|
-
type __VLS_Slots$
|
|
309
|
-
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, {
|
|
310
436
|
check: (checked: boolean) => any;
|
|
311
437
|
}, string, import("vue").PublicProps, Readonly<CheckboxListItemProps> & Readonly<{
|
|
312
438
|
onCheck?: ((checked: boolean) => any) | undefined;
|
|
313
439
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
314
|
-
declare const __VLS_export$
|
|
315
|
-
declare const _default$
|
|
316
|
-
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 & {
|
|
317
443
|
new (): {
|
|
318
444
|
$slots: S;
|
|
319
445
|
};
|
|
@@ -361,15 +487,479 @@ interface ClickableCardSlots {
|
|
|
361
487
|
}
|
|
362
488
|
//#endregion
|
|
363
489
|
//#region src/ClickableCard/ClickableCard.vue.d.ts
|
|
364
|
-
type __VLS_Slots$
|
|
365
|
-
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, {
|
|
366
492
|
click: (event: MouseEvent) => any;
|
|
367
493
|
}, string, import("vue").PublicProps, Readonly<ClickableCardProps> & Readonly<{
|
|
368
494
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
369
495
|
}>, {
|
|
370
496
|
isDisabled: boolean;
|
|
371
|
-
elevation: CardElevation;
|
|
372
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;
|
|
373
963
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
374
964
|
declare const __VLS_export$34: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
375
965
|
declare const _default$34: typeof __VLS_export$34;
|
|
@@ -392,10 +982,18 @@ type DateInputFormat = DateInputFormatName | ((iso: string) => string);
|
|
|
392
982
|
* Which surface opens for the calendar.
|
|
393
983
|
*
|
|
394
984
|
* `popover` is the desktop calendar. `bottom-sheet` always uses a bottom sheet.
|
|
395
|
-
* `adaptive-bottom-sheet` uses a
|
|
396
|
-
*
|
|
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.
|
|
397
995
|
*/
|
|
398
|
-
type
|
|
996
|
+
type DateInputNativePicker = NativePicker;
|
|
399
997
|
/** Legacy string status. Prefer `{ type, message }` so the message is visible. */
|
|
400
998
|
type DateInputStatusType = 'default' | FieldStatusType;
|
|
401
999
|
type DateInputStatus = DateInputStatusType | FieldStatusInput;
|
|
@@ -414,6 +1012,8 @@ interface DateInputProps {
|
|
|
414
1012
|
max?: Date;
|
|
415
1013
|
/** 禁用的日期判断函数 */
|
|
416
1014
|
isDateDisabled?: (date: Date) => boolean;
|
|
1015
|
+
/** 任一函数返回 false 时禁用这一天。 */
|
|
1016
|
+
dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
|
|
417
1017
|
/** 表单字段名 */
|
|
418
1018
|
name?: string;
|
|
419
1019
|
/** 输入框标签。传入后会显示在字段上方。 */
|
|
@@ -422,10 +1022,22 @@ interface DateInputProps {
|
|
|
422
1022
|
description?: string;
|
|
423
1023
|
/** 只把标签留给读屏,不显示出来。 */
|
|
424
1024
|
isLabelHidden?: boolean;
|
|
1025
|
+
/** 在标签旁标成可选。 */
|
|
1026
|
+
isOptional?: boolean;
|
|
1027
|
+
/** 把字段标成必填。 */
|
|
1028
|
+
isRequired?: boolean;
|
|
1029
|
+
/** 标签末尾信息图标里的说明。 */
|
|
1030
|
+
labelTooltip?: string;
|
|
425
1031
|
/** 是否禁用 */
|
|
426
1032
|
disabled?: boolean;
|
|
427
1033
|
/** 禁用原因 */
|
|
428
1034
|
disabledReason?: string;
|
|
1035
|
+
/** 正在提交。字段不可改,并显示加载指示。 */
|
|
1036
|
+
isLoading?: boolean;
|
|
1037
|
+
/**
|
|
1038
|
+
* 值已经提交之后再跑。返回 Promise 时,字段保持加载直到它结束。
|
|
1039
|
+
*/
|
|
1040
|
+
changeAction?: (value: Date | null) => void | Promise<void>;
|
|
429
1041
|
/** 是否可清除 */
|
|
430
1042
|
clearable?: boolean;
|
|
431
1043
|
/** 清除按钮标签 */
|
|
@@ -444,8 +1056,16 @@ interface DateInputProps {
|
|
|
444
1056
|
* 函数参数是 `YYYY-MM-DD`,只作用于已提交的值,不作用于正在输入的文本。
|
|
445
1057
|
*/
|
|
446
1058
|
format?: DateInputFormat;
|
|
447
|
-
/**
|
|
1059
|
+
/** 日历的打开方式。不传时,鼠标用弹出层,触摸设备用系统日期控件。 */
|
|
448
1060
|
presentation?: DateInputPresentation;
|
|
1061
|
+
/** 旧的打开方式。同时传了 `presentation` 时以 `presentation` 为准。 */
|
|
1062
|
+
nativePicker?: DateInputNativePicker;
|
|
1063
|
+
/** 弹出日历并排的月份数。系统日期控件表达不了这项。 */
|
|
1064
|
+
numberOfMonths?: 1 | 2;
|
|
1065
|
+
/** 弹出日历从哪一天开始一周。系统日期控件表达不了这项。 */
|
|
1066
|
+
weekStartsOn?: WeekStartsOn;
|
|
1067
|
+
/** 整段字段的宽度。数字按像素算。 */
|
|
1068
|
+
width?: number | string;
|
|
449
1069
|
}
|
|
450
1070
|
interface DateInputEmits {
|
|
451
1071
|
(event: 'update:modelValue', value: Date | null): void;
|
|
@@ -460,20 +1080,30 @@ interface DateInputSlots {
|
|
|
460
1080
|
//#endregion
|
|
461
1081
|
//#region src/DateInput/DateInput.vue.d.ts
|
|
462
1082
|
type __VLS_Slots$25 = DateInputSlots;
|
|
463
|
-
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, {} & {
|
|
464
1093
|
change: (value: Date | null) => any;
|
|
465
1094
|
"update:modelValue": (value: Date | null) => any;
|
|
466
1095
|
}, string, import("vue").PublicProps, Readonly<DateInputProps> & Readonly<{
|
|
467
1096
|
onChange?: ((value: Date | null) => any) | undefined;
|
|
468
1097
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
469
1098
|
}>, {
|
|
1099
|
+
isLoading: boolean;
|
|
470
1100
|
size: "sm" | "md" | "lg";
|
|
471
1101
|
modelValue: Date | null;
|
|
472
1102
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
473
1103
|
disabled: boolean;
|
|
474
1104
|
clearable: boolean;
|
|
475
|
-
presentation: DateInputPresentation;
|
|
476
1105
|
format: DateInputFormat;
|
|
1106
|
+
numberOfMonths: 1 | 2;
|
|
477
1107
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
478
1108
|
declare const __VLS_export$33: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
479
1109
|
declare const _default$33: typeof __VLS_export$33;
|
|
@@ -497,8 +1127,12 @@ interface DateRangeInputProps {
|
|
|
497
1127
|
placeholder?: string;
|
|
498
1128
|
presets?: readonly DateRangePreset[];
|
|
499
1129
|
monthCount?: number;
|
|
1130
|
+
/** 并排月份数。传了这项时优先于 monthCount。 */
|
|
1131
|
+
numberOfMonths?: 1 | 2;
|
|
500
1132
|
min?: string;
|
|
501
1133
|
max?: string;
|
|
1134
|
+
/** 任一函数返回 false 时禁用这一天。 */
|
|
1135
|
+
dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
|
|
502
1136
|
minRangeSpan?: number;
|
|
503
1137
|
maxRangeSpan?: number;
|
|
504
1138
|
weekStartsOn?: WeekStartsOn;
|
|
@@ -506,9 +1140,13 @@ interface DateRangeInputProps {
|
|
|
506
1140
|
clearLabel?: string;
|
|
507
1141
|
size?: 'sm' | 'md' | 'lg';
|
|
508
1142
|
isDisabled?: boolean;
|
|
1143
|
+
isLoading?: boolean;
|
|
1144
|
+
/** 值提交之后再跑。返回 Promise 时,字段保持加载直到它结束。 */
|
|
1145
|
+
changeAction?: (value: DateRange | null) => void | Promise<void>;
|
|
509
1146
|
isRequired?: boolean;
|
|
510
1147
|
isOptional?: boolean;
|
|
511
1148
|
isLabelHidden?: boolean;
|
|
1149
|
+
labelTooltip?: string;
|
|
512
1150
|
status?: FieldStatusInput;
|
|
513
1151
|
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
514
1152
|
width?: number | string;
|
|
@@ -531,6 +1169,7 @@ declare const __VLS_export$32: import("vue").DefineComponent<__VLS_PublicProps$1
|
|
|
531
1169
|
onChange?: ((value: ISODateRange | null) => any) | undefined;
|
|
532
1170
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
533
1171
|
}>, {
|
|
1172
|
+
isLoading: boolean;
|
|
534
1173
|
size: "sm" | "md" | "lg";
|
|
535
1174
|
modelValue: ISODateRange | null;
|
|
536
1175
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
@@ -556,11 +1195,19 @@ interface DateTimeInputProps {
|
|
|
556
1195
|
size?: DateTimeInputSize;
|
|
557
1196
|
min?: string;
|
|
558
1197
|
max?: string;
|
|
1198
|
+
/** 任一函数返回 false 时,日期那一半禁用这一天。 */
|
|
1199
|
+
dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
|
|
1200
|
+
numberOfMonths?: 1 | 2;
|
|
1201
|
+
weekStartsOn?: WeekStartsOn;
|
|
559
1202
|
isDisabled?: boolean;
|
|
1203
|
+
isLoading?: boolean;
|
|
1204
|
+
/** 日期和时间都齐了之后再跑。返回 Promise 时,字段保持加载直到它结束。 */
|
|
1205
|
+
changeAction?: (value: string | null) => void | Promise<void>;
|
|
560
1206
|
isReadOnly?: boolean;
|
|
561
1207
|
isRequired?: boolean;
|
|
562
1208
|
isOptional?: boolean;
|
|
563
1209
|
isLabelHidden?: boolean;
|
|
1210
|
+
labelTooltip?: string;
|
|
564
1211
|
status?: FieldStatusInput;
|
|
565
1212
|
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
566
1213
|
width?: number | string;
|
|
@@ -583,11 +1230,12 @@ declare const __VLS_export$31: import("vue").DefineComponent<__VLS_PublicProps$1
|
|
|
583
1230
|
onChange?: ((value: string | null) => any) | undefined;
|
|
584
1231
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
585
1232
|
}>, {
|
|
1233
|
+
isLoading: boolean;
|
|
586
1234
|
size: DateTimeInputSize;
|
|
587
1235
|
modelValue: string | null;
|
|
588
1236
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
589
|
-
hasClear: boolean;
|
|
590
1237
|
hourFormat: HourFormat;
|
|
1238
|
+
hasClear: boolean;
|
|
591
1239
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
592
1240
|
declare const _default$31: typeof __VLS_export$31;
|
|
593
1241
|
//#endregion
|
|
@@ -834,8 +1482,8 @@ declare const __VLS_base$24: import("vue").DefineComponent<__VLS_PublicProps$9,
|
|
|
834
1482
|
}>, {
|
|
835
1483
|
label: string;
|
|
836
1484
|
isDisabled: boolean;
|
|
837
|
-
size: ButtonSize;
|
|
838
1485
|
variant: ButtonVariant;
|
|
1486
|
+
size: ButtonSize;
|
|
839
1487
|
placement: LayerPlacement;
|
|
840
1488
|
alignment: LayerAlignment;
|
|
841
1489
|
isInline: boolean;
|
|
@@ -1083,8 +1731,8 @@ interface ScrollableAreaSlots {
|
|
|
1083
1731
|
type __VLS_Slots$18 = ScrollableAreaSlots;
|
|
1084
1732
|
declare const __VLS_base$18: import("vue").DefineComponent<ScrollableAreaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScrollableAreaProps> & Readonly<{}>, {
|
|
1085
1733
|
padding: SpacingStep;
|
|
1086
|
-
axis: ScrollAxis;
|
|
1087
1734
|
isFullBleed: boolean;
|
|
1735
|
+
axis: ScrollAxis;
|
|
1088
1736
|
role: ScrollRole;
|
|
1089
1737
|
overscroll: ScrollOverscroll;
|
|
1090
1738
|
stickyContainment: ScrollStickyContainment;
|
|
@@ -1140,15 +1788,15 @@ type __VLS_ModelProps$6 = {
|
|
|
1140
1788
|
};
|
|
1141
1789
|
type __VLS_PublicProps$6 = __VLS_Props$6 & __VLS_ModelProps$6;
|
|
1142
1790
|
declare const __VLS_base$17: import("vue").DefineComponent<__VLS_PublicProps$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1143
|
-
change: (isSelected: boolean) => any;
|
|
1144
1791
|
"update:isSelected": (value: boolean) => any;
|
|
1792
|
+
change: (isSelected: boolean) => any;
|
|
1145
1793
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$6> & Readonly<{
|
|
1146
|
-
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
1147
1794
|
"onUpdate:isSelected"?: ((value: boolean) => any) | undefined;
|
|
1795
|
+
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
1148
1796
|
}>, {
|
|
1149
1797
|
isDisabled: boolean;
|
|
1150
|
-
elevation: CardElevation;
|
|
1151
1798
|
variant: CardVariant;
|
|
1799
|
+
elevation: CardElevation;
|
|
1152
1800
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1153
1801
|
declare const __VLS_export$22: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
1154
1802
|
declare const _default$22: typeof __VLS_export$22;
|
|
@@ -1321,9 +1969,9 @@ declare const __VLS_base$14: import("vue").DefineComponent<SideNavItemProps, {},
|
|
|
1321
1969
|
}, string, import("vue").PublicProps, Readonly<SideNavItemProps> & Readonly<{
|
|
1322
1970
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1323
1971
|
}>, {
|
|
1972
|
+
isSelected: boolean;
|
|
1324
1973
|
isDisabled: boolean;
|
|
1325
1974
|
size: NavItemSize;
|
|
1326
|
-
isSelected: boolean;
|
|
1327
1975
|
collapsible: boolean | SideNavItemCollapsible;
|
|
1328
1976
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1329
1977
|
declare const __VLS_export$18: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
@@ -1403,8 +2051,8 @@ declare const __VLS_base$12: import("vue").DefineComponent<__VLS_PublicProps$5,
|
|
|
1403
2051
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1404
2052
|
onActionError?: ((error: unknown, value: boolean, event: SwitchChangeEvent) => any) | undefined;
|
|
1405
2053
|
}>, {
|
|
1406
|
-
size: SwitchSize;
|
|
1407
2054
|
loadingLabel: string;
|
|
2055
|
+
size: SwitchSize;
|
|
1408
2056
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1409
2057
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1410
2058
|
declare const __VLS_export$16: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
@@ -1481,22 +2129,22 @@ declare const __VLS_base$11: import("vue").DefineComponent<__VLS_PublicProps$4,
|
|
|
1481
2129
|
blur: typeof blur$2;
|
|
1482
2130
|
select: typeof select$1;
|
|
1483
2131
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1484
|
-
clear: (event: MouseEvent) => any;
|
|
1485
2132
|
change: (value: string, event: TextAreaChangeEvent) => any;
|
|
2133
|
+
clear: (event: MouseEvent) => any;
|
|
1486
2134
|
"update:modelValue": (value: string) => any;
|
|
2135
|
+
actionError: (error: unknown, value: string, event: TextAreaChangeEvent) => any;
|
|
1487
2136
|
enter: (event: KeyboardEvent) => any;
|
|
1488
2137
|
keydown: (event: KeyboardEvent) => any;
|
|
1489
|
-
actionError: (error: unknown, value: string, event: TextAreaChangeEvent) => any;
|
|
1490
2138
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
|
|
1491
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1492
2139
|
onChange?: ((value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
2140
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1493
2141
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2142
|
+
onActionError?: ((error: unknown, value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
1494
2143
|
onEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
1495
2144
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1496
|
-
onActionError?: ((error: unknown, value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
1497
2145
|
}>, {
|
|
1498
|
-
size: TextAreaSize;
|
|
1499
2146
|
loadingLabel: string;
|
|
2147
|
+
size: TextAreaSize;
|
|
1500
2148
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1501
2149
|
resize: TextAreaResize;
|
|
1502
2150
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1568,23 +2216,23 @@ declare const __VLS_base$10: import("vue").DefineComponent<__VLS_PublicProps$3,
|
|
|
1568
2216
|
blur: typeof blur$1;
|
|
1569
2217
|
select: typeof select;
|
|
1570
2218
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1571
|
-
clear: (event: MouseEvent) => any;
|
|
1572
2219
|
change: (value: string, event: TextInputChangeEvent) => any;
|
|
2220
|
+
clear: (event: MouseEvent) => any;
|
|
1573
2221
|
"update:modelValue": (value: string) => any;
|
|
2222
|
+
actionError: (error: unknown, value: string, event: TextInputChangeEvent) => any;
|
|
1574
2223
|
enter: (event: KeyboardEvent) => any;
|
|
1575
2224
|
keydown: (event: KeyboardEvent) => any;
|
|
1576
|
-
actionError: (error: unknown, value: string, event: TextInputChangeEvent) => any;
|
|
1577
2225
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
1578
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1579
2226
|
onChange?: ((value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
2227
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
1580
2228
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2229
|
+
onActionError?: ((error: unknown, value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
1581
2230
|
onEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
1582
2231
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1583
|
-
onActionError?: ((error: unknown, value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
1584
2232
|
}>, {
|
|
1585
2233
|
type: TextInputType;
|
|
1586
|
-
size: TextInputSize;
|
|
1587
2234
|
loadingLabel: string;
|
|
2235
|
+
size: TextInputSize;
|
|
1588
2236
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1589
2237
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1590
2238
|
declare const __VLS_export$14: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
@@ -1643,10 +2291,10 @@ declare const __VLS_export$13: import("vue").DefineComponent<__VLS_PublicProps$2
|
|
|
1643
2291
|
size: TimeInputSize;
|
|
1644
2292
|
modelValue: string | null;
|
|
1645
2293
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1646
|
-
hasClear: boolean;
|
|
1647
2294
|
hourFormat: HourFormat;
|
|
1648
2295
|
hasSeconds: boolean;
|
|
1649
2296
|
increment: number;
|
|
2297
|
+
hasClear: boolean;
|
|
1650
2298
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1651
2299
|
declare const _default$13: typeof __VLS_export$13;
|
|
1652
2300
|
//#endregion
|
|
@@ -1926,8 +2574,8 @@ declare const __VLS_base$9: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
|
1926
2574
|
}>, {
|
|
1927
2575
|
isDisabled: boolean;
|
|
1928
2576
|
elevation: ButtonElevation;
|
|
1929
|
-
isLoading: boolean;
|
|
1930
2577
|
isIconOnly: boolean;
|
|
2578
|
+
isLoading: boolean;
|
|
1931
2579
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1932
2580
|
declare const __VLS_export$11: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
1933
2581
|
declare const _default$11: typeof __VLS_export$11;
|
|
@@ -1945,15 +2593,15 @@ type __VLS_ModelProps = {
|
|
|
1945
2593
|
};
|
|
1946
2594
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
1947
2595
|
declare const __VLS_base$8: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1948
|
-
"update:value": (value: ToggleButtonGroupValue) => any;
|
|
1949
2596
|
change: (value: ToggleButtonGroupValue) => any;
|
|
2597
|
+
"update:value": (value: ToggleButtonGroupValue) => any;
|
|
1950
2598
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
1951
|
-
"onUpdate:value"?: ((value: ToggleButtonGroupValue) => any) | undefined;
|
|
1952
2599
|
onChange?: ((value: ToggleButtonGroupValue) => any) | undefined;
|
|
2600
|
+
"onUpdate:value"?: ((value: ToggleButtonGroupValue) => any) | undefined;
|
|
1953
2601
|
}>, {
|
|
1954
|
-
orientation: ToggleButtonGroupOrientation;
|
|
1955
2602
|
isDisabled: boolean;
|
|
1956
2603
|
type: ToggleButtonGroupType;
|
|
2604
|
+
orientation: ToggleButtonGroupOrientation;
|
|
1957
2605
|
size: ButtonSize;
|
|
1958
2606
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1959
2607
|
declare const __VLS_export$10: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
@@ -1992,9 +2640,9 @@ interface ToolbarSlots {
|
|
|
1992
2640
|
//#region src/Toolbar/Toolbar.vue.d.ts
|
|
1993
2641
|
type __VLS_Slots$7 = ToolbarSlots;
|
|
1994
2642
|
declare const __VLS_base$7: import("vue").DefineComponent<ToolbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarProps> & Readonly<{}>, {
|
|
2643
|
+
variant: ToolbarVariant;
|
|
1995
2644
|
orientation: ToolbarOrientation;
|
|
1996
2645
|
size: ToolbarSize;
|
|
1997
|
-
variant: ToolbarVariant;
|
|
1998
2646
|
gap: SpacingStep;
|
|
1999
2647
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2000
2648
|
declare const __VLS_export$9: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
@@ -2124,10 +2772,10 @@ declare const __VLS_export$6: import("vue").DefineComponent<TopNavItemProps, {},
|
|
|
2124
2772
|
}, string, import("vue").PublicProps, Readonly<TopNavItemProps> & Readonly<{
|
|
2125
2773
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2126
2774
|
}>, {
|
|
2775
|
+
isSelected: boolean;
|
|
2127
2776
|
isDisabled: boolean;
|
|
2128
|
-
size: NavItemSize;
|
|
2129
2777
|
isIconOnly: boolean;
|
|
2130
|
-
|
|
2778
|
+
size: NavItemSize;
|
|
2131
2779
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2132
2780
|
declare const _default$6: typeof __VLS_export$6;
|
|
2133
2781
|
//#endregion
|
|
@@ -2250,4 +2898,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
2250
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>;
|
|
2251
2899
|
declare const _default: typeof __VLS_export;
|
|
2252
2900
|
//#endregion
|
|
2253
|
-
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 };
|