@astryx-vue/core 0.7.29 → 0.9.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/BottomSheet/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/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-C8kE0YJh.js → Carousel-BOlQQSju.js} +82 -5
- 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/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Drawer/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/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-CcEXq6fT.js → InternationalizationProvider-BENPobyB.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- 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/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +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-2jO62NSM.js → PowerSearch-C8GQ3etS.js} +1 -1
- 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/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Stack/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-sKQpWVKc.js → Table-C8ILhInV.js} +2 -2
- 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/TimeInput/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- 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/composables/index.d.ts +2 -2
- package/dist/composables/index.js +2 -2
- package/dist/{composables-lCxHhZQY.js → composables-CF4EnyHW.js} +441 -1
- package/dist/{index-DCxdesMw.d.ts → index-B62UAbz4.d.ts} +5 -5
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-dRBNR7Tq.d.ts → index-BNC-YmLY.d.ts} +144 -64
- package/dist/{index-BR3MOBYd.d.ts → index-BgT6mH3U.d.ts} +2 -2
- package/dist/{index-DY8Wph-A.d.ts → index-C1zwvxPH.d.ts} +2 -2
- package/dist/{index-D6pP-H_N.d.ts → index-CEWNso-N.d.ts} +1 -1
- package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
- package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-BxWCX2pJ.d.ts → index-CP-fJFcJ.d.ts} +2 -2
- package/dist/{index-DKgonPjs.d.ts → index-Ccj-2j56.d.ts} +31 -1
- package/dist/{index-BMCjAlq6.d.ts → index-CfPGC9aW.d.ts} +1 -1
- package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
- package/dist/{index-MOtVbTwK.d.ts → index-CuW4AQ7M.d.ts} +2 -2
- package/dist/{index-DpYJBFJj.d.ts → index-Cun6cXGP.d.ts} +2 -2
- package/dist/{index-BPf_jmME.d.ts → index-D1JXm7Et.d.ts} +1 -1
- package/dist/{index-Cz72NaF_.d.ts → index-DTfA4uE3.d.ts} +2 -2
- package/dist/{index-pACjRM0E.d.ts → index-D_gk1H4N.d.ts} +14 -6
- package/dist/{index-CvLWh-d-.d.ts → index-DgW-eqEr.d.ts} +5 -5
- package/dist/{index-unAZVFGz.d.ts → index-Dy746dfn.d.ts} +1 -1
- package/dist/{index-CxdKu7d2.d.ts → index-MEix_m1o.d.ts} +1 -1
- package/dist/{index-Dlq0cFK-.d.ts → index-dWlCpnua.d.ts} +3 -3
- package/dist/{index-Bn-v89Vt.d.ts → index-mkbGYz8f.d.ts} +3 -3
- package/dist/{index-DZKv1WNB.d.ts → index-qayqGnJT.d.ts} +1 -1
- package/dist/{index-B16Jb5mf.d.ts → index-qsSn6gXx.d.ts} +7 -7
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- 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-D4FgX9h3.d.ts → index-yhfD6HG9.d.ts} +3 -3
- package/dist/index.d.ts +31 -31
- package/dist/index.js +54 -9
- package/dist/{loadCatalog-BHlH2S6H.js → loadCatalog-CJs0hqbK.js} +1 -1
- package/dist/{loadCatalog-D_uf2uX1.d.ts → loadCatalog-TJL3Of5e.d.ts} +60 -2
- package/dist/locale/index.d.ts +4 -3
- package/dist/locale/index.js +49 -4
- package/dist/{locale-BGrZM4ow.js → locale-DD04T0Xc.js} +1 -1
- package/dist/{power-search-gHLIYXs5.d.ts → power-search-CqcsJT1F.d.ts} +6 -1
- package/dist/snapPagingValue-B5hfph1H.js +93 -0
- package/package.json +1 -1
- package/dist/index-BNbAJV9C.d.ts +0 -81
|
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<ResizeHandleProps, {
|
|
|
36
36
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResizeHandleProps> & Readonly<{}>, {
|
|
38
38
|
isDisabled: boolean;
|
|
39
|
-
direction: ResizeDirection;
|
|
40
39
|
position: ResizePosition;
|
|
40
|
+
direction: ResizeDirection;
|
|
41
41
|
isReversed: boolean;
|
|
42
42
|
hasDivider: boolean;
|
|
43
43
|
isAlwaysVisible: boolean;
|
|
@@ -343,8 +343,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
343
343
|
};
|
|
344
344
|
}>> & Readonly<{}>, {
|
|
345
345
|
plugins: readonly (MarkdownPluginEntry<MarkdownExtensionNode<string, string, MarkdownAstDataValue, "inline" | "block">> | MarkdownPlugin)[] | undefined;
|
|
346
|
-
density: MarkdownDensity | undefined;
|
|
347
346
|
content: string;
|
|
347
|
+
density: MarkdownDensity | undefined;
|
|
348
348
|
display: MarkdownDisplay | undefined;
|
|
349
349
|
contentWidth: string | number | undefined;
|
|
350
350
|
components: MarkdownComponents | undefined;
|
|
@@ -9,11 +9,11 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "reset" | "submit";
|
|
12
|
-
isIconOnly: boolean;
|
|
13
12
|
elevation: ButtonElevation;
|
|
14
13
|
isDisabled: boolean;
|
|
15
|
-
isInterruptible: boolean;
|
|
16
14
|
isLoading: boolean;
|
|
15
|
+
isIconOnly: boolean;
|
|
16
|
+
isInterruptible: boolean;
|
|
17
17
|
loadingLabel: string;
|
|
18
18
|
variant: ButtonVariant;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -84,16 +84,16 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
84
84
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
86
|
label: string;
|
|
87
|
+
content: string;
|
|
87
88
|
isOpen: boolean;
|
|
88
89
|
placement: HoverCardPlacement;
|
|
89
90
|
alignment: HoverCardAlignment;
|
|
90
|
-
content: string;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
|
+
isEnabled: boolean;
|
|
92
93
|
delay: number;
|
|
93
94
|
hideDelay: number;
|
|
94
95
|
focusTrigger: HoverCardFocusTrigger;
|
|
95
96
|
touchTrigger: HoverCardTouchTrigger;
|
|
96
|
-
isEnabled: boolean;
|
|
97
97
|
hasHoverIndication: HoverCardHoverIndication;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
99
99
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -108,8 +108,8 @@ 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
115
|
page: number;
|
|
@@ -66,16 +66,16 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
66
66
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
68
|
anchor: HTMLElement | null;
|
|
69
|
+
content: string;
|
|
69
70
|
isOpen: boolean;
|
|
70
71
|
placement: TooltipPlacement;
|
|
71
72
|
alignment: TooltipAlignment;
|
|
72
|
-
content: string;
|
|
73
73
|
isDefaultOpen: boolean;
|
|
74
|
+
isEnabled: boolean;
|
|
74
75
|
delay: number;
|
|
75
76
|
hideDelay: number;
|
|
76
77
|
focusTrigger: TooltipFocusTrigger;
|
|
77
78
|
touchTrigger: TooltipTouchTrigger;
|
|
78
|
-
isEnabled: boolean;
|
|
79
79
|
hasHoverIndication: boolean | "auto";
|
|
80
80
|
anchorsOnSelf: boolean;
|
|
81
81
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as AstryxLocale } from "./power-search-CqcsJT1F.js";
|
|
2
|
+
import { s as AstryxMessages } from "./loadCatalog-TJL3Of5e.js";
|
|
2
3
|
import { ComputedRef, InjectionKey, MaybeRefOrGetter } from "vue";
|
|
3
|
-
//#region src/locale/types.d.ts
|
|
4
|
-
/** 内置文案的两种语言。其他语言用 `loadAstryxCatalog` 接原版 JSON。 */
|
|
5
|
-
type AstryxLocale = 'en' | 'zh-CN';
|
|
6
|
-
//#endregion
|
|
7
4
|
//#region src/locale/context.d.ts
|
|
8
5
|
declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<string>>;
|
|
9
6
|
declare const astryxMessagesKey: InjectionKey<MaybeRefOrGetter<AstryxMessages>>;
|
|
@@ -16,6 +13,17 @@ declare const astryxMessagesKey: InjectionKey<MaybeRefOrGetter<AstryxMessages>>;
|
|
|
16
13
|
declare function normalizeLocale(locale: string | null | undefined): string;
|
|
17
14
|
declare function provideAstryxLocale(locale: MaybeRefOrGetter<string>, messages?: MaybeRefOrGetter<AstryxMessages>): void;
|
|
18
15
|
declare function useAstryxLocale(): ComputedRef<string>;
|
|
16
|
+
/** 组件自带的默认文案:命名空间 → 每种内置语言的一份。只放这个组件自己用到的命名空间。 */
|
|
17
|
+
type ComponentMessageDefaults = { [K in keyof AstryxMessages]?: Record<AstryxLocale, AstryxMessages[K]>; };
|
|
18
|
+
/** 按 `defaults` 的命名空间挑出来的文案,形状和 `AstryxMessages` 的对应字段一致。 */
|
|
19
|
+
type ComponentMessages<D extends ComponentMessageDefaults> = { [K in keyof D & keyof AstryxMessages]: AstryxMessages[K]; };
|
|
20
|
+
/**
|
|
21
|
+
* 组件读内置文案的入口。组件只把自己用到的命名空间交进来,
|
|
22
|
+
* 打包时就只带上这几份文案,不会把整份 `AstryxMessages` 一起带进去。
|
|
23
|
+
*
|
|
24
|
+
* 外层 provider 交了文案树时取树里的同名命名空间;没有 provider 时按当前语言取 `defaults`。
|
|
25
|
+
*/
|
|
26
|
+
declare function useComponentMessages<D extends ComponentMessageDefaults>(defaults: D): ComputedRef<ComponentMessages<D>>;
|
|
19
27
|
//#endregion
|
|
20
28
|
//#region src/locale/format.d.ts
|
|
21
29
|
declare function formatCalendarMonth(year: number, month: number, locale: string): string;
|
|
@@ -81,4 +89,4 @@ interface UseTranslatorReturn {
|
|
|
81
89
|
*/
|
|
82
90
|
declare function useTranslator(): UseTranslatorReturn;
|
|
83
91
|
//#endregion
|
|
84
|
-
export { UseLocaleReturn as a, useAstryxMessages as c,
|
|
92
|
+
export { useAstryxLocale as _, UseLocaleReturn as a, useAstryxMessages as c, ComponentMessageDefaults as d, ComponentMessages as f, provideAstryxLocale as g, normalizeLocale as h, useTranslator as i, formatCalendarMonth as l, astryxMessagesKey as m, TranslatorValues as n, useLocale as o, astryxLocaleKey as p, UseTranslatorReturn as r, useCollator as s, Translator as t, weekdayNames as u, useComponentMessages as v };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-aGzrvRkI.js";
|
|
2
2
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
3
|
-
import { t as PowerSearchMessages } from "./power-search-
|
|
3
|
+
import { t as PowerSearchMessages } from "./power-search-CqcsJT1F.js";
|
|
4
4
|
import { Component, VNodeChild } from "vue";
|
|
5
5
|
//#region src/PowerSearch/types.d.ts
|
|
6
6
|
interface EmptyOperatorValue {
|
|
@@ -391,22 +391,22 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
|
|
|
391
391
|
focusTypeahead: () => void | undefined;
|
|
392
392
|
blurTypeahead: () => void | undefined;
|
|
393
393
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
394
|
-
change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
|
|
395
394
|
blur: (event: FocusEvent) => any;
|
|
396
395
|
focus: (event: FocusEvent) => any;
|
|
396
|
+
change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
|
|
397
397
|
"update:filters": (filters: PowerSearchFilter[]) => any;
|
|
398
398
|
}, string, import("vue").PublicProps, Readonly<PowerSearchProps> & Readonly<{
|
|
399
|
-
onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
|
|
400
399
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
401
400
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
401
|
+
onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
|
|
402
402
|
"onUpdate:filters"?: ((filters: PowerSearchFilter[]) => any) | undefined;
|
|
403
403
|
}>, {
|
|
404
404
|
status: PowerSearchStatus;
|
|
405
405
|
statusVariant: PowerSearchStatusVariant;
|
|
406
|
-
hasClear: boolean;
|
|
407
406
|
disabled: boolean;
|
|
408
|
-
|
|
407
|
+
hasClear: boolean;
|
|
409
408
|
clearable: boolean;
|
|
409
|
+
labelHidden: boolean;
|
|
410
410
|
overflow: PowerSearchOverflow;
|
|
411
411
|
readOnly: boolean;
|
|
412
412
|
maxTokenLength: number;
|
|
@@ -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;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
16
16
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
label: string;
|
|
19
|
-
width: string | number;
|
|
20
19
|
anchor: HTMLElement | null;
|
|
20
|
+
width: string | number;
|
|
21
21
|
padding: PopoverPadding;
|
|
22
22
|
isOpen: boolean;
|
|
23
23
|
placement: LayerPlacement;
|
|
@@ -154,16 +154,16 @@ 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;
|
|
165
|
-
hasDivider: boolean;
|
|
166
165
|
overflow: TabListOverflow;
|
|
166
|
+
hasDivider: boolean;
|
|
167
167
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
168
168
|
declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
169
169
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -101,11 +101,11 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
101
101
|
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<{
|
|
102
102
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
103
103
|
onSearch?: ((query: string) => any) | undefined;
|
|
104
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
105
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
104
106
|
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
105
107
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
106
108
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
107
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
108
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
109
109
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
110
110
|
}> & (typeof globalThis extends {
|
|
111
111
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: TokenizerSlots<T>;
|
|
119
|
-
emit: ((evt: "search", query: string) => void) & ((evt: "
|
|
119
|
+
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);
|
|
120
120
|
}>) => import("vue").VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -83,8 +83,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
|
|
|
83
83
|
variant: DialogVariant;
|
|
84
84
|
width: string | number;
|
|
85
85
|
padding: DialogPadding;
|
|
86
|
-
position: DialogPosition;
|
|
87
86
|
isInline: boolean;
|
|
87
|
+
position: DialogPosition;
|
|
88
88
|
purpose: DialogPurpose;
|
|
89
89
|
maxHeight: string | number;
|
|
90
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -162,31 +162,31 @@ 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;
|
|
165
166
|
change: (value: string | number | null) => any;
|
|
166
167
|
keydown: (event: KeyboardEvent) => any;
|
|
167
168
|
"update:modelValue": (value: string | number | null) => 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;
|
|
172
173
|
onChange?: ((value: string | number | null) => any) | undefined;
|
|
173
174
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
174
175
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
175
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
177
|
isLoading: boolean;
|
|
178
178
|
variant: SelectorVariant;
|
|
179
|
+
status: SelectorStatusInput;
|
|
180
|
+
isOptional: boolean;
|
|
181
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
179
182
|
modelValue: string | number | null;
|
|
180
183
|
isLabelHidden: boolean;
|
|
181
|
-
isOptional: boolean;
|
|
182
184
|
isRequired: boolean;
|
|
183
|
-
status: SelectorStatusInput;
|
|
184
185
|
statusVariant: SelectorStatusVariant;
|
|
185
|
-
indicatorPosition: SelectorIndicatorPosition;
|
|
186
|
-
isReadOnly: boolean;
|
|
187
186
|
disabled: boolean;
|
|
188
|
-
|
|
187
|
+
isReadOnly: boolean;
|
|
189
188
|
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>;
|
|
@@ -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>;
|
|
@@ -154,11 +154,11 @@ type __VLS_ModelProps = {
|
|
|
154
154
|
};
|
|
155
155
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
156
156
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
157
|
-
change: (value: CollapsibleGroupValue) => any;
|
|
158
157
|
"update:value": (value: CollapsibleGroupValue | undefined) => any;
|
|
158
|
+
change: (value: CollapsibleGroupValue) => any;
|
|
159
159
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
160
|
-
onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
|
|
161
160
|
"onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
|
|
161
|
+
onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
|
|
162
162
|
}>, {
|
|
163
163
|
type: CollapsibleGroupType;
|
|
164
164
|
hasDividers: boolean;
|
|
@@ -80,10 +80,10 @@ type __VLS_Slots = {} & {
|
|
|
80
80
|
};
|
|
81
81
|
declare const __VLS_base: import("vue").DefineComponent<HeadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
|
|
82
82
|
color: HeadingColor;
|
|
83
|
-
maxLines: number;
|
|
84
83
|
display: HeadingDisplay;
|
|
85
84
|
justify: HeadingJustify;
|
|
86
85
|
hasCapsize: boolean;
|
|
86
|
+
maxLines: number;
|
|
87
87
|
hasTruncateTooltip: HeadingTruncateTooltip;
|
|
88
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -35,10 +35,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
35
35
|
focus: typeof focus;
|
|
36
36
|
blur: typeof blur;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
38
|
-
as: ItemElement;
|
|
39
38
|
isDisabled: boolean;
|
|
40
|
-
|
|
39
|
+
as: ItemElement;
|
|
41
40
|
layout: ItemLayout;
|
|
41
|
+
density: ListDensity;
|
|
42
42
|
isSelected: boolean;
|
|
43
43
|
align: ItemAlign;
|
|
44
44
|
isHighlighted: boolean;
|
|
@@ -56,8 +56,8 @@ type __VLS_Slots$1 = ListSlots;
|
|
|
56
56
|
declare const __VLS_base$1: import("vue").DefineComponent<ListProps, {
|
|
57
57
|
element: import("vue").ComputedRef<HTMLUListElement | HTMLOListElement | null>;
|
|
58
58
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListProps> & Readonly<{}>, {
|
|
59
|
-
start: number;
|
|
60
59
|
density: ListDensity;
|
|
60
|
+
start: number;
|
|
61
61
|
hasDividers: boolean;
|
|
62
62
|
listStyle: ListMarkerStyle;
|
|
63
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|