@astryx-vue/core 0.16.5 → 0.17.0
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/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-mNR6dV0B.js → CommandPalette-CECjNvGB.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CR9XbpTa.js → ComplexSelector-Dmaag1wm.js} +5 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-ChGin5zS.js → DateTimeInput-Cfkuec_h.js} +1 -1
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Field/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-7rA65NO7.js → InternationalizationProvider-Dr5GE6f0.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BNVd70jg.js → Markdown-DnnWjJGX.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CXX1Hsty.js → MultiSelector-BK6nZweN.js} +26 -14
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BvZFvwso.js → Pagination-DFQNX_Mb.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BiupstfT.js → PowerSearch-BAOqpQag.js} +10 -10
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DiSLNzl8.js → Selector-Bo7qkt1P.js} +157 -62
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BD8MugZo.js → Table-CRKljXg4.js} +6 -6
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-8bDq2nud.js → Theme-iqi6AvU_.js} +363 -39
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-mu0Sak58.js → Tokenizer-CsFiYUJ_.js} +171 -103
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/Typeahead/index.d.ts +2 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-Db8Tu27Z.js → Typeahead--kEp21ut.js} +159 -71
- package/dist/{useKeyboardHighlight-CGCf1O57.js → assertOptions-CK_gJ0d3.js} +12 -1
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/index.js +5 -5
- package/dist/composables-BKHcPgN0.js +5730 -0
- package/dist/{index-CE74Qsbn.d.ts → index-85RFPeV0.d.ts} +10 -10
- package/dist/{index-BFZxzCYu.d.ts → index-9tZJgo0R.d.ts} +2 -2
- package/dist/{index-B-Jla56c.d.ts → index-B0iRA00v.d.ts} +3 -3
- package/dist/{index-LHvLg1Pv.d.ts → index-B95VIgRl.d.ts} +84 -84
- package/dist/{index-DMN_JVEt.d.ts → index-BL4mH8aK.d.ts} +1 -1
- package/dist/{index-Bfm6mF-r.d.ts → index-BfoazhEu.d.ts} +1 -1
- package/dist/{index-CQ1bsxLC.d.ts → index-C1qJlC65.d.ts} +1 -1
- package/dist/{index-ygmRS6Np.d.ts → index-C1zwvxPH.d.ts} +2 -2
- package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
- package/dist/{index-B0yaHi__.d.ts → index-CH-xSiJz.d.ts} +12 -5
- package/dist/{index-sXu15K4j.d.ts → index-CO9GW-ik.d.ts} +1 -1
- package/dist/{index-Xc3q9f84.d.ts → index-COgrQZIL.d.ts} +3 -3
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-BQ3cm7mP.d.ts → index-CbA8rR_b.d.ts} +1 -1
- package/dist/{index-B0R5CLPF.d.ts → index-CsYDrQ9R.d.ts} +1 -1
- package/dist/{index-BWzEt0gT.d.ts → index-CuW4AQ7M.d.ts} +2 -2
- package/dist/{index-BPf_jmME.d.ts → index-Cy1rEWC-.d.ts} +2 -2
- package/dist/{index-D_xBhUV5.d.ts → index-CyMStZq4.d.ts} +10 -10
- package/dist/{index-C2cH8OLC.d.ts → index-D31bgBoy.d.ts} +1 -1
- package/dist/index-DGXCnzOL.d.ts +69 -0
- package/dist/{index-DBwEz4M9.d.ts → index-DK0Wdo9N.d.ts} +13 -13
- package/dist/{index-SWw-WMTO.d.ts → index-DYabo8TI.d.ts} +2 -2
- package/dist/{index-CJdOt5Cc.d.ts → index-DofC9Rll.d.ts} +2 -2
- package/dist/{index-Byan7Dad.d.ts → index-GmoeIuhl.d.ts} +1 -1
- package/dist/{index-unAZVFGz.d.ts → index-Qdbssopn.d.ts} +2 -2
- package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
- package/dist/{index-C5e2rZML.d.ts → index-dWlCpnua.d.ts} +2 -2
- package/dist/{index-BPHqOCfp.d.ts → index-lmd9LZKB.d.ts} +4 -4
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-BXDqyk2_.d.ts → index-tuNsmJxw.d.ts} +169 -2
- package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +39 -38
- package/dist/index.js +26 -26
- package/dist/{loadCatalog-DFyDz_4e.d.ts → loadCatalog-BJwcyX8i.d.ts} +2 -0
- package/dist/{loadCatalog-C3MSknfx.js → loadCatalog-C1kms5sO.js} +5 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-OCGw4bi6.js → locale-CHhsd9Mq.js} +1 -1
- package/dist/{typeahead-RkZw0Ktn.js → typeahead-BgfLP7vR.js} +2 -0
- package/dist/{index-DbFIQDoa.d.ts → types-C1ydeFiu.d.ts} +43 -65
- package/dist/{types-uWxXh1Jm.d.ts → types-fRasDCe4.d.ts} +47 -6
- package/dist/{useAsyncSource-Gk0VtE7_.js → useAsyncSource-7GTcK8ep.js} +31 -1
- package/dist/{useAsyncSource-aGzrvRkI.d.ts → useAsyncSource-DbG2FSuI.d.ts} +19 -2
- package/dist/{useCombobox-D374_pT8.js → useCombobox-DIR9yoEu.js} +150 -3
- package/dist/{useTypeaheadAnnouncement-CSikDlpK.js → useTypeaheadMenuConfig--4f7jR6G.js} +264 -20
- package/package.json +1 -1
- package/styles/motion.css +10 -0
- package/styles/selector.css +10 -0
- package/dist/composables-CCsHfpCS.js +0 -1256
- package/dist/{Chat-PEkZTrQE.js → Chat-Wq7e98zS.js} +1 -1
- package/dist/{CodeBlock-9Lfec8C8.js → CodeBlock-CLVXVlB7.js} +1 -1
- package/dist/{DateInput-kXAc_r5m.js → DateInput-BitZfGEY.js} +1 -1
- package/dist/{DateRangeInput-DW7IzFQM.js → DateRangeInput-kxXBsUTU.js} +1 -1
- package/dist/{index-BqhgeAT4.d.ts → index-D8lv2BiD.d.ts} +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
2
2
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
3
3
|
import { t as InputStatusVariant } from "./useInputStatusIcon-B6m_t8cK.js";
|
|
4
|
+
import { a as TypeaheadListboxMenuSlotProps, n as TypeaheadDialogMenuSlotProps, o as TypeaheadMenuConfig } from "./types-C1ydeFiu.js";
|
|
4
5
|
//#region src/Tokenizer/types.d.ts
|
|
5
6
|
type TokenizerSize = 'sm' | 'md' | 'lg';
|
|
6
7
|
type TokenizerStatus = 'default' | 'success' | 'warning' | 'error';
|
|
@@ -24,6 +25,8 @@ type TokenizerChange<T extends SearchableItem = SearchableItem> = {
|
|
|
24
25
|
};
|
|
25
26
|
interface TokenizerProps<T extends SearchableItem = SearchableItem> extends FieldPartStylingProps {
|
|
26
27
|
modelValue?: readonly T[];
|
|
28
|
+
/** 菜单里放什么,默认是结果列表。见 {@link TypeaheadMenuConfig}。 */
|
|
29
|
+
menu?: TypeaheadMenuConfig;
|
|
27
30
|
searchSource: SearchSource<T>;
|
|
28
31
|
label: string;
|
|
29
32
|
/** 视觉上隐藏标签。读屏仍然读得到。 */
|
|
@@ -102,17 +105,19 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
102
105
|
isSelected: boolean;
|
|
103
106
|
}) => unknown;
|
|
104
107
|
empty?: () => unknown;
|
|
108
|
+
/** 菜单内容:listbox 角色在结果列表周围放信息,dialog 角色是菜单的全部内容。 */
|
|
109
|
+
menu?: (props: TypeaheadListboxMenuSlotProps & TypeaheadDialogMenuSlotProps) => unknown;
|
|
105
110
|
}
|
|
106
111
|
//#endregion
|
|
107
112
|
//#region src/Tokenizer/Tokenizer.vue.d.ts
|
|
108
113
|
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<{
|
|
109
114
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
110
|
-
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
111
|
-
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
112
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
113
115
|
onSearch?: ((query: string) => any) | undefined;
|
|
114
116
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
115
117
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
118
|
+
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
119
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
116
121
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
117
122
|
}> & (typeof globalThis extends {
|
|
118
123
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -120,10 +125,12 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
120
125
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
121
126
|
focus: () => void | undefined;
|
|
122
127
|
blur: () => void | undefined;
|
|
128
|
+
open: () => void;
|
|
129
|
+
close: () => void;
|
|
123
130
|
}>) => void;
|
|
124
131
|
attrs: any;
|
|
125
132
|
slots: TokenizerSlots<T>;
|
|
126
|
-
emit: ((evt: "
|
|
133
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
|
|
127
134
|
}>) => import("vue").VNode & {
|
|
128
135
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
129
136
|
};
|
|
@@ -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
|
-
isOptional: boolean;
|
|
88
87
|
isDisabled: boolean;
|
|
88
|
+
isOptional: boolean;
|
|
89
89
|
indicator: StepIndicator;
|
|
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>;
|
|
@@ -43,11 +43,11 @@ interface ProgressBarProps {
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/ProgressBar/ProgressBar.vue.d.ts
|
|
45
45
|
declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
46
|
-
isLabelHidden: boolean;
|
|
47
|
-
isDisabled: boolean;
|
|
48
46
|
size: ProgressBarSize;
|
|
49
|
-
|
|
47
|
+
isDisabled: boolean;
|
|
50
48
|
value: number;
|
|
49
|
+
variant: ProgressBarVariant;
|
|
50
|
+
isLabelHidden: boolean;
|
|
51
51
|
min: number;
|
|
52
52
|
max: number;
|
|
53
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -111,8 +111,8 @@ type __VLS_Slots = CardSlots;
|
|
|
111
111
|
declare const __VLS_base: import("vue").DefineComponent<CardProps, {
|
|
112
112
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
113
113
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
114
|
-
variant: keyof CardVariantMap;
|
|
115
114
|
elevation: CardElevation;
|
|
115
|
+
variant: keyof CardVariantMap;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
117
117
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
118
118
|
declare const _default: typeof __VLS_export;
|
|
@@ -89,8 +89,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
|
|
|
89
89
|
}, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
|
|
90
90
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
width: string | number;
|
|
93
92
|
variant: DialogVariant;
|
|
93
|
+
width: string | number;
|
|
94
94
|
padding: DialogPadding;
|
|
95
95
|
isInline: boolean;
|
|
96
96
|
position: DialogPosition;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as IndicatorSize, I as CoreIndicatorName, L as IndicatorComponent, U as IndicatorProps, V as IndicatorName, o as ThemeDefinition } from "./types-fRasDCe4.js";
|
|
2
2
|
import { ComputedRef, VNodeChild } from "vue";
|
|
3
3
|
//#region src/Indicator/CheckIndicator.vue.d.ts
|
|
4
4
|
type __VLS_Props$1 = IndicatorProps<'singleSelection'>;
|
|
@@ -9,13 +9,13 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "reset" | "submit";
|
|
12
|
+
elevation: ButtonElevation;
|
|
12
13
|
isDisabled: boolean;
|
|
13
14
|
isLoading: boolean;
|
|
14
|
-
variant: ButtonVariant;
|
|
15
|
-
elevation: ButtonElevation;
|
|
16
15
|
isIconOnly: boolean;
|
|
17
16
|
isInterruptible: boolean;
|
|
18
17
|
loadingLabel: string;
|
|
18
|
+
variant: ButtonVariant;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -108,10 +108,11 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
108
108
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
109
109
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
110
110
|
}>, {
|
|
111
|
-
isDisabled: boolean;
|
|
112
111
|
size: PaginationSize;
|
|
112
|
+
isDisabled: boolean;
|
|
113
113
|
variant: PaginationVariant;
|
|
114
114
|
step: number;
|
|
115
|
+
disabled: boolean;
|
|
115
116
|
page: number;
|
|
116
117
|
pageSize: number;
|
|
117
118
|
total: number;
|
|
@@ -119,7 +120,6 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
119
120
|
showSizeChanger: boolean;
|
|
120
121
|
pageSizeOptions: number[];
|
|
121
122
|
showTotal: boolean;
|
|
122
|
-
disabled: boolean;
|
|
123
123
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
124
124
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
125
125
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as SpacingStep } from "./types-BTk0WZ0b.js";
|
|
2
2
|
import { n as BadgeVariant } from "./types-DIYwbkpe.js";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
4
4
|
import { ComputedRef, InjectionKey, MaybeRefOrGetter, Ref, VNode } from "vue";
|
|
5
5
|
//#region src/Chat/messageTypes.d.ts
|
|
6
6
|
/** Who sent a message row. `system` is centered and ignores avatar, name, and metadata. */
|
|
@@ -535,15 +535,15 @@ type __VLS_Slots$11 = ChatComposerSlots;
|
|
|
535
535
|
declare const __VLS_base$11: import("vue").DefineComponent<ChatComposerProps, {
|
|
536
536
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
537
537
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
538
|
+
submit: (value: string) => any;
|
|
539
|
+
stop: () => any;
|
|
538
540
|
change: (value: string) => any;
|
|
539
541
|
"update:modelValue": (value: string) => any;
|
|
540
|
-
stop: () => any;
|
|
541
|
-
submit: (value: string) => any;
|
|
542
542
|
}, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
|
|
543
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
544
|
+
onStop?: (() => any) | undefined;
|
|
543
545
|
onChange?: ((value: string) => any) | undefined;
|
|
544
546
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
545
|
-
onStop?: (() => any) | undefined;
|
|
546
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
547
547
|
}>, {
|
|
548
548
|
elevation: ChatComposerElevation;
|
|
549
549
|
density: ChatDensity;
|
|
@@ -583,20 +583,20 @@ type __VLS_WithSlots$10<T, S> = T & {
|
|
|
583
583
|
//#endregion
|
|
584
584
|
//#region src/Chat/ChatComposerInput.vue.d.ts
|
|
585
585
|
declare const __VLS_export$15: import("vue").DefineComponent<ChatComposerInputProps, ChatComposerInputHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
586
|
+
submit: (value: string) => any;
|
|
586
587
|
change: (value: string) => any;
|
|
587
588
|
keydown: (event: KeyboardEvent) => any;
|
|
588
589
|
"update:modelValue": (value: string) => any;
|
|
589
|
-
submit: (value: string) => any;
|
|
590
590
|
files: (files: File[]) => any;
|
|
591
591
|
}, string, import("vue").PublicProps, Readonly<ChatComposerInputProps> & Readonly<{
|
|
592
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
592
593
|
onChange?: ((value: string) => any) | undefined;
|
|
593
594
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
594
595
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
595
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
596
596
|
onFiles?: ((files: File[]) => any) | undefined;
|
|
597
597
|
}>, {
|
|
598
|
-
maxRows: number;
|
|
599
598
|
debounceMs: number;
|
|
599
|
+
maxRows: number;
|
|
600
600
|
hasHistory: boolean;
|
|
601
601
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
602
602
|
declare const _default$15: typeof __VLS_export$15;
|
|
@@ -722,12 +722,12 @@ type __VLS_WithSlots$4<T, S> = T & {
|
|
|
722
722
|
//#region src/Chat/ChatSendButton.vue.d.ts
|
|
723
723
|
type __VLS_Slots$3 = ChatSendButtonSlots;
|
|
724
724
|
declare const __VLS_base$3: import("vue").DefineComponent<ChatSendButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
725
|
-
click: (event: MouseEvent) => any;
|
|
726
725
|
stop: () => any;
|
|
726
|
+
click: (event: MouseEvent) => any;
|
|
727
727
|
send: () => any;
|
|
728
728
|
}, string, import("vue").PublicProps, Readonly<ChatSendButtonProps> & Readonly<{
|
|
729
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
730
729
|
onStop?: (() => any) | undefined;
|
|
730
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
731
731
|
onSend?: (() => any) | undefined;
|
|
732
732
|
}>, {
|
|
733
733
|
size: "sm" | "md";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-
|
|
1
|
+
import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-BJwcyX8i.js";
|
|
2
2
|
import { ComputedRef, InjectionKey } from "vue";
|
|
3
3
|
//#region src/InternationalizationProvider/catalog.d.ts
|
|
4
4
|
/**
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
2
|
+
import { i as TypeaheadItemProps, l as TypeaheadSlots, s as TypeaheadProps, t as BaseTypeaheadProps } from "./types-C1ydeFiu.js";
|
|
3
|
+
//#region src/Typeahead/BaseTypeahead.vue.d.ts
|
|
4
|
+
declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<BaseTypeaheadProps<T> & {
|
|
6
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
7
|
+
onChange?: ((value: T | null) => any) | undefined;
|
|
8
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
10
|
+
onChangeQuery?: ((query: string) => any) | undefined;
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
+
} ? P : {});
|
|
14
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
15
|
+
focus: () => void | undefined;
|
|
16
|
+
blur: () => void | undefined;
|
|
17
|
+
open: () => void;
|
|
18
|
+
close: () => void;
|
|
19
|
+
}>) => void;
|
|
20
|
+
attrs: any;
|
|
21
|
+
slots: TypeaheadSlots<T>;
|
|
22
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
|
|
23
|
+
}>) => import("vue").VNode & {
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
|
+
};
|
|
26
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
27
|
+
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/Typeahead/Typeahead.vue.d.ts
|
|
30
|
+
declare const __VLS_export$1: <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<{
|
|
31
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
|
|
32
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
33
|
+
onChange?: ((value: T | null) => any) | undefined;
|
|
34
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
35
|
+
"onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
36
|
+
onChangeQuery?: ((query: string) => any) | undefined;
|
|
37
|
+
}> & (typeof globalThis extends {
|
|
38
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
39
|
+
} ? P : {});
|
|
40
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
41
|
+
focus: () => void | undefined;
|
|
42
|
+
blur: () => void | undefined;
|
|
43
|
+
open: () => void | undefined;
|
|
44
|
+
close: () => void | undefined;
|
|
45
|
+
}>) => void;
|
|
46
|
+
attrs: any;
|
|
47
|
+
slots: TypeaheadSlots<T>;
|
|
48
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
|
|
49
|
+
}>) => import("vue").VNode & {
|
|
50
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
51
|
+
};
|
|
52
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
53
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/Typeahead/TypeaheadItem.vue.d.ts
|
|
56
|
+
declare var __VLS_1: {};
|
|
57
|
+
type __VLS_Slots = {} & {
|
|
58
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
59
|
+
};
|
|
60
|
+
declare const __VLS_base: import("vue").DefineComponent<TypeaheadItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TypeaheadItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
61
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
62
|
+
declare const _default: typeof __VLS_export;
|
|
63
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { _default$1 as n, _default$2 as r, _default as t };
|
|
@@ -160,33 +160,33 @@ interface SelectorSlots {
|
|
|
160
160
|
//#region src/Selector/Selector.vue.d.ts
|
|
161
161
|
type __VLS_Slots = SelectorSlots;
|
|
162
162
|
declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
163
|
-
|
|
163
|
+
search: (query: string) => any;
|
|
164
164
|
click: (event: MouseEvent) => any;
|
|
165
|
+
focus: (event: FocusEvent) => any;
|
|
166
|
+
change: (value: string | number | null) => any;
|
|
165
167
|
keydown: (event: KeyboardEvent) => any;
|
|
166
168
|
"update:modelValue": (value: string | number | null) => any;
|
|
167
|
-
search: (query: string) => any;
|
|
168
|
-
focus: (event: FocusEvent) => any;
|
|
169
169
|
}, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
|
|
170
|
-
|
|
170
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
171
171
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
172
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
173
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
172
174
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
173
175
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
174
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
175
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
|
+
isLoading: boolean;
|
|
178
|
+
variant: SelectorVariant;
|
|
179
|
+
status: SelectorStatusInput;
|
|
180
|
+
isOptional: boolean;
|
|
181
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
177
182
|
modelValue: string | number | null;
|
|
178
183
|
isLabelHidden: boolean;
|
|
179
|
-
isOptional: boolean;
|
|
180
184
|
isRequired: boolean;
|
|
181
|
-
isLoading: boolean;
|
|
182
|
-
status: SelectorStatusInput;
|
|
183
185
|
statusVariant: SelectorStatusVariant;
|
|
184
|
-
|
|
185
|
-
indicatorPosition: SelectorIndicatorPosition;
|
|
186
|
-
disabled: boolean;
|
|
186
|
+
presentation: SelectorPresentation;
|
|
187
187
|
isReadOnly: boolean;
|
|
188
|
+
disabled: boolean;
|
|
188
189
|
clearable: boolean;
|
|
189
|
-
presentation: SelectorPresentation;
|
|
190
190
|
searchable: boolean;
|
|
191
191
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
192
192
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -65,11 +65,11 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
65
65
|
}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
66
66
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
|
+
anchor: HTMLElement | null;
|
|
69
|
+
content: string;
|
|
68
70
|
isOpen: boolean;
|
|
69
71
|
placement: TooltipPlacement;
|
|
70
72
|
alignment: TooltipAlignment;
|
|
71
|
-
anchor: HTMLElement | null;
|
|
72
|
-
content: string;
|
|
73
73
|
isDefaultOpen: boolean;
|
|
74
74
|
delay: number;
|
|
75
75
|
hideDelay: number;
|
|
@@ -83,11 +83,11 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
83
83
|
}, string, import("vue").PublicProps, Readonly<HoverCardProps> & Readonly<{
|
|
84
84
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
|
-
isOpen: boolean;
|
|
87
86
|
label: string;
|
|
87
|
+
content: string;
|
|
88
|
+
isOpen: boolean;
|
|
88
89
|
placement: HoverCardPlacement;
|
|
89
90
|
alignment: HoverCardAlignment;
|
|
90
|
-
content: string;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
92
|
delay: number;
|
|
93
93
|
hideDelay: number;
|
|
@@ -5,7 +5,7 @@ type __VLS_Slots$1 = FieldSlots;
|
|
|
5
5
|
declare const __VLS_base$1: import("vue").DefineComponent<FieldProps, {
|
|
6
6
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
7
7
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {
|
|
8
|
-
statusVariant:
|
|
8
|
+
statusVariant: "tooltip" | FieldStatusVariant;
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
11
11
|
declare const _default$2: typeof __VLS_export$2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
2
2
|
import { VNode } from "vue";
|
|
3
3
|
//#region src/CommandPalette/types.d.ts
|
|
4
4
|
interface CommandPaletteProps<T extends SearchableItem = SearchableItem> {
|
|
@@ -89,8 +89,8 @@ declare const __VLS_export$6: <T extends SearchableItem>(__VLS_props: NonNullabl
|
|
|
89
89
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(CommandPaletteProps<T> & {
|
|
90
90
|
value?: string | undefined;
|
|
91
91
|
}) & {
|
|
92
|
-
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
93
92
|
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
93
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
94
94
|
onValueChange?: ((value: string) => any) | undefined;
|
|
95
95
|
}> & (typeof globalThis extends {
|
|
96
96
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -161,8 +161,8 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
161
161
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
|
|
162
162
|
modelValue: Value;
|
|
163
163
|
}) & {
|
|
164
|
-
onChange?: ((value: Value) => any) | undefined;
|
|
165
164
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
165
|
+
onChange?: ((value: Value) => any) | undefined;
|
|
166
166
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
167
167
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
168
168
|
"onUpdate:modelValue"?: ((value: Value) => any) | undefined;
|
|
@@ -172,7 +172,7 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
172
172
|
expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
|
|
173
173
|
attrs: any;
|
|
174
174
|
slots: ComplexSelectorSlots<Value>;
|
|
175
|
-
emit: (((evt: "
|
|
175
|
+
emit: (((evt: "click", event: MouseEvent) => void) & ((evt: "change", value: Value) => void) & ((evt: "keydown", event: KeyboardEvent) => void) & ((evt: "openChange", isOpen: boolean) => void)) & ((event: "update:modelValue", value: Value) => void);
|
|
176
176
|
}>) => import("vue").VNode & {
|
|
177
177
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
178
178
|
};
|
|
@@ -154,11 +154,11 @@ type __VLS_Slots = {
|
|
|
154
154
|
default: () => unknown;
|
|
155
155
|
};
|
|
156
156
|
declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
157
|
-
change: (value: string) => any;
|
|
158
157
|
"update:value": (value: string) => any;
|
|
158
|
+
change: (value: string) => any;
|
|
159
159
|
}, string, import("vue").PublicProps, Readonly<TabListProps> & Readonly<{
|
|
160
|
-
onChange?: ((value: string) => any) | undefined;
|
|
161
160
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
161
|
+
onChange?: ((value: string) => any) | undefined;
|
|
162
162
|
}>, {
|
|
163
163
|
layout: TabListLayout;
|
|
164
164
|
isFullBleed: boolean;
|
|
@@ -15,15 +15,15 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
16
16
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
isOpen: boolean;
|
|
19
18
|
label: string;
|
|
19
|
+
anchor: HTMLElement | null;
|
|
20
20
|
width: string | number;
|
|
21
|
+
padding: PopoverPadding;
|
|
22
|
+
isOpen: boolean;
|
|
21
23
|
placement: LayerPlacement;
|
|
22
24
|
alignment: LayerAlignment;
|
|
23
|
-
anchor: HTMLElement | null;
|
|
24
|
-
padding: PopoverPadding;
|
|
25
|
-
role: PopoverRole;
|
|
26
25
|
hasAutoFocus: boolean;
|
|
26
|
+
role: PopoverRole;
|
|
27
27
|
hasCloseButton: boolean;
|
|
28
28
|
closeButtonLabel: string;
|
|
29
29
|
isEnabled: boolean;
|
|
@@ -9,10 +9,10 @@ declare const __VLS_base: import("vue").DefineComponent<TextProps, {}, {}, {}, {
|
|
|
9
9
|
type: TextType;
|
|
10
10
|
as: TextAs;
|
|
11
11
|
color: TextColor;
|
|
12
|
-
maxLines: number;
|
|
13
12
|
display: TextDisplay;
|
|
14
13
|
justify: TextJustify;
|
|
15
14
|
hasCapsize: boolean;
|
|
15
|
+
maxLines: number;
|
|
16
16
|
hasTruncateTooltip: TextTruncateTooltip;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|