@blueking/ai-blueking 0.5.0-beta.4 → 0.5.0-beta.5

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.
@@ -4,11 +4,13 @@ interface Props {
4
4
  enablePopup?: boolean;
5
5
  shortcuts?: ShortCut[];
6
6
  url?: string;
7
+ prompts?: string[];
7
8
  }
8
9
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
10
  enablePopup: boolean;
10
11
  shortcuts: () => ShortCut[];
11
12
  url: string;
13
+ prompts: () => never[];
12
14
  }>, {
13
15
  handleShow: () => void;
14
16
  handleStop: () => void;
@@ -30,6 +32,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
30
32
  enablePopup: boolean;
31
33
  shortcuts: () => ShortCut[];
32
34
  url: string;
35
+ prompts: () => never[];
33
36
  }>>> & {
34
37
  onShow?: (() => any) | undefined;
35
38
  onClose?: (() => any) | undefined;
@@ -37,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
40
  "onShortcut-click"?: ((shortcut: ShortCut) => any) | undefined;
38
41
  }, {
39
42
  enablePopup: boolean;
43
+ prompts: string[];
40
44
  shortcuts: ShortCut[];
41
45
  url: string;
42
46
  }, {}>;
@@ -2,10 +2,8 @@ import { type ShortCut } from '@blueking/ai-ui-sdk';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  shortcuts: ShortCut[];
4
4
  loading: boolean;
5
- }>, {
6
- focus: () => void | undefined;
7
- clear: () => void;
8
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ prompts: string[];
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
7
  send: (value: string) => void;
10
8
  "update:modelValue": (value: string) => void;
11
9
  stop: () => void;
@@ -14,12 +12,13 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
14
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
15
13
  shortcuts: ShortCut[];
16
14
  loading: boolean;
15
+ prompts: string[];
17
16
  }>>> & {
18
17
  onSend?: ((value: string) => any) | undefined;
19
18
  onStop?: (() => any) | undefined;
20
19
  "onShortcut-click"?: ((shortcut: ShortCut) => any) | undefined;
21
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
20
  "onHeight-change"?: ((height: number) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
23
22
  }, {}, {}>;
24
23
  export default _default;
25
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,29 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ prompts: string[];
3
+ show: boolean;
4
+ }>, {
5
+ handleArrowDown: () => void;
6
+ handleArrowUp: () => void;
7
+ handleEnter: () => boolean;
8
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ select: (prompt: string) => void;
10
+ "height-change": (height: number) => void;
11
+ "update:show": (value: boolean) => void;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
+ prompts: string[];
14
+ show: boolean;
15
+ }>>> & {
16
+ onSelect?: ((prompt: string) => any) | undefined;
17
+ "onHeight-change"?: ((height: number) => any) | undefined;
18
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
19
+ }, {}, {}>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToOption<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
@@ -32,9 +32,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
32
32
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
33
33
  onCancel?: (() => any) | undefined;
34
34
  }, {
35
- loading: boolean;
36
35
  placeholder: string;
37
36
  modelValue: string;
37
+ loading: boolean;
38
38
  autoFocus: boolean;
39
39
  }, {}>;
40
40
  export default _default;
@@ -43,6 +43,7 @@ export declare const langData: {
43
43
  readonly 扩展高度: "Expand height";
44
44
  readonly 缩小高度: "Shrink height";
45
45
  readonly 恢复默认大小: "Restore default size";
46
+ readonly 无匹配结果: "No matching results";
46
47
  };
47
48
  export declare const zhLangData: {
48
49
  translateShortcut: string;