@opentiny/tiny-robot 0.3.0-alpha.35 → 0.3.0-alpha.36

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/index.d.ts CHANGED
@@ -1221,7 +1221,6 @@ declare function __VLS_template_7(): {
1221
1221
  slots: {
1222
1222
  header?(_: {}): any;
1223
1223
  prefix?(_: {}): any;
1224
- content?(_: {}): any;
1225
1224
  decorativeContent?(_: {}): any;
1226
1225
  actions?(_: {}): any;
1227
1226
  'footer-left'?(_: {}): any;
@@ -1958,7 +1957,10 @@ export declare interface BubbleContentItem {
1958
1957
  [key: string]: any;
1959
1958
  }
1960
1959
 
1961
- export declare type BubbleContentRenderer = BubbleContentFunctionRenderer | BubbleContentClassRenderer | Component;
1960
+ export declare type BubbleContentRenderer = BubbleContentFunctionRenderer | BubbleContentClassRenderer | Component | {
1961
+ component: Component;
1962
+ defaultProps: Record<string, unknown>;
1963
+ };
1962
1964
 
1963
1965
  declare const bubbleInstall: (app: App) => void;
1964
1966
 
@@ -2057,7 +2059,6 @@ export declare interface BubbleSlots {
2057
2059
  export declare interface ButtonGroupConfig {
2058
2060
  file?: ControlState & fileUploadConfig;
2059
2061
  submit?: ControlState;
2060
- voice?: VoiceButtonConfig;
2061
2062
  }
2062
2063
 
2063
2064
  export declare type ColorMode = 'light' | 'dark' | 'auto';
@@ -2930,30 +2931,14 @@ export declare interface SenderProps {
2930
2931
  stopText?: string;
2931
2932
  }
2932
2933
 
2933
- export declare interface SpeechCallbacks {
2934
- onStart: () => void;
2935
- onInterim: (transcript: string) => void;
2936
- onFinal: (transcript: string) => void;
2937
- onEnd: (transcript?: string) => void;
2938
- onError: (error: Error) => void;
2939
- }
2940
-
2941
2934
  export declare interface SpeechConfig {
2942
- customHandler?: SpeechHandler;
2943
2935
  lang?: string;
2944
2936
  continuous?: boolean;
2945
2937
  interimResults?: boolean;
2946
2938
  autoReplace?: boolean;
2947
- onVoiceButtonClick?: (isRecording: boolean, preventDefault: () => void) => void | Promise<void>;
2948
2939
  }
2949
2940
 
2950
2941
  export declare interface SpeechHandler {
2951
- start: (callbacks: SpeechCallbacks) => Promise<void> | void;
2952
- stop: () => Promise<void> | void;
2953
- isSupported: () => boolean;
2954
- }
2955
-
2956
- export declare interface SpeechHandlerResult {
2957
2942
  speechState: SpeechState;
2958
2943
  start: () => void;
2959
2944
  stop: () => void;
@@ -3207,10 +3192,6 @@ export declare function useTouchDevice(): {
3207
3192
  */
3208
3193
  export declare const vDropzone: Directive<DragAwareElement, DropzoneBinding>;
3209
3194
 
3210
- declare interface VoiceButtonConfig {
3211
- icon?: VNode | Component;
3212
- }
3213
-
3214
3195
  export declare interface WelcomeProps {
3215
3196
  title: string;
3216
3197
  description: string;