@linker-design-plus/tiny-peony 1.2.40 → 1.3.0
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 +24 -0
- package/dist/index.js +35 -34
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3455 -2552
- package/dist/index.mjs.map +1 -0
- package/dist/intersection/components/editor/context.d.ts +123 -0
- package/dist/intersection/components/editor/editor.d.ts +28 -1
- package/dist/intersection/components/editor/index.d.ts +24 -0
- package/dist/intersection/components/modals/Refine/RefineContent.d.ts +20 -0
- package/dist/intersection/components/modals/Refine/RefineGenerator.d.ts +19 -0
- package/dist/intersection/components/modals/Refine/RefineInput.d.ts +18 -0
- package/dist/intersection/components/modals/Refine/RefineShortcut.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/RefineToolbar.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/context.d.ts +100 -0
- package/dist/intersection/components/modals/Refine/icons/abort.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/copy.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/delete.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/expand.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/inexpand.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/insert.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/moreShortcut.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/optimism.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/prefix.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/refresh.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/replace.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/icons/send.vue.d.ts +2 -0
- package/dist/intersection/components/modals/Refine/index.d.ts +3 -0
- package/dist/intersection/hooks/use-state.d.ts +4 -0
- package/dist/tiny-peony.css +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { InjectionKey, Ref } from 'vue';
|
|
|
2
2
|
import { EditorCore } from '../../../foundation/editorManager/editor';
|
|
3
3
|
import { EditorAction } from '../../hooks/use-editor';
|
|
4
4
|
import { IAnchor, PluginFlag } from '../../../typings';
|
|
5
|
+
import { FetchEventSourceInit } from '@microsoft/fetch-event-source';
|
|
5
6
|
/**
|
|
6
7
|
* * 获取编辑器内容时,是否对内容进行指定格式化
|
|
7
8
|
*/
|
|
@@ -37,9 +38,131 @@ export interface EditorContext {
|
|
|
37
38
|
clearContent: () => void;
|
|
38
39
|
renderHighlight: (matchingContent: string) => void;
|
|
39
40
|
unrenderHighlight: () => void;
|
|
41
|
+
refineContext?: RefineContext;
|
|
40
42
|
}
|
|
41
43
|
export declare const EditorInjectionKey: InjectionKey<EditorContext>;
|
|
42
44
|
declare const HIGHLIGHT_CLS = "highlight";
|
|
43
45
|
declare const auditHighlightBem: import("@linker-design/utils").Bem;
|
|
44
46
|
declare const AUDIT_HIGHLIGHT_CLS: string;
|
|
45
47
|
export { HIGHLIGHT_CLS, auditHighlightBem, AUDIT_HIGHLIGHT_CLS };
|
|
48
|
+
export interface RefineContext {
|
|
49
|
+
agentId: string;
|
|
50
|
+
createSession: (data: {
|
|
51
|
+
agentId: string;
|
|
52
|
+
sessionId: string;
|
|
53
|
+
}) => Promise<{
|
|
54
|
+
data: ChatInfoResp;
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>;
|
|
57
|
+
sendSessionMessage: {
|
|
58
|
+
(data: ChatMessageReq, options: FetchEventSourceInit): Promise<void>;
|
|
59
|
+
abort: () => void | undefined;
|
|
60
|
+
};
|
|
61
|
+
abortSession: (data: {
|
|
62
|
+
conversationId?: string;
|
|
63
|
+
sessionId?: string;
|
|
64
|
+
}) => Promise<any>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* ChatMessageReq
|
|
68
|
+
*/
|
|
69
|
+
export interface ChatMessageReq {
|
|
70
|
+
/**
|
|
71
|
+
* 是否深度思考,0否 1是
|
|
72
|
+
*/
|
|
73
|
+
deepseek?: number;
|
|
74
|
+
/**
|
|
75
|
+
* 引用的网页,多个以逗号分隔
|
|
76
|
+
*/
|
|
77
|
+
htmlUrls?: string;
|
|
78
|
+
messageRequest?: MessageRequest;
|
|
79
|
+
/**
|
|
80
|
+
* 模型名称,Deepseek-R1、Gemini-2.5-flash、Claude-opus-4.1
|
|
81
|
+
*/
|
|
82
|
+
modelName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* 参考文件信息json,前端展示回显用
|
|
85
|
+
*/
|
|
86
|
+
refFiles?: string;
|
|
87
|
+
/**
|
|
88
|
+
* 引用文档,多个以逗号分隔
|
|
89
|
+
*/
|
|
90
|
+
refUrls?: string;
|
|
91
|
+
/**
|
|
92
|
+
* 是否搜索,0否 1是
|
|
93
|
+
*/
|
|
94
|
+
search?: number;
|
|
95
|
+
/**
|
|
96
|
+
* 待优化的源内容
|
|
97
|
+
*/
|
|
98
|
+
sourceContent?: string;
|
|
99
|
+
/**
|
|
100
|
+
* 待优化的内容源链接地址
|
|
101
|
+
*/
|
|
102
|
+
sourceUrls?: string[];
|
|
103
|
+
/**
|
|
104
|
+
* 模板id
|
|
105
|
+
*/
|
|
106
|
+
templateId?: number;
|
|
107
|
+
tenantId?: string;
|
|
108
|
+
/**
|
|
109
|
+
* 会话类型,0写稿 1每日要闻
|
|
110
|
+
*/
|
|
111
|
+
type?: number;
|
|
112
|
+
userCode?: string;
|
|
113
|
+
[property: string]: any;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* MessageRequest
|
|
117
|
+
*/
|
|
118
|
+
export interface MessageRequest {
|
|
119
|
+
agent_id?: string;
|
|
120
|
+
extra_params?: {
|
|
121
|
+
[key: string]: {
|
|
122
|
+
[key: string]: any;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
message?: Message;
|
|
126
|
+
meta_data?: MetaData;
|
|
127
|
+
[property: string]: any;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Message
|
|
131
|
+
*/
|
|
132
|
+
export interface Message {
|
|
133
|
+
content?: string;
|
|
134
|
+
conversation_id?: string;
|
|
135
|
+
data?: {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
}[];
|
|
138
|
+
history?: {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
}[];
|
|
141
|
+
[property: string]: any;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* MetaData
|
|
145
|
+
*/
|
|
146
|
+
export interface MetaData {
|
|
147
|
+
ai_rewrite?: string;
|
|
148
|
+
data?: {
|
|
149
|
+
[key: string]: any;
|
|
150
|
+
}[];
|
|
151
|
+
is_search?: string;
|
|
152
|
+
model_name?: string;
|
|
153
|
+
rewrite_content?: string;
|
|
154
|
+
sessionId?: string;
|
|
155
|
+
url?: string[];
|
|
156
|
+
word_number?: string;
|
|
157
|
+
[property: string]: any;
|
|
158
|
+
}
|
|
159
|
+
export interface ChatInfoResp {
|
|
160
|
+
agentId?: string;
|
|
161
|
+
chatContext?: string;
|
|
162
|
+
content?: string;
|
|
163
|
+
conversionId?: string;
|
|
164
|
+
id?: number;
|
|
165
|
+
sessionId?: string;
|
|
166
|
+
welcome?: string;
|
|
167
|
+
[property: string]: any;
|
|
168
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, PropType } from 'vue';
|
|
2
2
|
import { JSX } from 'vue/jsx-runtime';
|
|
3
|
-
import { ContentOptions } from './context';
|
|
3
|
+
import { ContentOptions, RefineContext } from './context';
|
|
4
4
|
import { IAnchor, ListenModeEnum, PluginFlag } from '../../../typings';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
preTime: {
|
|
@@ -55,6 +55,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
55
|
type: PropType<CSSProperties>;
|
|
56
56
|
default: () => {};
|
|
57
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* 是否开启文本调优
|
|
60
|
+
*/
|
|
61
|
+
refinable: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* 文本调优上下文
|
|
67
|
+
*/
|
|
68
|
+
refineContext: {
|
|
69
|
+
type: PropType<RefineContext>;
|
|
70
|
+
};
|
|
58
71
|
}>, {
|
|
59
72
|
action: import("vue").Ref<import("../../hooks/use-editor").EditorAction | undefined, import("../../hooks/use-editor").EditorAction | undefined>;
|
|
60
73
|
innerRender: () => JSX.Element;
|
|
@@ -157,6 +170,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
170
|
type: PropType<CSSProperties>;
|
|
158
171
|
default: () => {};
|
|
159
172
|
};
|
|
173
|
+
/**
|
|
174
|
+
* 是否开启文本调优
|
|
175
|
+
*/
|
|
176
|
+
refinable: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* 文本调优上下文
|
|
182
|
+
*/
|
|
183
|
+
refineContext: {
|
|
184
|
+
type: PropType<RefineContext>;
|
|
185
|
+
};
|
|
160
186
|
}>> & Readonly<{
|
|
161
187
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
162
188
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -177,5 +203,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
177
203
|
listenAnchorId: number;
|
|
178
204
|
listenMode: ListenModeEnum;
|
|
179
205
|
contentStyle: CSSProperties;
|
|
206
|
+
refinable: boolean;
|
|
180
207
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
181
208
|
export default _default;
|
|
@@ -55,6 +55,13 @@ declare const EditorContainer: {
|
|
|
55
55
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
56
56
|
default: () => {};
|
|
57
57
|
};
|
|
58
|
+
refinable: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
refineContext: {
|
|
63
|
+
type: import("vue").PropType<import("./context").RefineContext>;
|
|
64
|
+
};
|
|
58
65
|
}>> & Readonly<{
|
|
59
66
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
60
67
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -124,6 +131,7 @@ declare const EditorContainer: {
|
|
|
124
131
|
listenAnchorId: number;
|
|
125
132
|
listenMode: import("../../..").ListenModeEnum;
|
|
126
133
|
contentStyle: import("vue").CSSProperties;
|
|
134
|
+
refinable: boolean;
|
|
127
135
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
128
136
|
P: {};
|
|
129
137
|
B: {};
|
|
@@ -184,6 +192,13 @@ declare const EditorContainer: {
|
|
|
184
192
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
185
193
|
default: () => {};
|
|
186
194
|
};
|
|
195
|
+
refinable: {
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
refineContext: {
|
|
200
|
+
type: import("vue").PropType<import("./context").RefineContext>;
|
|
201
|
+
};
|
|
187
202
|
}>> & Readonly<{
|
|
188
203
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
189
204
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -247,6 +262,7 @@ declare const EditorContainer: {
|
|
|
247
262
|
listenAnchorId: number;
|
|
248
263
|
listenMode: import("../../..").ListenModeEnum;
|
|
249
264
|
contentStyle: import("vue").CSSProperties;
|
|
265
|
+
refinable: boolean;
|
|
250
266
|
}>;
|
|
251
267
|
__isFragment?: never;
|
|
252
268
|
__isTeleport?: never;
|
|
@@ -304,6 +320,13 @@ declare const EditorContainer: {
|
|
|
304
320
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
305
321
|
default: () => {};
|
|
306
322
|
};
|
|
323
|
+
refinable: {
|
|
324
|
+
type: BooleanConstructor;
|
|
325
|
+
default: boolean;
|
|
326
|
+
};
|
|
327
|
+
refineContext: {
|
|
328
|
+
type: import("vue").PropType<import("./context").RefineContext>;
|
|
329
|
+
};
|
|
307
330
|
}>> & Readonly<{
|
|
308
331
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
309
332
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -373,6 +396,7 @@ declare const EditorContainer: {
|
|
|
373
396
|
listenAnchorId: number;
|
|
374
397
|
listenMode: import("../../..").ListenModeEnum;
|
|
375
398
|
contentStyle: import("vue").CSSProperties;
|
|
399
|
+
refinable: boolean;
|
|
376
400
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
377
401
|
install: (app: App, options?: Record<string, any>) => void;
|
|
378
402
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { type RefineSingleContentContext } from './context';
|
|
3
|
+
declare const RefineContent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<RefineSingleContentContext[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
'update:modelValue': (val: string) => true;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: PropType<RefineSingleContentContext[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
modelValue: RefineSingleContentContext[];
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default RefineContent;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const RefineGenerator: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
width: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {
|
|
7
|
+
innerRender: () => import("vue/jsx-runtime").JSX.Element;
|
|
8
|
+
innerSetVisible: import("../../../hooks/use-state").SetStateAction<boolean>;
|
|
9
|
+
}, {}, {}, {
|
|
10
|
+
setVisible(visible: boolean): void;
|
|
11
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
width: {
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
|
+
width: string | number;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default RefineGenerator;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const RefineInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
'update:modelValue': (val: string | undefined) => true;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((val: string | undefined) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
modelValue: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default RefineInput;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const RefineShortcut: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default RefineShortcut;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const RefineToolbar: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default RefineToolbar;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { Action, Func, Predicate } from '@om-design/util';
|
|
3
|
+
export interface RefineGeneratorContext {
|
|
4
|
+
name: 'RefineGenerator';
|
|
5
|
+
visible: Ref<boolean>;
|
|
6
|
+
width: string;
|
|
7
|
+
generating: Ref<boolean>;
|
|
8
|
+
prompt: Ref<string | undefined>;
|
|
9
|
+
shortcutVisible: Ref<boolean>;
|
|
10
|
+
content: Ref<RefineSingleContentContext[]>;
|
|
11
|
+
activedContent: Ref<RefineSingleContentContext | undefined>;
|
|
12
|
+
contentVisible: Ref<boolean>;
|
|
13
|
+
contentPage: Ref<number>;
|
|
14
|
+
contentState: Ref<RefineContentState>;
|
|
15
|
+
setVisible: Action<boolean>;
|
|
16
|
+
setRefineGenerating: Predicate<boolean | undefined>;
|
|
17
|
+
setRefinePrompt: Action<string | undefined>;
|
|
18
|
+
setShortVisible: Func<boolean | undefined, boolean>;
|
|
19
|
+
setRefineContent: Action<RefineSingleContentContext[]>;
|
|
20
|
+
setActivedRefineContent: Action<RefineSingleContentContext>;
|
|
21
|
+
genRefineContent: (data?: GenContentParams) => void;
|
|
22
|
+
setContentVisible: Func<boolean | undefined, boolean>;
|
|
23
|
+
setContentPage: Action<number>;
|
|
24
|
+
setContentState: Action<RefineContentState>;
|
|
25
|
+
onContentInsert: Action<RefineSingleContentContext>;
|
|
26
|
+
onContentReplace: Action<RefineSingleContentContext>;
|
|
27
|
+
showRefineGenerator: Action<void>;
|
|
28
|
+
abortSession: () => Promise<any>;
|
|
29
|
+
}
|
|
30
|
+
export declare const refineGeneratorKey: InjectionKey<RefineGeneratorContext>;
|
|
31
|
+
export declare enum RefineContentState {
|
|
32
|
+
未生成 = -1,
|
|
33
|
+
等待生成 = 0,
|
|
34
|
+
正在生成 = 1,
|
|
35
|
+
生成结束 = 2
|
|
36
|
+
}
|
|
37
|
+
export declare enum RefineGenerateType {
|
|
38
|
+
重置 = 0,
|
|
39
|
+
刷新 = 1
|
|
40
|
+
}
|
|
41
|
+
export declare enum RefineShortcutEunm {
|
|
42
|
+
润色 = "\u6DA6\u8272",
|
|
43
|
+
扩写 = "\u6269\u5199",
|
|
44
|
+
缩写 = "\u7F29\u5199",
|
|
45
|
+
更改语气 = "\u66F4\u6539\u8BED\u6C14",
|
|
46
|
+
更专业 = "\u66F4\u4E13\u4E1A",
|
|
47
|
+
更口语化 = "\u66F4\u53E3\u8BED\u5316",
|
|
48
|
+
更易读 = "\u66F4\u6613\u8BFB",
|
|
49
|
+
更含蓄 = "\u66F4\u542B\u84C4",
|
|
50
|
+
更学术 = "\u66F4\u5B66\u672F",
|
|
51
|
+
更有文采 = "\u66F4\u6709\u6587\u91C7",
|
|
52
|
+
更有网感 = "\u66F4\u6709\u7F51\u611F"
|
|
53
|
+
}
|
|
54
|
+
export declare const refineShortcutOptions: ({
|
|
55
|
+
label: string;
|
|
56
|
+
value: RefineShortcutEunm;
|
|
57
|
+
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
58
|
+
children?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
label: string;
|
|
61
|
+
value: RefineShortcutEunm;
|
|
62
|
+
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
63
|
+
children: {
|
|
64
|
+
label: string;
|
|
65
|
+
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
66
|
+
value: RefineShortcutEunm;
|
|
67
|
+
}[];
|
|
68
|
+
})[];
|
|
69
|
+
export interface GenContentParams {
|
|
70
|
+
/**
|
|
71
|
+
* 调优提示词
|
|
72
|
+
*/
|
|
73
|
+
prompt?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 调优快捷指令
|
|
76
|
+
*/
|
|
77
|
+
shortcutType?: RefineShortcutEunm;
|
|
78
|
+
/**
|
|
79
|
+
* 调优类型
|
|
80
|
+
*/
|
|
81
|
+
generateType?: RefineGenerateType;
|
|
82
|
+
}
|
|
83
|
+
export interface RefineSingleContentContext {
|
|
84
|
+
/**
|
|
85
|
+
* 是否是手动调优
|
|
86
|
+
*/
|
|
87
|
+
isManualPrompt?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* 调优关键词
|
|
90
|
+
*/
|
|
91
|
+
prompt?: string;
|
|
92
|
+
/**
|
|
93
|
+
* 调优快捷指令
|
|
94
|
+
*/
|
|
95
|
+
shortcutType?: RefineShortcutEunm;
|
|
96
|
+
/**
|
|
97
|
+
* 调优生成内容
|
|
98
|
+
*/
|
|
99
|
+
content?: string;
|
|
100
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Ref, UnwrapRef } from 'vue';
|
|
2
|
+
export type SetStateAction<T> = (newValue: T) => void;
|
|
3
|
+
export type SetStateCallback<T, K = void> = (_newValue: T) => K;
|
|
4
|
+
export declare const useState: <T>(initialValue: T, callback?: SetStateCallback<T>, formatter?: SetStateCallback<T, T>) => [Ref<UnwrapRef<T>>, SetStateAction<T>];
|
package/dist/tiny-peony.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.editor-pausation-tag-modal{position:absolute;width:80px}.tag-pausation{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 2px 0 9px;border-radius:16px;color:#c3772b;background-color:#fceee0;font-size:14px;font-weight:500;-webkit-user-select:none;user-select:none;cursor:pointer}.tag-pausation__close{font-size:20px;color:#0003;cursor:pointer}.tag-pausation__close:hover{color:#0000004d}.c-pausation-tag-selector[data-v-a957cba2]{background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:8px;border:1px solid #f6f6f6;color:var(--color-text-2)}.c-pausation-tag-selector__item[data-v-a957cba2]{line-height:40px;text-indent:12px;font-size:14px;color:var(--color-text-2);cursor:pointer}.c-pausation-tag-selector__item[data-v-a957cba2]:hover{background-color:rgba(var(--primary-6),.1);color:rgba(var(--primary-6))}.editor-pronunciation-tag-modal{position:absolute;width:264px}.tag-pronunciation{display:inline-flex;align-items:center;gap:2px;margin:0 2px;-webkit-user-select:none;user-select:none;cursor:pointer}.tag-pronunciation__raw{color:rgba(var(--primary-6))}.tag-pronunciation__replace{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 2px 0 9px;background-color:rgba(var(--primary-6),.1);border-radius:16px;color:rgba(var(--primary-6))}.tag-pronunciation__replace-text{font-size:14px;font-weight:500}.tag-pronunciation__close{color:#0003}.tag-pronunciation__close:hover{color:#0000004d}.c-pronunciationor[data-v-e430f236]{padding:8px;background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:4px;border:1px solid #f6f6f6}.c-pronunciationor__title[data-v-e430f236]{margin-bottom:8px;line-height:20px;color:#000000d9}.c-pronunciationor__content[data-v-e430f236]{margin-bottom:4px}.c-pronunciationor__footer[data-v-e430f236]{margin-top:8px}.tag-anchor{padding:5.5px 0}.editor-homophones-tag-modal{position:absolute;width:88px}.tag-homophones{display:inline-flex;align-items:center;gap:4px;margin:0 2px;line-height:1;-webkit-user-select:none;user-select:none;cursor:pointer}.tag-homophones__raw{color:rgba(var(--primary-6))}.tag-homophones__close{color:#0003}.tag-homophones__close:hover{color:#0000004d}.c-homophones[data-v-8471a3e1]{padding:8px;background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:4px;border:1px solid #f6f6f6}.c-homophones__word[data-v-8471a3e1]{color:rgba(var(--primary-6));line-height:20px;text-align:center}.c-homophones__item[data-v-8471a3e1]{margin-top:8px;border-radius:4px;line-height:28px;border:1px solid rgba(0,0,0,.15);text-align:center;color:var(--color-text-2);transition:all .1s cubic-bezier(0,0,1,1);cursor:pointer}.c-homophones__item[data-v-8471a3e1]:hover{color:#fff;background-color:rgba(var(--primary-6))}.arco-modal-simple{padding:16px 24px!important}.arco-modal-simple .arco-modal-footer{text-align:right!important}.common-modal .arco-modal{border-radius:var(--border-radius-medium)}.common-modal .arco-modal-header{height:auto;padding:17px 24px 13px;border-top-left-radius:var(--border-radius-medium);border-top-right-radius:var(--border-radius-medium);line-height:22px}.common-modal .arco-modal-footer{border-top:none;padding:0 24px 24px}.common-modal .arco-modal-footer .arco-btn{border-radius:8px}.common-modal .arco-modal-body{padding:0 24px 20px}.common-modal .arco-modal-title{position:relative;font-weight:600}.common-modal .shim-icon{position:absolute;top:1px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff}.common-modal .normal-icon{position:absolute;font-size:24px}.common-modal .normal-title{margin-left:32px}.common-modal .extra-opt{position:absolute;top:50%;right:30px;transform:translateY(-50%)}.common-modal .modal-title-icon{display:inline-block;width:20px;height:20px;border-radius:50%;margin-right:11px;font-weight:600;line-height:20px;text-align:center}.common-modal .modal-title-icon svg{color:#fff}.common-modal.no-header-border .arco-modal-header{border:none}.common-modal.hide-header-border .arco-modal-header{border-bottom:none}.common-modal.hide-header-border .arco-modal-body{padding-top:0}.common-modal__info .arco-modal-title-icon,.common-modal__success .arco-modal-title-icon,.common-modal__warning .arco-modal-title-icon,.common-modal__error .arco-modal-title-icon,.common-modal__confirm .arco-modal-title-icon,.common-modal__syncConfirm .arco-modal-title-icon{display:none}.common-modal-footer__left .arco-modal-footer{border-top:none;text-align:left}.common-modal-footer__right .arco-modal-footer{border-top:none;text-align:right}.common-modal-footer__center .arco-modal-footer{border-top:none;text-align:center}.common-modal.arco-modal-simple{padding:0}.common-modal.arco-modal-simple .arco-modal-header{margin:0}.common-modal.arco-modal-simple .arco-modal-body{padding-top:0}.common-modal.arco-modal-simple .arco-modal-footer{margin:0;text-align:right}.c-quick-context-menu[data-v-70332ebc]{position:fixed;z-index:100;width:80px;background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:8px;border:1px solid #f6f6f6}.c-quick-context-menu__action-item[data-v-70332ebc]{line-height:40px;text-align:center;color:var(--color-text-2);font-size:14px;cursor:pointer}.c-quick-context-menu__action-item[data-v-70332ebc]:hover{color:rgba(var(--primary-6));background-color:rgba(var(--primary-6),.1)}.c-quick-context-menu .pausation[data-v-70332ebc]{display:flex;position:absolute;top:0;left:78px}.c-quick-context-menu .pausation .fill[data-v-70332ebc]{display:inline-block;width:2px;height:202px;background:transparent}.c-quick-context-menu .pausation .pausationor[data-v-70332ebc]{width:80px;flex-shrink:0}.c-editor-container{position:relative;width:100%;height:100%;padding-bottom:62px;overflow-y:auto}.c-editor-container__core{display:flex;flex-direction:row;width:100%;height:100%;overflow-y:auto}.c-editor-container__core-content{padding-top:16px;padding-right:16px;flex:1;outline:none}.c-editor-container__core-content-editor{position:relative;height:100%;line-height:28px}.c-editor-container__core-content-editor-placeholder{position:absolute;left:0;right:0;top:0;text-indent:20px;font-size:16px;color:gray;line-height:34px;pointer-events:none}.c-editor-container__core-content-editor-content{position:relative;height:100%;outline:none}.c-editor-container__core-anchor{position:relative;flex-shrink:0;width:344px}.c-editor-container__core-anchor-empty{position:fixed;top:50%;right:45px;width:340px;height:auto;transform:translateY(-50%)}.c-editor-container__status{display:flex;justify-content:space-between;align-items:center;position:absolute;left:0;bottom:0;width:calc(100% - 344px);padding:15px}.c-editor-container__status-clear{transform:translate(-15px)}.c-editor-container__status-info{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;column-gap:16px;width:100%}.c-editor-container__status-info-label,.c-editor-container__status-info-length{font-weight:400;font-size:14px;color:var(--color-text-3)}.c-editor-container__status-info-length:first-child{margin-right:2px;color:rgb(var(--arcoblue-6))}.c-editor-container__status--simple{width:100%}.c-editor-container__status--simple .c-editor-container__status-info-length:first-child{margin-right:0;color:var(--color-text-3)}.c-editor-container__status--disabled{cursor:not-allowed}.c-editor-container__splitor{position:absolute;right:344px;top:0;bottom:0;border-left:1px solid var(--color-neutral-3)}.c-editor-container__anchor-placeholder{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}.c-editor-container__anchor-placeholder>img{display:block;width:340px;height:auto;transform:translateY(-20%)}.c-editor-container .highlight{color:rgba(var(--success-6))}.c-editor-container .tag-audit-highlight{background-color:rgba(var(--danger-6))!important;color:#fff!important}.c-editor-container--disabled{cursor:not-allowed}.c-anchor-item{position:relative;padding-left:2px;padding-right:6px;width:304px;height:32px;display:inline-flex;flex-direction:row;align-items:center;border-radius:16px}.c-anchor-item__avatar{width:28px;height:28px;border-radius:14px}.c-anchor-item__info{padding-left:8px;display:flex;flex:1;flex-direction:row;align-items:center}.c-anchor-item__info-name,.c-anchor-item__info-speed-volume{flex-shrink:0;font-weight:500;font-size:16px;color:#00000073;line-height:24px}.c-anchor-item__info-name{flex:1;max-width:85px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.c-anchor-item__info-speed-volume{margin-right:9px}.c-anchor-item__info-rem,.c-anchor-item__info-play{font-size:18px;cursor:pointer}.c-anchor-item__info-rem{margin-right:4px;color:#1e1e1e33!important}.c-anchor-item__info-play{color:#00000040!important}.c-anchor-item__rem{display:none;position:absolute;top:5px;right:2px;font-size:14px;color:#1e1e1e33;transform:translate3d(10px,-12px,0);cursor:pointer}.c-anchor-item__btn-layer{display:none;position:absolute;top:0;bottom:0;right:0;left:0;background:#0000004d;border-radius:50%;cursor:pointer}.c-anchor-item__btn-layer .c-anchor-item__info-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff!important}.c-anchor-item:not(:last-child){margin-right:8px}.c-anchor-item:hover .c-anchor-item__btn-layer{background:#0000004d;display:block}.c-anchor-item:hover .c-anchor-item__rem{display:block}.multi-anchor .c-anchor-item{padding-right:2px;width:unset}.c-paragraph{text-indent:20px;font-size:16px;color:var(--color-text-1);line-height:34px;word-break:break-all}.c-paragraph:not(:last-child){margin-bottom:16px}.c-paragraph *{text-indent:0}
|
|
1
|
+
.editor-pausation-tag-modal{position:absolute;width:80px}.tag-pausation{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 2px 0 9px;border-radius:16px;color:#c3772b;background-color:#fceee0;font-size:14px;font-weight:500;-webkit-user-select:none;user-select:none;cursor:pointer}.tag-pausation__close{font-size:20px;color:#0003;cursor:pointer}.tag-pausation__close:hover{color:#0000004d}.c-pausation-tag-selector[data-v-a957cba2]{background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:8px;border:1px solid #f6f6f6;color:var(--color-text-2)}.c-pausation-tag-selector__item[data-v-a957cba2]{line-height:40px;text-indent:12px;font-size:14px;color:var(--color-text-2);cursor:pointer}.c-pausation-tag-selector__item[data-v-a957cba2]:hover{background-color:rgba(var(--primary-6),.1);color:rgba(var(--primary-6))}.editor-pronunciation-tag-modal{position:absolute;width:264px}.tag-pronunciation{display:inline-flex;align-items:center;gap:2px;margin:0 2px;-webkit-user-select:none;user-select:none;cursor:pointer}.tag-pronunciation__raw{color:rgba(var(--primary-6))}.tag-pronunciation__replace{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 2px 0 9px;background-color:rgba(var(--primary-6),.1);border-radius:16px;color:rgba(var(--primary-6))}.tag-pronunciation__replace-text{font-size:14px;font-weight:500}.tag-pronunciation__close{color:#0003}.tag-pronunciation__close:hover{color:#0000004d}.c-pronunciationor[data-v-e430f236]{padding:8px;background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:4px;border:1px solid #f6f6f6}.c-pronunciationor__title[data-v-e430f236]{margin-bottom:8px;line-height:20px;color:#000000d9}.c-pronunciationor__content[data-v-e430f236]{margin-bottom:4px}.c-pronunciationor__footer[data-v-e430f236]{margin-top:8px}.tag-anchor{padding:5.5px 0}.editor-homophones-tag-modal{position:absolute;width:88px}.tag-homophones{display:inline-flex;align-items:center;gap:4px;margin:0 2px;line-height:1;-webkit-user-select:none;user-select:none;cursor:pointer}.tag-homophones__raw{color:rgba(var(--primary-6))}.tag-homophones__close{color:#0003}.tag-homophones__close:hover{color:#0000004d}.c-homophones[data-v-8471a3e1]{padding:8px;background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:4px;border:1px solid #f6f6f6}.c-homophones__word[data-v-8471a3e1]{color:rgba(var(--primary-6));line-height:20px;text-align:center}.c-homophones__item[data-v-8471a3e1]{margin-top:8px;border-radius:4px;line-height:28px;border:1px solid rgba(0,0,0,.15);text-align:center;color:var(--color-text-2);transition:all .1s cubic-bezier(0,0,1,1);cursor:pointer}.c-homophones__item[data-v-8471a3e1]:hover{color:#fff;background-color:rgba(var(--primary-6))}.arco-modal-simple{padding:16px 24px!important}.arco-modal-simple .arco-modal-footer{text-align:right!important}.common-modal .arco-modal{border-radius:var(--border-radius-medium)}.common-modal .arco-modal-header{height:auto;padding:17px 24px 13px;border-top-left-radius:var(--border-radius-medium);border-top-right-radius:var(--border-radius-medium);line-height:22px}.common-modal .arco-modal-footer{border-top:none;padding:0 24px 24px}.common-modal .arco-modal-footer .arco-btn{border-radius:8px}.common-modal .arco-modal-body{padding:0 24px 20px}.common-modal .arco-modal-title{position:relative;font-weight:600}.common-modal .shim-icon{position:absolute;top:1px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff}.common-modal .normal-icon{position:absolute;font-size:24px}.common-modal .normal-title{margin-left:32px}.common-modal .extra-opt{position:absolute;top:50%;right:30px;transform:translateY(-50%)}.common-modal .modal-title-icon{display:inline-block;width:20px;height:20px;border-radius:50%;margin-right:11px;font-weight:600;line-height:20px;text-align:center}.common-modal .modal-title-icon svg{color:#fff}.common-modal.no-header-border .arco-modal-header{border:none}.common-modal.hide-header-border .arco-modal-header{border-bottom:none}.common-modal.hide-header-border .arco-modal-body{padding-top:0}.common-modal__info .arco-modal-title-icon,.common-modal__success .arco-modal-title-icon,.common-modal__warning .arco-modal-title-icon,.common-modal__error .arco-modal-title-icon,.common-modal__confirm .arco-modal-title-icon,.common-modal__syncConfirm .arco-modal-title-icon{display:none}.common-modal-footer__left .arco-modal-footer{border-top:none;text-align:left}.common-modal-footer__right .arco-modal-footer{border-top:none;text-align:right}.common-modal-footer__center .arco-modal-footer{border-top:none;text-align:center}.common-modal.arco-modal-simple{padding:0}.common-modal.arco-modal-simple .arco-modal-header{margin:0}.common-modal.arco-modal-simple .arco-modal-body{padding-top:0}.common-modal.arco-modal-simple .arco-modal-footer{margin:0;text-align:right}.c-quick-context-menu[data-v-70332ebc]{position:fixed;z-index:100;width:80px;background:#fff;box-shadow:0 4px 8px #0000001a;border-radius:8px;border:1px solid #f6f6f6}.c-quick-context-menu__action-item[data-v-70332ebc]{line-height:40px;text-align:center;color:var(--color-text-2);font-size:14px;cursor:pointer}.c-quick-context-menu__action-item[data-v-70332ebc]:hover{color:rgba(var(--primary-6));background-color:rgba(var(--primary-6),.1)}.c-quick-context-menu .pausation[data-v-70332ebc]{display:flex;position:absolute;top:0;left:78px}.c-quick-context-menu .pausation .fill[data-v-70332ebc]{display:inline-block;width:2px;height:202px;background:transparent}.c-quick-context-menu .pausation .pausationor[data-v-70332ebc]{width:80px;flex-shrink:0}.c-refine-generator-wrapper{position:absolute}.c-refine-generator-wrapper__inner{position:relative}.c-refine-generator{width:100%!important;border:1px solid rgba(var(--primary-6));border-radius:20px;overflow:hidden;box-shadow:0 8px 20px #0000001a}.c-refine-content{padding:20px 20px 12px;border-bottom:1px solid var(--color-border-2);background-color:#fff}.c-refine-content__content{font-size:16px;line-height:24px;text-align:justify;letter-spacing:0;font-variation-settings:"opsz" auto}.c-refine-content__operation{margin-top:24px;justify-content:space-between}.c-refine-input{height:60px;background-color:#fff;overflow:hidden}.c-refine-input .arco-input-wrapper{height:100%;border:none;border-radius:20px;background-color:#fff!important}.c-refine-input .arco-input-wrapper .arco-input{font-size:16px!important}.c-refine-input .arco-input-wrapper .arco-input::placeholder{font-size:16px!important}.c-refine-input__send{display:inline-block;width:36px;height:36px;border-radius:50%;line-height:36px;text-align:center;background-color:rgba(var(--primary-6));color:#fff;cursor:pointer}.c-refine-input__send--disabled{background-color:rgba(var(--primary-3));cursor:not-allowed}.c-refine-input__send:active{background-color:rgba(var(--primary-7))}.c-refine-input--generating input[placeholder]{color:rgba(var(--primary-6))!important;opacity:.6!important;-webkit-text-fill-color:rgba(var(--primary-6))!important}.c-refine-input--contentable{background-color:#fff}.c-refine-shortcut{display:inline-block;position:relative;width:162px;margin-top:8px;color:var(--color-text-1)}.c-refine-shortcut__shortcut{padding:8px 0;border-radius:var(--border-radius-medium);overflow:hidden;background-color:#fff;box-shadow:0 8px 20px #0000001a}.c-refine-shortcut__shortcut-item{width:100%;height:32px;padding:4px 10px 4px 20px;line-height:24px;cursor:pointer}.c-refine-shortcut__shortcut-item:hover{background-color:var(--color-fill-2)}.c-refine-shortcut__shortcut .sub-wrapper{position:absolute;left:162px;width:178px;padding:8px}.c-refine-toolbar{position:fixed;height:40px;border-radius:8px;opacity:1;background:#fff;box-sizing:border-box;box-shadow:0 8px 16px #0000001a;display:flex;justify-content:center;align-items:center;padding:0 4px;line-height:34px;border:1px solid var(--color-border-2)}.c-refine-toolbar__item{flex-shrink:0;display:flex;align-items:center;gap:8px;padding:8px;cursor:pointer;border-radius:8px;line-height:1}.c-refine-toolbar__item:hover{background-color:var(--color-fill-2)}.c-editor-container{position:relative;width:100%;height:100%;padding-bottom:62px;overflow-y:auto}.c-editor-container__core{display:flex;flex-direction:row;width:100%;height:100%;overflow-y:auto}.c-editor-container__core-content{padding-top:16px;padding-right:16px;flex:1;outline:none}.c-editor-container__core-content-editor{position:relative;height:100%;line-height:28px}.c-editor-container__core-content-editor-placeholder{position:absolute;left:0;right:0;top:0;text-indent:20px;font-size:16px;color:gray;line-height:34px;pointer-events:none}.c-editor-container__core-content-editor-content{position:relative;height:100%;outline:none}.c-editor-container__core-anchor{position:relative;flex-shrink:0;width:344px}.c-editor-container__core-anchor-empty{position:fixed;top:50%;right:45px;width:340px;height:auto;transform:translateY(-50%)}.c-editor-container__status{display:flex;justify-content:space-between;align-items:center;position:absolute;left:0;bottom:0;width:calc(100% - 344px);padding:15px}.c-editor-container__status-clear{transform:translate(-15px)}.c-editor-container__status-info{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;column-gap:16px;width:100%}.c-editor-container__status-info-label,.c-editor-container__status-info-length{font-weight:400;font-size:14px;color:var(--color-text-3)}.c-editor-container__status-info-length:first-child{margin-right:2px;color:rgb(var(--arcoblue-6))}.c-editor-container__status--simple{width:100%}.c-editor-container__status--simple .c-editor-container__status-info-length:first-child{margin-right:0;color:var(--color-text-3)}.c-editor-container__status--disabled{cursor:not-allowed}.c-editor-container__splitor{position:absolute;right:344px;top:0;bottom:0;border-left:1px solid var(--color-neutral-3)}.c-editor-container__anchor-placeholder{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}.c-editor-container__anchor-placeholder>img{display:block;width:340px;height:auto;transform:translateY(-20%)}.c-editor-container .highlight{color:rgba(var(--success-6))}.c-editor-container .tag-audit-highlight{background-color:rgba(var(--danger-6))!important;color:#fff!important}.c-editor-container--disabled{cursor:not-allowed}.c-anchor-item{position:relative;padding-left:2px;padding-right:6px;width:304px;height:32px;display:inline-flex;flex-direction:row;align-items:center;border-radius:16px}.c-anchor-item__avatar{width:28px;height:28px;border-radius:14px}.c-anchor-item__info{padding-left:8px;display:flex;flex:1;flex-direction:row;align-items:center}.c-anchor-item__info-name,.c-anchor-item__info-speed-volume{flex-shrink:0;font-weight:500;font-size:16px;color:#00000073;line-height:24px}.c-anchor-item__info-name{flex:1;max-width:85px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.c-anchor-item__info-speed-volume{margin-right:9px}.c-anchor-item__info-rem,.c-anchor-item__info-play{font-size:18px;cursor:pointer}.c-anchor-item__info-rem{margin-right:4px;color:#1e1e1e33!important}.c-anchor-item__info-play{color:#00000040!important}.c-anchor-item__rem{display:none;position:absolute;top:5px;right:2px;font-size:14px;color:#1e1e1e33;transform:translate3d(10px,-12px,0);cursor:pointer}.c-anchor-item__btn-layer{display:none;position:absolute;top:0;bottom:0;right:0;left:0;background:#0000004d;border-radius:50%;cursor:pointer}.c-anchor-item__btn-layer .c-anchor-item__info-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff!important}.c-anchor-item:not(:last-child){margin-right:8px}.c-anchor-item:hover .c-anchor-item__btn-layer{background:#0000004d;display:block}.c-anchor-item:hover .c-anchor-item__rem{display:block}.multi-anchor .c-anchor-item{padding-right:2px;width:unset}.c-paragraph{text-indent:20px;font-size:16px;color:var(--color-text-1);line-height:34px;word-break:break-all}.c-paragraph:not(:last-child){margin-bottom:16px}.c-paragraph *{text-indent:0}
|