@linker-design-plus/tiny-peony 1.4.15 → 1.4.17
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 +15 -15
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -7
- package/dist/index.mjs.map +1 -1
- package/dist/intersection/components/editor/editor.d.ts +9 -9
- package/dist/intersection/components/editor/index.d.ts +15 -15
- package/dist/typings/intersection/editor.d.ts +4 -4
- package/package.json +1 -1
|
@@ -7,10 +7,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
realTime: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
textCount: {
|
|
15
11
|
type: NumberConstructor;
|
|
16
12
|
default: number;
|
|
@@ -72,6 +68,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
68
|
type: (StringConstructor | NumberConstructor)[];
|
|
73
69
|
default: string;
|
|
74
70
|
};
|
|
71
|
+
showPreTime: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
75
|
}>, {
|
|
76
76
|
action: import("vue").Ref<import("../../hooks/use-editor").EditorAction | undefined, import("../../hooks/use-editor").EditorAction | undefined>;
|
|
77
77
|
innerRender: () => JSX.Element;
|
|
@@ -130,10 +130,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
130
|
type: StringConstructor;
|
|
131
131
|
default: string;
|
|
132
132
|
};
|
|
133
|
-
realTime: {
|
|
134
|
-
type: StringConstructor;
|
|
135
|
-
default: string;
|
|
136
|
-
};
|
|
137
133
|
textCount: {
|
|
138
134
|
type: NumberConstructor;
|
|
139
135
|
default: number;
|
|
@@ -195,6 +191,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
195
191
|
type: (StringConstructor | NumberConstructor)[];
|
|
196
192
|
default: string;
|
|
197
193
|
};
|
|
194
|
+
showPreTime: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
198
|
}>> & Readonly<{
|
|
199
199
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
200
200
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -210,12 +210,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
210
|
showWordLimit: boolean;
|
|
211
211
|
simple: boolean;
|
|
212
212
|
preTime: string;
|
|
213
|
-
realTime: string;
|
|
214
213
|
textCount: number;
|
|
215
214
|
listenAnchorId: string;
|
|
216
215
|
listenMode: ListenModeEnum;
|
|
217
216
|
contentStyle: CSSProperties;
|
|
218
217
|
refinable: boolean;
|
|
219
218
|
editorHeight: string | number;
|
|
219
|
+
showPreTime: boolean;
|
|
220
220
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
221
221
|
export default _default;
|
|
@@ -7,10 +7,6 @@ declare const EditorContainer: {
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
realTime: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
textCount: {
|
|
15
11
|
type: NumberConstructor;
|
|
16
12
|
default: number;
|
|
@@ -66,6 +62,10 @@ declare const EditorContainer: {
|
|
|
66
62
|
type: (StringConstructor | NumberConstructor)[];
|
|
67
63
|
default: string;
|
|
68
64
|
};
|
|
65
|
+
showPreTime: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
69
|
}>> & Readonly<{
|
|
70
70
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
71
71
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -134,13 +134,13 @@ declare const EditorContainer: {
|
|
|
134
134
|
showWordLimit: boolean;
|
|
135
135
|
simple: boolean;
|
|
136
136
|
preTime: string;
|
|
137
|
-
realTime: string;
|
|
138
137
|
textCount: number;
|
|
139
138
|
listenAnchorId: string;
|
|
140
139
|
listenMode: import("../../..").ListenModeEnum;
|
|
141
140
|
contentStyle: import("vue").CSSProperties;
|
|
142
141
|
refinable: boolean;
|
|
143
142
|
editorHeight: string | number;
|
|
143
|
+
showPreTime: boolean;
|
|
144
144
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
145
145
|
P: {};
|
|
146
146
|
B: {};
|
|
@@ -153,10 +153,6 @@ declare const EditorContainer: {
|
|
|
153
153
|
type: StringConstructor;
|
|
154
154
|
default: string;
|
|
155
155
|
};
|
|
156
|
-
realTime: {
|
|
157
|
-
type: StringConstructor;
|
|
158
|
-
default: string;
|
|
159
|
-
};
|
|
160
156
|
textCount: {
|
|
161
157
|
type: NumberConstructor;
|
|
162
158
|
default: number;
|
|
@@ -212,6 +208,10 @@ declare const EditorContainer: {
|
|
|
212
208
|
type: (StringConstructor | NumberConstructor)[];
|
|
213
209
|
default: string;
|
|
214
210
|
};
|
|
211
|
+
showPreTime: {
|
|
212
|
+
type: BooleanConstructor;
|
|
213
|
+
default: boolean;
|
|
214
|
+
};
|
|
215
215
|
}>> & Readonly<{
|
|
216
216
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
217
217
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -274,13 +274,13 @@ declare const EditorContainer: {
|
|
|
274
274
|
showWordLimit: boolean;
|
|
275
275
|
simple: boolean;
|
|
276
276
|
preTime: string;
|
|
277
|
-
realTime: string;
|
|
278
277
|
textCount: number;
|
|
279
278
|
listenAnchorId: string;
|
|
280
279
|
listenMode: import("../../..").ListenModeEnum;
|
|
281
280
|
contentStyle: import("vue").CSSProperties;
|
|
282
281
|
refinable: boolean;
|
|
283
282
|
editorHeight: string | number;
|
|
283
|
+
showPreTime: boolean;
|
|
284
284
|
}>;
|
|
285
285
|
__isFragment?: never;
|
|
286
286
|
__isTeleport?: never;
|
|
@@ -290,10 +290,6 @@ declare const EditorContainer: {
|
|
|
290
290
|
type: StringConstructor;
|
|
291
291
|
default: string;
|
|
292
292
|
};
|
|
293
|
-
realTime: {
|
|
294
|
-
type: StringConstructor;
|
|
295
|
-
default: string;
|
|
296
|
-
};
|
|
297
293
|
textCount: {
|
|
298
294
|
type: NumberConstructor;
|
|
299
295
|
default: number;
|
|
@@ -349,6 +345,10 @@ declare const EditorContainer: {
|
|
|
349
345
|
type: (StringConstructor | NumberConstructor)[];
|
|
350
346
|
default: string;
|
|
351
347
|
};
|
|
348
|
+
showPreTime: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
default: boolean;
|
|
351
|
+
};
|
|
352
352
|
}>> & Readonly<{
|
|
353
353
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
354
354
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -417,13 +417,13 @@ declare const EditorContainer: {
|
|
|
417
417
|
showWordLimit: boolean;
|
|
418
418
|
simple: boolean;
|
|
419
419
|
preTime: string;
|
|
420
|
-
realTime: string;
|
|
421
420
|
textCount: number;
|
|
422
421
|
listenAnchorId: string;
|
|
423
422
|
listenMode: import("../../..").ListenModeEnum;
|
|
424
423
|
contentStyle: import("vue").CSSProperties;
|
|
425
424
|
refinable: boolean;
|
|
426
425
|
editorHeight: string | number;
|
|
426
|
+
showPreTime: boolean;
|
|
427
427
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
428
428
|
install: (app: App, options?: Record<string, any>) => void;
|
|
429
429
|
};
|
|
@@ -5,10 +5,6 @@ export interface EditorComponentProps {
|
|
|
5
5
|
* 预计时长,按文字数量计算
|
|
6
6
|
*/
|
|
7
7
|
preTime: string;
|
|
8
|
-
/**
|
|
9
|
-
* 实际时长,按文字数量计算
|
|
10
|
-
*/
|
|
11
|
-
realTime: string;
|
|
12
8
|
/**
|
|
13
9
|
* 编辑器已输入文字数量
|
|
14
10
|
*/
|
|
@@ -45,4 +41,8 @@ export interface EditorComponentProps {
|
|
|
45
41
|
* 调优上下文
|
|
46
42
|
*/
|
|
47
43
|
refineContext?: RefineContext;
|
|
44
|
+
/**
|
|
45
|
+
* 是否显示预计时长
|
|
46
|
+
*/
|
|
47
|
+
showPreTime: boolean;
|
|
48
48
|
}
|