@blueking/ai-blueking 0.4.0 → 0.4.1
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/README.md +1 -1
- package/dist/components/render-popup.vue.d.ts +15 -2
- package/dist/lang/index.d.ts +1 -1
- package/dist/vue2/index.es.min.js +1051 -1043
- package/dist/vue2/index.iife.min.js +32 -32
- package/dist/vue2/index.umd.min.js +25 -25
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/index.es.min.js +398 -390
- package/dist/vue3/index.iife.min.js +44 -44
- package/dist/vue3/index.umd.min.js +14 -14
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { IShortCut } from '../types';
|
|
2
|
+
interface IProps {
|
|
3
|
+
shortcuts: IShortCut[];
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
6
|
click: (...args: any[]) => void;
|
|
3
7
|
shortcutClick: (...args: any[]) => void;
|
|
4
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IProps>>> & {
|
|
5
9
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
6
10
|
onShortcutClick?: ((...args: any[]) => any) | undefined;
|
|
7
11
|
}, {}, {}>;
|
|
8
12
|
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
package/dist/lang/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const langData: {
|
|
|
29
29
|
readonly translateShortcut: "You are a highly skilled AI trained in language translation. I would like you to translate the text delimited by triple quotes (Translation of Chinese into English and other languages into Chinese), ensuring that the translation is colloquial and authentic.\n Only give me the output and nothing else. Do not wrap responses in quotes\n '''\n {{ SELECTED_TEXT }}\n '''\n ";
|
|
30
30
|
readonly explanationShortcut: "You are a professional explainer. Please provide a detailed explanation of \"{{ SELECTED_TEXT }}\". Your explanation should include: 1) basic meaning and conceptual explanation; 2) practical applications or use cases; 3) if it's a technical term, please provide relevant technical background; 4) where appropriate, provide specific examples to aid understanding. Use clear and accessible language to ensure non-experts can understand. If the word/phrase has multiple meanings, please list the main definitions. Keep your response concise and clear while ensuring completeness and accuracy of information.";
|
|
31
31
|
readonly 翻译: "translate";
|
|
32
|
-
readonly 解释: "
|
|
32
|
+
readonly 解释: "explanation";
|
|
33
33
|
readonly 'AI\u5C0F\u9CB8\u6B63\u5728\u56DE\u590D\uFF0C\u8BF7\u7ED3\u675F\u540E\u518D\u6E05\u7A7A': "AI BK GPT is executing, please clear after completion";
|
|
34
34
|
};
|
|
35
35
|
export declare const zhLangData: {
|