@opentiny/tiny-robot 0.3.0-alpha.22 → 0.3.0-alpha.24
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/flow-layout-buttons/index.js +1 -1
- package/dist/history/index.js +262 -201
- package/dist/index.d.ts +93 -99
- package/dist/index2.js +2 -2
- package/dist/index3.js +1 -1
- package/dist/mcp-add-form/index.js +1 -1
- package/dist/sender/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/suggestion-pills/index.js +1 -1
- package/dist/suggestion-popover/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
-
import { AutoSize as AutoSize_2 } from './index.type';
|
|
4
|
-
import { BubbleContentItem as BubbleContentItem_2 } from './renderers';
|
|
5
3
|
import { Component } from 'vue';
|
|
6
4
|
import { ComponentCustomProperties } from 'vue';
|
|
7
5
|
import { ComponentCustomProps } from 'vue';
|
|
@@ -17,14 +15,9 @@ import { CSSProperties } from 'vue';
|
|
|
17
15
|
import { DebuggerEvent } from 'vue';
|
|
18
16
|
import { DefineComponent } from 'vue';
|
|
19
17
|
import { Directive } from 'vue';
|
|
20
|
-
import { DisplayVariant as DisplayVariant_2 } from './index.type';
|
|
21
18
|
import { ExtractPropTypes } from 'vue';
|
|
22
|
-
import { FileTypeMatcher as FileTypeMatcher_2 } from './index.type';
|
|
23
19
|
import { GlobalComponents } from 'vue';
|
|
24
20
|
import { GlobalDirectives } from 'vue';
|
|
25
|
-
import { InputMode as InputMode_2 } from './index.type';
|
|
26
|
-
import { ISuggestionItem as ISuggestionItem_2 } from './index.type';
|
|
27
|
-
import { MarketCategoryOption as MarketCategoryOption_2 } from './index.type';
|
|
28
21
|
import { nextTick } from 'vue';
|
|
29
22
|
import { OnCleanup } from '@vue/reactivity';
|
|
30
23
|
import { Options } from 'markdown-it';
|
|
@@ -35,9 +28,6 @@ import { RendererElement } from 'vue';
|
|
|
35
28
|
import { RendererNode } from 'vue';
|
|
36
29
|
import { ShallowUnwrapRef } from 'vue';
|
|
37
30
|
import { Slot } from 'vue';
|
|
38
|
-
import { SubmitTrigger as SubmitTrigger_2 } from './index.type';
|
|
39
|
-
import { ThemeType as ThemeType_2 } from './index.type';
|
|
40
|
-
import { TooltipContentProps } from './components/Tooltip.vue';
|
|
41
31
|
import { TransitionProps } from 'vue';
|
|
42
32
|
import { VNode } from 'vue';
|
|
43
33
|
import { VNodeProps } from 'vue';
|
|
@@ -45,7 +35,7 @@ import { WatchOptions } from 'vue';
|
|
|
45
35
|
import { WatchStopHandle } from 'vue';
|
|
46
36
|
|
|
47
37
|
declare const __VLS_component: DefineComponent<BubbleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProps> & Readonly<{}>, {
|
|
48
|
-
content: string |
|
|
38
|
+
content: string | BubbleContentItem[];
|
|
49
39
|
placement: "start" | "end";
|
|
50
40
|
shape: "rounded" | "corner";
|
|
51
41
|
abortedText: string;
|
|
@@ -379,20 +369,20 @@ onSubmit?: ((value: string) => any) | undefined;
|
|
|
379
369
|
disabled: boolean;
|
|
380
370
|
modelValue: string;
|
|
381
371
|
placeholder: string;
|
|
382
|
-
mode:
|
|
372
|
+
mode: InputMode;
|
|
383
373
|
loading: boolean;
|
|
384
374
|
autofocus: boolean;
|
|
385
|
-
clearable: boolean;
|
|
386
|
-
showWordLimit: boolean;
|
|
387
375
|
allowSpeech: boolean;
|
|
388
376
|
allowFiles: boolean;
|
|
389
|
-
submitType:
|
|
377
|
+
submitType: SubmitTrigger;
|
|
390
378
|
stopText: string;
|
|
391
|
-
suggestions:
|
|
392
|
-
autoSize:
|
|
379
|
+
suggestions: ISuggestionItem[];
|
|
380
|
+
autoSize: AutoSize;
|
|
381
|
+
clearable: boolean;
|
|
393
382
|
maxLength: number;
|
|
383
|
+
showWordLimit: boolean;
|
|
394
384
|
suggestionPopupWidth: string | number;
|
|
395
|
-
theme:
|
|
385
|
+
theme: ThemeType;
|
|
396
386
|
templateData: UserItem[];
|
|
397
387
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
398
388
|
senderRef: HTMLDivElement;
|
|
@@ -902,6 +892,10 @@ floatingItemsRef: HTMLDivElement;
|
|
|
902
892
|
floatingMaybeItemRefs: unknown[];
|
|
903
893
|
}, HTMLDivElement>;
|
|
904
894
|
|
|
895
|
+
declare type __VLS_PrettifyLocal<T> = {
|
|
896
|
+
[K in keyof T]: T[K];
|
|
897
|
+
} & {};
|
|
898
|
+
|
|
905
899
|
declare type __VLS_Props = {
|
|
906
900
|
contentRenderers?: Record<string, BubbleContentRenderer>;
|
|
907
901
|
};
|
|
@@ -1904,15 +1898,6 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
|
|
|
1904
1898
|
|
|
1905
1899
|
export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
|
|
1906
1900
|
|
|
1907
|
-
declare interface BaseHistoryProps {
|
|
1908
|
-
activeTab?: string;
|
|
1909
|
-
searchBar?: boolean;
|
|
1910
|
-
searchQuery?: string;
|
|
1911
|
-
searchPlaceholder?: string;
|
|
1912
|
-
searchFn?: (query: string, item: HistoryItem) => boolean;
|
|
1913
|
-
selected?: string;
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
1901
|
declare interface BaseTextItem {
|
|
1917
1902
|
id: string;
|
|
1918
1903
|
type: string;
|
|
@@ -2101,44 +2086,44 @@ declare const _default: {
|
|
|
2101
2086
|
};
|
|
2102
2087
|
export default _default;
|
|
2103
2088
|
|
|
2104
|
-
declare const _default_10: typeof
|
|
2105
|
-
install: typeof
|
|
2089
|
+
declare const _default_10: typeof _default_30 & {
|
|
2090
|
+
install: typeof install_9;
|
|
2106
2091
|
};
|
|
2107
2092
|
export { _default_10 as Sender }
|
|
2108
2093
|
export { _default_10 as TrSender }
|
|
2109
2094
|
|
|
2110
|
-
declare const _default_11: typeof
|
|
2111
|
-
install: typeof
|
|
2095
|
+
declare const _default_11: typeof _default_32 & {
|
|
2096
|
+
install: typeof install_10;
|
|
2112
2097
|
};
|
|
2113
2098
|
export { _default_11 as SuggestionPills }
|
|
2114
2099
|
export { _default_11 as TrSuggestionPills }
|
|
2115
2100
|
|
|
2116
|
-
declare const _default_12: typeof
|
|
2117
|
-
install: typeof
|
|
2101
|
+
declare const _default_12: typeof _default_33 & {
|
|
2102
|
+
install: typeof install_11;
|
|
2118
2103
|
};
|
|
2119
2104
|
export { _default_12 as SuggestionPopover }
|
|
2120
2105
|
export { _default_12 as TrSuggestionPopover }
|
|
2121
2106
|
|
|
2122
|
-
declare const _default_13: typeof
|
|
2123
|
-
install: typeof
|
|
2107
|
+
declare const _default_13: typeof _default_34 & {
|
|
2108
|
+
install: typeof install_12;
|
|
2124
2109
|
};
|
|
2125
2110
|
export { _default_13 as ThemeProvider }
|
|
2126
2111
|
export { _default_13 as TrThemeProvider }
|
|
2127
2112
|
|
|
2128
|
-
declare const _default_14: typeof
|
|
2129
|
-
install: typeof
|
|
2113
|
+
declare const _default_14: typeof _default_35 & {
|
|
2114
|
+
install: typeof install_13;
|
|
2130
2115
|
};
|
|
2131
2116
|
export { _default_14 as TrWelcome }
|
|
2132
2117
|
export { _default_14 as Welcome }
|
|
2133
2118
|
|
|
2134
|
-
declare const _default_15: typeof
|
|
2135
|
-
install: typeof
|
|
2119
|
+
declare const _default_15: typeof _default_36 & {
|
|
2120
|
+
install: typeof install_14;
|
|
2136
2121
|
};
|
|
2137
2122
|
export { _default_15 as McpServerPicker }
|
|
2138
2123
|
export { _default_15 as TrMcpServerPicker }
|
|
2139
2124
|
|
|
2140
|
-
declare const _default_16: typeof
|
|
2141
|
-
install: typeof
|
|
2125
|
+
declare const _default_16: typeof _default_37 & {
|
|
2126
|
+
install: typeof install_15;
|
|
2142
2127
|
};
|
|
2143
2128
|
export { _default_16 as McpAddForm }
|
|
2144
2129
|
export { _default_16 as TrMcpAddForm }
|
|
@@ -2165,8 +2150,8 @@ file: Attachment;
|
|
|
2165
2150
|
}) => any) | undefined;
|
|
2166
2151
|
}>, {
|
|
2167
2152
|
actions: ActionButton[];
|
|
2168
|
-
fileMatchers:
|
|
2169
|
-
variant:
|
|
2153
|
+
fileMatchers: FileTypeMatcher[];
|
|
2154
|
+
variant: DisplayVariant;
|
|
2170
2155
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2171
2156
|
|
|
2172
2157
|
declare const _default_18: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2203,18 +2188,36 @@ actionsLimit: number;
|
|
|
2203
2188
|
sourcesLinesLimit: number;
|
|
2204
2189
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2205
2190
|
|
|
2206
|
-
declare const _default_26:
|
|
2191
|
+
declare const _default_26: <T extends HistoryItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2192
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
2193
|
+
readonly "onItem-click"?: ((item: T) => any) | undefined;
|
|
2194
|
+
readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
|
|
2195
|
+
readonly "onItem-action"?: ((action: {
|
|
2196
|
+
id: string;
|
|
2197
|
+
text: string;
|
|
2198
|
+
}, item: T) => any) | undefined;
|
|
2199
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onItem-click" | "onItem-title-change" | "onItem-action"> & HistoryProps<T> & Partial<{}>> & PublicProps;
|
|
2200
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
2201
|
+
attrs: any;
|
|
2202
|
+
slots: {};
|
|
2203
|
+
emit: ((evt: "item-click", item: T) => void) & ((evt: "item-title-change", newTitle: string, item: T) => void) & ((evt: "item-action", action: {
|
|
2204
|
+
id: string;
|
|
2205
|
+
text: string;
|
|
2206
|
+
}, item: T) => void);
|
|
2207
|
+
}>) => VNode & {
|
|
2208
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2209
|
+
};
|
|
2210
|
+
|
|
2211
|
+
declare const _default_27: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
2207
2212
|
size: string | number;
|
|
2208
2213
|
svgSize: string | number;
|
|
2209
2214
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2210
2215
|
|
|
2211
|
-
declare const
|
|
2216
|
+
declare const _default_28: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
|
|
2212
2217
|
size: "small" | "medium" | "large";
|
|
2213
2218
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2214
2219
|
|
|
2215
|
-
declare const
|
|
2216
|
-
|
|
2217
|
-
declare const _default_29: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2220
|
+
declare const _default_29: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2218
2221
|
|
|
2219
2222
|
declare const _default_3: typeof _default_21 & {
|
|
2220
2223
|
install: typeof install_2;
|
|
@@ -2222,17 +2225,19 @@ declare const _default_3: typeof _default_21 & {
|
|
|
2222
2225
|
export { _default_3 as Container }
|
|
2223
2226
|
export { _default_3 as TrContainer }
|
|
2224
2227
|
|
|
2225
|
-
declare const _default_30:
|
|
2228
|
+
declare const _default_30: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2229
|
+
|
|
2230
|
+
declare const _default_31: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2226
2231
|
|
|
2227
|
-
declare const
|
|
2232
|
+
declare const _default_32: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2228
2233
|
|
|
2229
|
-
declare const
|
|
2234
|
+
declare const _default_33: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2230
2235
|
|
|
2231
|
-
declare const
|
|
2236
|
+
declare const _default_34: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2232
2237
|
|
|
2233
|
-
declare const
|
|
2238
|
+
declare const _default_35: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
2234
2239
|
|
|
2235
|
-
declare const
|
|
2240
|
+
declare const _default_36: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2236
2241
|
"update:visible": (value: boolean) => any;
|
|
2237
2242
|
} & {
|
|
2238
2243
|
refresh: (tab: "installed" | "market") => any;
|
|
@@ -2259,13 +2264,13 @@ onRefresh?: ((tab: "installed" | "market") => any) | undefined;
|
|
|
2259
2264
|
}>, {
|
|
2260
2265
|
title: string;
|
|
2261
2266
|
loading: boolean;
|
|
2262
|
-
searchPlaceholder: string;
|
|
2263
2267
|
installedPlugins: PluginInfo[];
|
|
2264
2268
|
marketPlugins: PluginInfo[];
|
|
2269
|
+
searchPlaceholder: string;
|
|
2265
2270
|
enableSearch: boolean;
|
|
2266
2271
|
installedSearchFn: (query: string, item: PluginInfo) => boolean;
|
|
2267
2272
|
marketSearchFn: (query: string, item: PluginInfo) => boolean;
|
|
2268
|
-
marketCategoryOptions:
|
|
2273
|
+
marketCategoryOptions: MarketCategoryOption[];
|
|
2269
2274
|
marketCategoryPlaceholder: string;
|
|
2270
2275
|
enableMarketCategoryFilter: boolean;
|
|
2271
2276
|
defaultActiveTab: "installed" | "market";
|
|
@@ -2283,7 +2288,7 @@ allowPluginAdd: boolean;
|
|
|
2283
2288
|
marketLoading: boolean;
|
|
2284
2289
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2285
2290
|
|
|
2286
|
-
declare const
|
|
2291
|
+
declare const _default_37: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2287
2292
|
cancel: () => any;
|
|
2288
2293
|
confirm: (type: AddType, data: string | McpAddFormData) => any;
|
|
2289
2294
|
"update:addType": (value: AddType) => any;
|
|
@@ -2319,15 +2324,14 @@ declare const _default_7: typeof _default_25 & {
|
|
|
2319
2324
|
export { _default_7 as Feedback }
|
|
2320
2325
|
export { _default_7 as TrFeedback }
|
|
2321
2326
|
|
|
2322
|
-
declare const _default_8: {
|
|
2323
|
-
install:
|
|
2324
|
-
name: string;
|
|
2327
|
+
declare const _default_8: typeof _default_26 & {
|
|
2328
|
+
install: typeof install_7;
|
|
2325
2329
|
};
|
|
2326
2330
|
export { _default_8 as History }
|
|
2327
2331
|
export { _default_8 as TrHistory }
|
|
2328
2332
|
|
|
2329
|
-
declare const _default_9: typeof
|
|
2330
|
-
install: typeof
|
|
2333
|
+
declare const _default_9: typeof _default_27 & {
|
|
2334
|
+
install: typeof install_8;
|
|
2331
2335
|
};
|
|
2332
2336
|
export { _default_9 as IconButton }
|
|
2333
2337
|
export { _default_9 as TrIconButton }
|
|
@@ -2569,34 +2573,25 @@ export declare interface Handlers {
|
|
|
2569
2573
|
|
|
2570
2574
|
declare type HighlightFunction = (suggestionText: string, inputText: string) => SuggestionTextPart[];
|
|
2571
2575
|
|
|
2572
|
-
export declare type HistoryData =
|
|
2576
|
+
export declare type HistoryData<T extends HistoryItem> = T[] | HistoryGroup<T>[];
|
|
2573
2577
|
|
|
2574
|
-
export declare interface
|
|
2575
|
-
(e: 'close'): void;
|
|
2576
|
-
(e: 'item-click', item: HistoryItem): void;
|
|
2577
|
-
(e: 'item-title-change', newTitle: string, rawData: HistoryItem): void;
|
|
2578
|
-
(e: 'item-delete', item: HistoryItem): void;
|
|
2579
|
-
}
|
|
2580
|
-
|
|
2581
|
-
export declare interface HistoryGroup<T = Record<string, unknown>> {
|
|
2578
|
+
export declare interface HistoryGroup<T extends HistoryItem> {
|
|
2582
2579
|
group: string | symbol;
|
|
2583
|
-
items:
|
|
2580
|
+
items: T[];
|
|
2584
2581
|
}
|
|
2585
2582
|
|
|
2586
|
-
export declare interface HistoryItem
|
|
2587
|
-
id
|
|
2583
|
+
export declare interface HistoryItem {
|
|
2584
|
+
id?: string;
|
|
2588
2585
|
title: string;
|
|
2589
|
-
|
|
2590
|
-
data?: T;
|
|
2591
|
-
}
|
|
2592
|
-
|
|
2593
|
-
export declare interface HistoryItemTagProps {
|
|
2594
|
-
text: string;
|
|
2595
|
-
type?: 'success' | 'warning' | 'error' | 'info' | 'default';
|
|
2596
|
-
style?: CSSProperties;
|
|
2586
|
+
[x: string]: unknown;
|
|
2597
2587
|
}
|
|
2598
2588
|
|
|
2599
|
-
export declare type HistoryProps =
|
|
2589
|
+
export declare type HistoryProps<T extends HistoryItem = HistoryItem> = {
|
|
2590
|
+
data: HistoryData<T>;
|
|
2591
|
+
selected?: string;
|
|
2592
|
+
showRenameControls?: boolean;
|
|
2593
|
+
renameControlOnClickOutside?: 'confirm' | 'cancel' | 'none';
|
|
2594
|
+
};
|
|
2600
2595
|
|
|
2601
2596
|
export declare interface IconButtonProps {
|
|
2602
2597
|
icon: VNode | Component;
|
|
@@ -2625,6 +2620,8 @@ declare const install_13: <T>(app: App<T>) => void;
|
|
|
2625
2620
|
|
|
2626
2621
|
declare const install_14: <T>(app: App<T>) => void;
|
|
2627
2622
|
|
|
2623
|
+
declare const install_15: <T>(app: App<T>) => void;
|
|
2624
|
+
|
|
2628
2625
|
declare const install_2: <T>(app: App<T>) => void;
|
|
2629
2626
|
|
|
2630
2627
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -2725,14 +2722,6 @@ export declare interface McpServerPickerProps {
|
|
|
2725
2722
|
marketLoading?: boolean;
|
|
2726
2723
|
}
|
|
2727
2724
|
|
|
2728
|
-
export declare type MultiTabHistoryProps = {
|
|
2729
|
-
tabs: {
|
|
2730
|
-
title: string;
|
|
2731
|
-
id: string;
|
|
2732
|
-
}[];
|
|
2733
|
-
data: Record<string, HistoryData>;
|
|
2734
|
-
} & BaseHistoryProps;
|
|
2735
|
-
|
|
2736
2725
|
export declare type PluginAddState = 'idle' | 'loading' | 'added';
|
|
2737
2726
|
|
|
2738
2727
|
export declare interface PluginCardEmits {
|
|
@@ -2798,7 +2787,7 @@ export declare interface PopupConfig {
|
|
|
2798
2787
|
};
|
|
2799
2788
|
}
|
|
2800
2789
|
|
|
2801
|
-
declare const Prompt: typeof
|
|
2790
|
+
declare const Prompt: typeof _default_28 & {
|
|
2802
2791
|
install: typeof installPrompt;
|
|
2803
2792
|
};
|
|
2804
2793
|
export { Prompt }
|
|
@@ -2835,7 +2824,7 @@ export declare interface PromptProps {
|
|
|
2835
2824
|
size?: 'small' | 'medium' | 'large';
|
|
2836
2825
|
}
|
|
2837
2826
|
|
|
2838
|
-
declare const Prompts: typeof
|
|
2827
|
+
declare const Prompts: typeof _default_29 & {
|
|
2839
2828
|
install: typeof installPrompts;
|
|
2840
2829
|
};
|
|
2841
2830
|
export { Prompts }
|
|
@@ -2929,11 +2918,6 @@ export declare interface SenderProps {
|
|
|
2929
2918
|
stopText?: string;
|
|
2930
2919
|
}
|
|
2931
2920
|
|
|
2932
|
-
export declare type SingleTabHistoryProps = {
|
|
2933
|
-
tabTitle: string;
|
|
2934
|
-
data: HistoryData;
|
|
2935
|
-
} & BaseHistoryProps;
|
|
2936
|
-
|
|
2937
2921
|
export declare interface SpeechConfig {
|
|
2938
2922
|
lang?: string;
|
|
2939
2923
|
continuous?: boolean;
|
|
@@ -2979,7 +2963,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
|
|
|
2979
2963
|
|
|
2980
2964
|
export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
|
|
2981
2965
|
|
|
2982
|
-
declare const SuggestionPillButton: typeof
|
|
2966
|
+
declare const SuggestionPillButton: typeof _default_31 & {
|
|
2983
2967
|
install: typeof installPillButton;
|
|
2984
2968
|
};
|
|
2985
2969
|
export { SuggestionPillButton }
|
|
@@ -3146,6 +3130,16 @@ export declare type ThemeStorage = Pick<Storage, 'getItem' | 'setItem'>;
|
|
|
3146
3130
|
*/
|
|
3147
3131
|
export declare type ThemeType = 'light' | 'dark';
|
|
3148
3132
|
|
|
3133
|
+
declare interface TooltipContentProps {
|
|
3134
|
+
show?: boolean;
|
|
3135
|
+
content: string;
|
|
3136
|
+
trigger?: HTMLElement | null;
|
|
3137
|
+
disabled?: boolean;
|
|
3138
|
+
placement?: 'top' | 'bottom';
|
|
3139
|
+
delayOpen?: number;
|
|
3140
|
+
delayClose?: number;
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3149
3143
|
export declare type TooltipRender = () => VNode | string;
|
|
3150
3144
|
|
|
3151
3145
|
export declare interface UrlAttachment extends BaseAttachment {
|
package/dist/index2.js
CHANGED
package/dist/index3.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onMounted as U, nextTick as B, h as C, defineComponent as g, render as R, onBeforeUnmount as D, Teleport as W, computed as h, ref as E, createBlock as F, openBlock as _, Transition as j, normalizeProps as q, guardReactiveProps as L, withCtx as Z, createElementBlock as G, createCommentVNode as J, renderSlot as K, useSlots as Q, watch as X, useAttrs as Y, resolveDynamicComponent as ee, unref as S, mergeProps as k, createVNode as te } from "vue";
|
|
2
|
-
import { b as oe, a as re,
|
|
2
|
+
import { b as oe, a as re, d as ne } from "./index2.js";
|
|
3
3
|
import { t as u } from "./utils.js";
|
|
4
4
|
import { _ as N } from "./_plugin-vue_export-helper.js";
|
|
5
5
|
import { u as se } from "./useSlotRefs.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, ref as b, useModel as k, watch as O, onUnmounted as R, createElementBlock as _, openBlock as v, createElementVNode as t, withDirectives as c, vModelText as f, createVNode as y, unref as D, createCommentVNode as $ } from "vue";
|
|
2
2
|
import { TinyRadioGroup as E } from "@opentiny/vue";
|
|
3
|
-
import {
|
|
3
|
+
import { e as L } from "../index2.js";
|
|
4
4
|
import { _ as T } from "../_plugin-vue_export-helper.js";
|
|
5
5
|
const M = { class: "form-editor__container" }, S = { class: "form-editor__item" }, F = { class: "form-editor__item" }, I = { class: "form-editor__item" }, N = { class: "form-editor__item" }, H = { class: "form-editor__item" }, w = { class: "form-editor__item" }, A = ["src"], C = "https://res.hc-cdn.com/tinyui-design/1.1.0.20250526191525/home/images/tiny-ng.svg", P = /* @__PURE__ */ g({
|
|
6
6
|
__name: "FormEditor",
|
package/dist/sender/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as F, watch as ne, reactive as ot, computed as L, defineComponent as Se, createElementBlock as I, openBlock as b, createCommentVNode as N, normalizeStyle as Je, createBlock as Y, unref as C, withCtx as he, createElementVNode as U, createVNode as Z, normalizeClass as oe, toDisplayString as ue, useAttrs as st, resolveComponent as at, mergeProps as we, Fragment as ve, renderList as _e, mergeModels as lt, useModel as rt, onMounted as it, onUnmounted as ut, nextTick as te, Transition as Ve, withModifiers as ct, useSlots as dt, renderSlot as ie, isRef as ft, createTextVNode as Ge } from "vue";
|
|
2
2
|
import { TinyTooltip as Me, TinyInput as pt } from "@opentiny/vue";
|
|
3
|
-
import {
|
|
3
|
+
import { e as ht } from "../index2.js";
|
|
4
4
|
import { IconUpload as vt, IconVoice as yt, IconLoadingSpeech as gt, IconClear as mt, IconSend as bt, IconStop as wt, IconAssociate as _t } from "@opentiny/tiny-robot-svgs";
|
|
5
5
|
import { _ as Ce } from "../_plugin-vue_export-helper.js";
|
|
6
6
|
import { t as St } from "../utils.js";
|