@opentiny/tiny-robot 0.3.2 → 0.3.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/dist/index.d.ts +3 -3
- package/dist/sender/index.js +376 -370
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -391,7 +391,7 @@ clear: () => any;
|
|
|
391
391
|
blur: (event: FocusEvent) => any;
|
|
392
392
|
cancel: () => any;
|
|
393
393
|
focus: (event: FocusEvent) => any;
|
|
394
|
-
submit: (value: string) => any;
|
|
394
|
+
submit: (value: string, templateData?: UserItem[] | undefined) => any;
|
|
395
395
|
"update:modelValue": (value: string) => any;
|
|
396
396
|
"update:templateData": (value: UserItem[]) => any;
|
|
397
397
|
"speech-start": () => any;
|
|
@@ -407,7 +407,7 @@ onClear?: (() => any) | undefined;
|
|
|
407
407
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
408
408
|
onCancel?: (() => any) | undefined;
|
|
409
409
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
410
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
410
|
+
onSubmit?: ((value: string, templateData?: UserItem[] | undefined) => any) | undefined;
|
|
411
411
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
412
412
|
"onUpdate:templateData"?: ((value: UserItem[]) => any) | undefined;
|
|
413
413
|
"onSpeech-start"?: (() => any) | undefined;
|
|
@@ -2946,7 +2946,7 @@ export declare interface RejectionReason {
|
|
|
2946
2946
|
export declare type SenderEmits = {
|
|
2947
2947
|
(e: 'update:modelValue', value: string): void;
|
|
2948
2948
|
(e: 'update:templateData', value: UserItem[]): void;
|
|
2949
|
-
(e: 'submit', value: string): void;
|
|
2949
|
+
(e: 'submit', value: string, templateData?: UserItem[]): void;
|
|
2950
2950
|
(e: 'clear'): void;
|
|
2951
2951
|
(e: 'speech-start'): void;
|
|
2952
2952
|
(e: 'speech-end', transcript?: string): void;
|