@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
|
@@ -150,11 +150,11 @@ type __VLS_ModelProps = {
|
|
|
150
150
|
};
|
|
151
151
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
152
152
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
153
|
-
"update:value": (value: CollapsibleGroupValue | undefined) => any;
|
|
154
153
|
change: (value: CollapsibleGroupValue) => any;
|
|
154
|
+
"update:value": (value: CollapsibleGroupValue | undefined) => any;
|
|
155
155
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
156
|
-
"onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
|
|
157
156
|
onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
|
|
157
|
+
"onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
|
|
158
158
|
}>, {
|
|
159
159
|
type: CollapsibleGroupType;
|
|
160
160
|
hasDividers: boolean;
|
|
@@ -57,8 +57,8 @@ interface TypeaheadSlots<T extends SearchableItem = SearchableItem> {
|
|
|
57
57
|
//#region src/Typeahead/Typeahead.vue.d.ts
|
|
58
58
|
declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
59
59
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
|
|
60
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
61
60
|
onChange?: ((value: T | null) => any) | undefined;
|
|
61
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
62
62
|
"onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
63
63
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
64
64
|
}> & (typeof globalThis extends {
|
|
@@ -70,7 +70,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
70
70
|
}>) => void;
|
|
71
71
|
attrs: any;
|
|
72
72
|
slots: TypeaheadSlots<T>;
|
|
73
|
-
emit: ((evt: "
|
|
73
|
+
emit: ((evt: "change", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void);
|
|
74
74
|
}>) => import("vue").VNode & {
|
|
75
75
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
76
76
|
};
|
|
@@ -100,11 +100,11 @@ type __VLS_Slots = {
|
|
|
100
100
|
default: () => unknown;
|
|
101
101
|
};
|
|
102
102
|
declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
103
|
-
"update:value": (value: string) => any;
|
|
104
103
|
change: (value: string) => any;
|
|
104
|
+
"update:value": (value: string) => any;
|
|
105
105
|
}, string, import("vue").PublicProps, Readonly<TabListProps> & Readonly<{
|
|
106
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
107
106
|
onChange?: ((value: string) => any) | undefined;
|
|
107
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
size: TabListSize;
|
|
110
110
|
isFullBleed: boolean;
|
|
@@ -24,6 +24,8 @@ type SelectorStatusInput = SelectorStatus | FieldStatusInput;
|
|
|
24
24
|
type SelectorPresentation = 'popover' | 'bottom-sheet';
|
|
25
25
|
type SelectorVariant = 'default' | 'ghost';
|
|
26
26
|
type SelectorStatusVariant = 'attached' | 'detached' | 'tooltip';
|
|
27
|
+
/** 选中标记画在选项行的哪一侧。没有选中时标记不占位。 */
|
|
28
|
+
type SelectorIndicatorPosition = 'start' | 'end';
|
|
27
29
|
interface SelectorProps {
|
|
28
30
|
/** 选中的值 */
|
|
29
31
|
modelValue?: string | number | null;
|
|
@@ -64,8 +66,10 @@ interface SelectorProps {
|
|
|
64
66
|
clearable?: boolean;
|
|
65
67
|
/** 清除按钮标签 */
|
|
66
68
|
clearLabel?: string;
|
|
67
|
-
/**
|
|
69
|
+
/** 没有任何选项时的空状态。 */
|
|
68
70
|
emptyText?: string;
|
|
71
|
+
/** 搜索没有命中时的文案。和没有任何选项不是同一句话。 */
|
|
72
|
+
emptySearchText?: string;
|
|
69
73
|
/** 可见标签。不传时用占位文本作为隐藏的无障碍名称。 */
|
|
70
74
|
label?: string;
|
|
71
75
|
/** 隐藏可见标签,仍保留给读屏。 */
|
|
@@ -76,6 +80,23 @@ interface SelectorProps {
|
|
|
76
80
|
width?: number | string;
|
|
77
81
|
/** 名称(用于表单提交) */
|
|
78
82
|
name?: string;
|
|
83
|
+
/**
|
|
84
|
+
* 只读。当前值还在,可以聚焦,也会随表单提交,但打不开列表,也没有清除和展开箭头。
|
|
85
|
+
* 不会变暗。和 disabled 同时设置时按禁用处理。
|
|
86
|
+
*/
|
|
87
|
+
isReadOnly?: boolean;
|
|
88
|
+
/** 触发器里显示加载指示,面板在加载完成前不声称「没有选项」。 */
|
|
89
|
+
isLoading?: boolean;
|
|
90
|
+
/** 在标签旁标成可选。 */
|
|
91
|
+
isOptional?: boolean;
|
|
92
|
+
/** 在标签旁标成必填,并设置 aria-required。 */
|
|
93
|
+
isRequired?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* 选中标记在选项行的起始侧或结束侧。
|
|
96
|
+
* 未选中时默认的勾不占位;主题把勾换成单选圆点后,未选中的行也会画出空心圆。
|
|
97
|
+
* @default 'end'
|
|
98
|
+
*/
|
|
99
|
+
indicatorPosition?: SelectorIndicatorPosition;
|
|
79
100
|
}
|
|
80
101
|
interface SelectorEmits {
|
|
81
102
|
'update:modelValue': [value: string | number | null];
|
|
@@ -100,22 +121,27 @@ interface SelectorSlots {
|
|
|
100
121
|
//#region src/Selector/Selector.vue.d.ts
|
|
101
122
|
type __VLS_Slots = SelectorSlots;
|
|
102
123
|
declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
103
|
-
search: (query: string) => any;
|
|
104
124
|
change: (value: string | number | null) => any;
|
|
125
|
+
search: (query: string) => any;
|
|
105
126
|
"update:modelValue": (value: string | number | null) => any;
|
|
106
127
|
}, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
|
|
107
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
108
128
|
onChange?: ((value: string | number | null) => any) | undefined;
|
|
129
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
109
130
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
110
131
|
}>, {
|
|
132
|
+
variant: SelectorVariant;
|
|
133
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
111
134
|
status: SelectorStatusInput;
|
|
135
|
+
isOptional: boolean;
|
|
136
|
+
isLoading: boolean;
|
|
112
137
|
size: SelectorSize;
|
|
113
|
-
variant: SelectorVariant;
|
|
114
138
|
modelValue: string | number | null;
|
|
115
139
|
isLabelHidden: boolean;
|
|
140
|
+
isRequired: boolean;
|
|
116
141
|
statusVariant: SelectorStatusVariant;
|
|
117
142
|
disabled: boolean;
|
|
118
143
|
clearable: boolean;
|
|
144
|
+
isReadOnly: boolean;
|
|
119
145
|
presentation: SelectorPresentation;
|
|
120
146
|
searchable: boolean;
|
|
121
147
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -127,4 +153,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
127
153
|
};
|
|
128
154
|
};
|
|
129
155
|
//#endregion
|
|
130
|
-
export {
|
|
156
|
+
export { SelectorOption as a, SelectorProps as c, SelectorSlots as d, SelectorStatus as f, SelectorVariant as h, SelectorIndicatorPosition as i, SelectorSection as l, SelectorStatusVariant as m, SelectorEmits as n, SelectorOptionInput as o, SelectorStatusInput as p, SelectorEntry as r, SelectorPresentation as s, _default as t, SelectorSize as u };
|
|
@@ -52,8 +52,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
52
52
|
"onUpdate:mobileNavOpen"?: ((value: boolean) => any) | undefined;
|
|
53
53
|
onMobileNavOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
variant: AppShellVariant;
|
|
56
55
|
height: AppShellHeight;
|
|
56
|
+
variant: AppShellVariant;
|
|
57
57
|
mobileNav: false | AppShellMobileNav;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
59
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -42,8 +42,8 @@ interface TreeListSlots {
|
|
|
42
42
|
//#region src/TreeList/TreeList.vue.d.ts
|
|
43
43
|
type __VLS_Slots = TreeListSlots;
|
|
44
44
|
declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
|
|
45
|
-
density: TreeListDensity;
|
|
46
45
|
variant: TreeListVariant;
|
|
46
|
+
density: TreeListDensity;
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
49
|
declare const _default: typeof __VLS_export;
|
|
@@ -84,8 +84,8 @@ interface StepSlots {
|
|
|
84
84
|
//#region src/Stepper/Step.vue.d.ts
|
|
85
85
|
type __VLS_Slots$1 = StepSlots;
|
|
86
86
|
declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
87
|
-
indicator: StepIndicator;
|
|
88
87
|
isDisabled: boolean;
|
|
88
|
+
indicator: StepIndicator;
|
|
89
89
|
isOptional: boolean;
|
|
90
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -1,70 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as ThemeMode, i as ThemeDefinition, o as ThemeProps, r as MediaThemeProps, t as DefineThemeInput } from "./types-jmqqnkKA.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
|
-
//#region src/Theme/types.d.ts
|
|
4
|
-
/** Color mode for a theme subtree. `system` follows the page and the OS. */
|
|
5
|
-
type ThemeMode = 'light' | 'dark' | 'system';
|
|
6
|
-
/**
|
|
7
|
-
* A token value.
|
|
8
|
-
*
|
|
9
|
-
* A string is used as written. A two-item tuple is the light stop, then the
|
|
10
|
-
* dark stop, and becomes `light-dark()`.
|
|
11
|
-
*/
|
|
12
|
-
type ThemeTokenValue = string | readonly [string, string];
|
|
13
|
-
/** CSS custom properties for a theme. Keys may omit the `--astryx-` prefix. */
|
|
14
|
-
type ThemeTokens = Record<string, ThemeTokenValue>;
|
|
15
|
-
/** Token overrides for one inverted surface. */
|
|
16
|
-
interface ThemeSurfaceInput {
|
|
17
|
-
tokens?: ThemeTokens;
|
|
18
|
-
}
|
|
19
|
-
interface DefineThemeInput {
|
|
20
|
-
/** Theme name. Used as `data-astryx-theme`. */
|
|
21
|
-
name: string;
|
|
22
|
-
/** Semantic token overrides for this theme. */
|
|
23
|
-
tokens?: ThemeTokens;
|
|
24
|
-
/** Another theme to start from. This theme's own values win. */
|
|
25
|
-
extends?: ThemeDefinition;
|
|
26
|
-
/** Syntax colors for code in this subtree, unless a SyntaxTheme is closer. */
|
|
27
|
-
syntax?: SyntaxThemeDefinition;
|
|
28
|
-
/** Extra tokens for content on a dark surface. */
|
|
29
|
-
onDark?: ThemeSurfaceInput;
|
|
30
|
-
/** Extra tokens for content on a light surface. */
|
|
31
|
-
onLight?: ThemeSurfaceInput;
|
|
32
|
-
}
|
|
33
|
-
interface ThemeDefinition {
|
|
34
|
-
name: string;
|
|
35
|
-
/** Token values already written as CSS. */
|
|
36
|
-
tokens: Readonly<Record<string, string>>;
|
|
37
|
-
/** Extra tokens applied by MediaTheme when the surface is dark. */
|
|
38
|
-
onDark: Readonly<Record<string, string>>;
|
|
39
|
-
/** Extra tokens applied by MediaTheme when the surface is light. */
|
|
40
|
-
onLight: Readonly<Record<string, string>>;
|
|
41
|
-
syntax?: SyntaxThemeDefinition;
|
|
42
|
-
readonly __astryxTheme: true;
|
|
43
|
-
}
|
|
44
|
-
interface ThemeProps {
|
|
45
|
-
/** Theme from `defineTheme()`. */
|
|
46
|
-
theme: ThemeDefinition;
|
|
47
|
-
/**
|
|
48
|
-
* Color mode for this subtree.
|
|
49
|
-
* @default 'system'
|
|
50
|
-
*/
|
|
51
|
-
mode?: ThemeMode;
|
|
52
|
-
}
|
|
53
|
-
/** Surface luminance, `auto` to measure it, or `off` to leave the page theme. */
|
|
54
|
-
type MediaThemeMode = 'dark' | 'light' | 'auto' | 'off';
|
|
55
|
-
interface MediaThemeProps {
|
|
56
|
-
/**
|
|
57
|
-
* Which surface the children sit on.
|
|
58
|
-
* `auto` measures the parent. `off` keeps the surrounding theme.
|
|
59
|
-
*/
|
|
60
|
-
mode: MediaThemeMode;
|
|
61
|
-
/**
|
|
62
|
-
* Side used by `auto` before the surface can be measured, and when it cannot.
|
|
63
|
-
* @default 'dark'
|
|
64
|
-
*/
|
|
65
|
-
fallback?: 'dark' | 'light';
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
3
|
//#region src/Theme/defineTheme.d.ts
|
|
69
4
|
declare function isDefinedTheme(value: unknown): value is ThemeDefinition;
|
|
70
5
|
/** Accept `--color-accent`, `--astryx-color-accent`, or `color-accent`. */
|
|
@@ -144,4 +79,4 @@ interface UseThemeReturn {
|
|
|
144
79
|
*/
|
|
145
80
|
declare function useTheme(): UseThemeReturn;
|
|
146
81
|
//#endregion
|
|
147
|
-
export {
|
|
82
|
+
export { _default as a, isDefinedTheme as c, useMediaTheme as i, neutralTheme as l, useTheme as n, _default$1 as o, UseMediaThemeReturn as r, defineTheme as s, UseThemeReturn as t, normalizeTokenName as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as ButtonSize } from "./types-WlmsNL1I.js";
|
|
2
2
|
import { l as FieldStatusVariant, o as FieldStatusInput } from "./types-3eXh_5os.js";
|
|
3
|
-
import { t as ExtendedIconName } from "./types-
|
|
3
|
+
import { t as ExtendedIconName } from "./types-CwyibrRB.js";
|
|
4
4
|
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-Db3Owy8Q.js";
|
|
5
5
|
import { Component, Ref, VNode } from "vue";
|
|
6
6
|
//#region src/ComplexSelector/types.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as TableProps, a as TableCellProps, b as TableRowProps, d as TableFilterState, f as TableFilterValue, g as TablePlugin, n as PixelWidth, o as TableColumn, r as ProportionalWidth, u as TableFilterField, w as TableSortState, x as TableSlots } from "./types-Cp4liug-.js";
|
|
2
2
|
import { CSSProperties, ComputedRef, MaybeRefOrGetter, Ref, VNodeChild } from "vue";
|
|
3
3
|
//#region src/Table/columnUtils.d.ts
|
|
4
4
|
declare function proportional(value?: number, options?: {
|
|
@@ -12,6 +12,10 @@ interface ResolvedColumnWidths {
|
|
|
12
12
|
columns: Map<string, ResolvedColumnWidth>;
|
|
13
13
|
tableMinWidth: number;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* 表格被挤到最小宽度时每一列的像素。固定列的偏移按这个宽度累加。
|
|
17
|
+
*/
|
|
18
|
+
declare function resolveColumnFloorWidths<T extends Record<string, unknown>>(columns: readonly TableColumn<T>[]): Map<string, number>;
|
|
15
19
|
declare function resolveColumnWidths<T extends Record<string, unknown>>(columns: readonly TableColumn<T>[]): ResolvedColumnWidths;
|
|
16
20
|
declare function capitalize(value: string): string;
|
|
17
21
|
declare function cellText(value: unknown): string;
|
|
@@ -66,6 +70,33 @@ declare function useTableFilterState(initial?: TableFilterState): {
|
|
|
66
70
|
declare function applyTableFilters<T extends Record<string, unknown>>(rows: readonly T[], filters: TableFilterState, fields?: readonly TableFilterField[]): T[];
|
|
67
71
|
declare function useTableFiltering<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableFilteringConfig>): TablePlugin<T>;
|
|
68
72
|
//#endregion
|
|
73
|
+
//#region src/Table/plugins/groupedRows.d.ts
|
|
74
|
+
interface UseTableGroupedRowsConfig<T extends Record<string, unknown>> {
|
|
75
|
+
data: readonly T[];
|
|
76
|
+
groupBy: (item: T) => string;
|
|
77
|
+
collapsedGroups: ReadonlySet<string>;
|
|
78
|
+
onToggleGroup: (groupKey: string) => void;
|
|
79
|
+
renderGroupHeader?: (groupKey: string, count: number, collapsed: boolean) => VNodeChild;
|
|
80
|
+
getRowKey?: (item: T) => string;
|
|
81
|
+
groupOrder?: readonly string[];
|
|
82
|
+
}
|
|
83
|
+
declare function isTableGroupHeader(item: unknown): item is Record<string, unknown> & {
|
|
84
|
+
groupKey: string;
|
|
85
|
+
count: number;
|
|
86
|
+
};
|
|
87
|
+
declare function buildGroupedRows<T extends Record<string, unknown>>(data: readonly T[], groupBy: (item: T) => string, collapsedGroups: ReadonlySet<string>, groupOrder?: readonly string[]): T[];
|
|
88
|
+
declare function useTableGroupedRows<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableGroupedRowsConfig<T>>): {
|
|
89
|
+
data: ComputedRef<T[]>;
|
|
90
|
+
plugin: TablePlugin<T>;
|
|
91
|
+
idKey: (item: T) => string;
|
|
92
|
+
};
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/Table/plugins/interaction.d.ts
|
|
95
|
+
/**
|
|
96
|
+
* 这一下点在按钮、链接、表单或一段被选中的文字上,就不该再触发行展开。
|
|
97
|
+
*/
|
|
98
|
+
declare function isInteractiveRowClick(event: MouseEvent): boolean;
|
|
99
|
+
//#endregion
|
|
69
100
|
//#region src/Table/plugins/pagination.d.ts
|
|
70
101
|
interface UseTablePaginationConfig {
|
|
71
102
|
page: number;
|
|
@@ -80,6 +111,48 @@ interface UseTablePaginationConfig {
|
|
|
80
111
|
}
|
|
81
112
|
declare function useTablePagination<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTablePaginationConfig>): TablePlugin<T>;
|
|
82
113
|
//#endregion
|
|
114
|
+
//#region src/Table/plugins/rowExpansion.d.ts
|
|
115
|
+
interface UseTableRowExpansionConfig<T extends Record<string, unknown>> {
|
|
116
|
+
expandedKeys: ReadonlySet<string>;
|
|
117
|
+
onToggle: (key: string) => void;
|
|
118
|
+
getRowKey: (item: T) => string;
|
|
119
|
+
renderExpanded: (item: T) => VNodeChild;
|
|
120
|
+
getIsItemExpandable?: (item: T) => boolean;
|
|
121
|
+
panelVariant?: 'muted' | 'transparent';
|
|
122
|
+
hasRowClickExpansion?: boolean;
|
|
123
|
+
}
|
|
124
|
+
declare function useTableRowExpansion<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableRowExpansionConfig<T>>): TablePlugin<T>;
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/Table/plugins/rowIndex.d.ts
|
|
127
|
+
interface UseTableRowIndexConfig<T extends Record<string, unknown>> {
|
|
128
|
+
data: readonly T[];
|
|
129
|
+
getRowKey?: (item: T) => string;
|
|
130
|
+
label?: string;
|
|
131
|
+
startFrom?: number;
|
|
132
|
+
}
|
|
133
|
+
declare function useTableRowIndex<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableRowIndexConfig<T>>): TablePlugin<T>;
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region src/Table/plugins/rowStatus.d.ts
|
|
136
|
+
type TableRowStatusName = 'success' | 'warning' | 'error';
|
|
137
|
+
type TableRowStatusColor = 'accent' | 'success' | 'error' | 'warning' | 'red' | 'orange' | 'green' | 'yellow' | 'blue' | 'gray';
|
|
138
|
+
interface TableSemanticRowStatus {
|
|
139
|
+
status: TableRowStatusName;
|
|
140
|
+
label: string;
|
|
141
|
+
color?: never;
|
|
142
|
+
icon?: never;
|
|
143
|
+
}
|
|
144
|
+
interface TableCustomRowStatus {
|
|
145
|
+
status?: never;
|
|
146
|
+
color: TableRowStatusColor | (string & {});
|
|
147
|
+
icon?: string;
|
|
148
|
+
label: string;
|
|
149
|
+
}
|
|
150
|
+
type TableRowStatus = TableSemanticRowStatus | TableCustomRowStatus;
|
|
151
|
+
interface UseTableRowStatusConfig<T extends Record<string, unknown>> {
|
|
152
|
+
getStatus: (item: T) => TableRowStatus | null;
|
|
153
|
+
}
|
|
154
|
+
declare function useTableRowStatus<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableRowStatusConfig<T>>): TablePlugin<T>;
|
|
155
|
+
//#endregion
|
|
83
156
|
//#region src/Table/plugins/selection.d.ts
|
|
84
157
|
interface UseTableSelectionStateConfig<T extends Record<string, unknown>> {
|
|
85
158
|
data: MaybeRefOrGetter<readonly T[]>;
|
|
@@ -129,6 +202,68 @@ declare function useTableSortableState<T extends Record<string, unknown>>(option
|
|
|
129
202
|
};
|
|
130
203
|
declare function useTableSortable<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableSortableConfig>): TablePlugin<T>;
|
|
131
204
|
//#endregion
|
|
205
|
+
//#region src/Table/plugins/stickyColumns.d.ts
|
|
206
|
+
interface UseTableStickyColumnsConfig {
|
|
207
|
+
startKeys?: readonly string[];
|
|
208
|
+
endKeys?: readonly string[];
|
|
209
|
+
}
|
|
210
|
+
interface StickySide {
|
|
211
|
+
edge: 'start' | 'end';
|
|
212
|
+
offset: number;
|
|
213
|
+
}
|
|
214
|
+
declare function stickyOffsets<T extends Record<string, unknown>>(columns: readonly TableColumn<T>[], keys: readonly string[], edge: 'start' | 'end'): Map<string, number> | null;
|
|
215
|
+
declare function resolveStickySide<T extends Record<string, unknown>>(columns: readonly TableColumn<T>[], columnKey: string, startKeys: readonly string[], endKeys: readonly string[]): StickySide | null;
|
|
216
|
+
declare function useTableStickyColumns<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableStickyColumnsConfig>): TablePlugin<T>;
|
|
217
|
+
//#endregion
|
|
218
|
+
//#region src/Table/plugins/tree.d.ts
|
|
219
|
+
interface TableTreeRowMeta {
|
|
220
|
+
id: string;
|
|
221
|
+
level: number;
|
|
222
|
+
hasChildren: boolean;
|
|
223
|
+
isExpanded: boolean;
|
|
224
|
+
}
|
|
225
|
+
interface UseTableTreeDataConfig<T extends Record<string, unknown>> {
|
|
226
|
+
getRowMeta: (item: T) => TableTreeRowMeta | undefined;
|
|
227
|
+
onToggleItem: (item: T) => void;
|
|
228
|
+
hasExpandableRows: boolean;
|
|
229
|
+
isAllExpanded?: boolean | 'indeterminate';
|
|
230
|
+
onExpandAll?: () => void;
|
|
231
|
+
onCollapseAll?: () => void;
|
|
232
|
+
hasExpandAllControl?: boolean;
|
|
233
|
+
indent?: 'sm' | 'md' | 'lg';
|
|
234
|
+
treeColumnKey?: string;
|
|
235
|
+
hasRowClickExpansion?: boolean;
|
|
236
|
+
}
|
|
237
|
+
interface UseTableTreeStateConfig<T extends Record<string, unknown>> {
|
|
238
|
+
data: readonly T[];
|
|
239
|
+
idKey: (keyof T & string) | ((item: T) => string | number);
|
|
240
|
+
childrenKey?: string;
|
|
241
|
+
defaultExpandedIds?: Iterable<string>;
|
|
242
|
+
expandedIds?: ReadonlySet<string>;
|
|
243
|
+
onExpandedIdsChange?: (ids: ReadonlySet<string>) => void;
|
|
244
|
+
isItemExpandable?: (item: T) => boolean;
|
|
245
|
+
sortSiblings?: (siblings: T[]) => T[];
|
|
246
|
+
indent?: 'sm' | 'md' | 'lg';
|
|
247
|
+
treeColumnKey?: string;
|
|
248
|
+
hasExpandAllControl?: boolean;
|
|
249
|
+
hasRowClickExpansion?: boolean;
|
|
250
|
+
}
|
|
251
|
+
interface FlatTree<T> {
|
|
252
|
+
rows: T[];
|
|
253
|
+
meta: Map<string, TableTreeRowMeta>;
|
|
254
|
+
expandableIds: string[];
|
|
255
|
+
}
|
|
256
|
+
declare function flattenTree<T extends Record<string, unknown>>(config: UseTableTreeStateConfig<T>, expandedIds: ReadonlySet<string>): FlatTree<T>;
|
|
257
|
+
declare function useTableTreeData<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableTreeDataConfig<T>>): TablePlugin<T>;
|
|
258
|
+
declare function useTableTreeState<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableTreeStateConfig<T>>): {
|
|
259
|
+
visibleData: ComputedRef<T[]>;
|
|
260
|
+
plugin: TablePlugin<T>;
|
|
261
|
+
expandedIds: ComputedRef<ReadonlySet<string>>;
|
|
262
|
+
isAllExpanded: ComputedRef<boolean | 'indeterminate'>;
|
|
263
|
+
expandAll: () => void;
|
|
264
|
+
collapseAll: () => void;
|
|
265
|
+
};
|
|
266
|
+
//#endregion
|
|
132
267
|
//#region src/Table/Table.vue.d.ts
|
|
133
268
|
declare const __VLS_export$7: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
134
269
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TableProps<T>> & (typeof globalThis extends {
|
|
@@ -249,4 +384,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
249
384
|
};
|
|
250
385
|
};
|
|
251
386
|
//#endregion
|
|
252
|
-
export {
|
|
387
|
+
export { UseTableColumnResizeConfig as $, TableRowStatusName as A, isInteractiveRowClick as B, UseTableSelectionConfig as C, TableCustomRowStatus as D, useTableSelectionState as E, useTableRowIndex as F, UseTableFilteringConfig as G, buildGroupedRows as H, UseTableRowExpansionConfig as I, useTableFiltering as J, applyTableFilters as K, useTableRowExpansion as L, UseTableRowStatusConfig as M, useTableRowStatus as N, TableRowStatus as O, UseTableRowIndexConfig as P, useTableColumnSettingsState as Q, UseTablePaginationConfig as R, useTableSortableState as S, useTableSelection as T, isTableGroupHeader as U, UseTableGroupedRowsConfig as V, useTableGroupedRows as W, UseTableColumnSettingsConfig as X, ColumnSettingsOption as Y, useTableColumnSettings as Z, resolveStickySide as _, _default$4 as a, pixel as at, UseTableSortableConfig as b, _default$7 as c, resolveColumnWidths as ct, UseTableTreeStateConfig as d, useTableColumnResize as et, flattenTree as f, UseTableStickyColumnsConfig as g, StickySide as h, _default$3 as i, paginateData as it, TableSemanticRowStatus as j, TableRowStatusColor as k, TableTreeRowMeta as l, sortRows as lt, useTableTreeState as m, _default$1 as n, cellText as nt, _default$5 as o, proportional as ot, useTableTreeData as p, useTableFilterState as q, _default$2 as r, generateColumns as rt, _default$6 as s, resolveColumnFloorWidths as st, _default as t, capitalize as tt, UseTableTreeDataConfig as u, stickyOffsets as v, UseTableSelectionStateConfig as w, useTableSortable as x, useTableStickyColumns as y, useTablePagination as z };
|