@jnrs/lingshu-smart 1.0.1 → 2.2.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/README.md +34 -8
- package/dist/App.vue.d.ts +2 -0
- package/dist/assets/json/menu.json.d.ts +187 -0
- package/dist/components/editor/ControlBar/CaseMangerButton.vue.d.ts +31 -0
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +412 -0
- package/dist/components/editor/ControlBar/ExportImportDialog.vue.d.ts +4 -0
- package/dist/components/editor/ControlBar/MainButton.vue.d.ts +17 -0
- package/dist/components/editor/ControlBar/StepButton.vue.d.ts +2 -0
- package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.d.ts +9 -0
- package/dist/components/editor/DrawingBoard.vue.d.ts +2 -0
- package/dist/components/editor/MenuCard/Equipments.vue.d.ts +2 -0
- package/dist/components/editor/MenuCard/Layers.vue.d.ts +2 -0
- package/dist/components/editor/MenuCard/index.vue.d.ts +2 -0
- package/dist/components/editor/OptionCard/Equipment/Base.vue.d.ts +2 -0
- package/dist/components/editor/OptionCard/Equipment/Position.vue.d.ts +2 -0
- package/dist/components/editor/OptionCard/Equipment/index.vue.d.ts +2 -0
- package/dist/components/editor/OptionCard/Scene/Background.vue.d.ts +2 -0
- package/dist/components/editor/OptionCard/Scene/index.vue.d.ts +2 -0
- package/dist/components/editor/OptionCard/index.vue.d.ts +2 -0
- package/dist/components/editor/index.vue.d.ts +37 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +24472 -1
- package/dist/composables/useStepRecord.d.ts +11 -0
- package/dist/constants/options.d.ts +9 -0
- package/dist/core/EditorManager.d.ts +33 -0
- package/dist/core/ViewContainer.d.ts +19 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.js +1 -4
- package/dist/json/case.json +70 -0
- package/dist/locales/en.d.ts +0 -9
- package/dist/locales/index.js +8 -26
- package/dist/locales/zhCn.d.ts +0 -9
- package/dist/main.d.ts +0 -0
- package/dist/playground/EditPage.vue.d.ts +2 -0
- package/dist/playground/ViewPage.vue.d.ts +2 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/useEditorStore.d.ts +14324 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/index.d.ts +84 -1
- package/dist/types/model.d.ts +9 -0
- package/dist/ui/components/Light.d.ts +23 -0
- package/dist/ui/components/Progress.d.ts +24 -0
- package/dist/ui/components/Resource.d.ts +26 -0
- package/dist/ui/components/StationSlot.d.ts +36 -0
- package/dist/ui/models/BaseModel.d.ts +32 -0
- package/dist/ui/models/MachineTool.d.ts +12 -0
- package/dist/ui/models/ModelsFactory.d.ts +5 -0
- package/dist/ui/shapes/Glass.d.ts +12 -0
- package/dist/ui/shapes/NamePlate.d.ts +15 -0
- package/dist/ui/shapes/ScrewHole.d.ts +11 -0
- package/dist/ui/shapes/Texture.d.ts +12 -0
- package/dist/utils/index.d.ts +39 -0
- package/dist/utils/type-guards.d.ts +18 -0
- package/package.json +15 -7
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
caseInputRef: ({
|
|
3
|
+
$: import('vue').ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
tabindex: string | number;
|
|
8
|
+
type: import('element-plus').InputType;
|
|
9
|
+
modelValue: string | number | null;
|
|
10
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
11
|
+
autocomplete: string;
|
|
12
|
+
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
13
|
+
wordLimitPosition: "inside" | "outside";
|
|
14
|
+
validateEvent: boolean;
|
|
15
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
16
|
+
rows: number;
|
|
17
|
+
}> & Omit<{
|
|
18
|
+
readonly type: import('element-plus').InputType;
|
|
19
|
+
readonly modelValue: string | number | null;
|
|
20
|
+
readonly validateEvent: boolean;
|
|
21
|
+
readonly autocomplete: string;
|
|
22
|
+
readonly tabindex: string | number;
|
|
23
|
+
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
24
|
+
readonly modelModifiers: import('element-plus').InputModelModifiers;
|
|
25
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
26
|
+
readonly rows: number;
|
|
27
|
+
readonly id?: string | undefined;
|
|
28
|
+
readonly name?: string | undefined;
|
|
29
|
+
readonly disabled?: boolean | undefined;
|
|
30
|
+
readonly placeholder?: string | undefined;
|
|
31
|
+
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
32
|
+
readonly form?: string | undefined;
|
|
33
|
+
readonly readonly?: boolean | undefined;
|
|
34
|
+
readonly ariaLabel?: string | undefined;
|
|
35
|
+
readonly inputmode?: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
36
|
+
readonly clearable?: boolean | undefined;
|
|
37
|
+
readonly clearIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
38
|
+
readonly suffixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
39
|
+
readonly autofocus?: boolean | undefined;
|
|
40
|
+
readonly maxlength?: string | number | undefined;
|
|
41
|
+
readonly minlength?: string | number | undefined;
|
|
42
|
+
readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
43
|
+
readonly autosize?: import('element-plus').InputAutoSize | undefined;
|
|
44
|
+
readonly formatter?: ((value: string) => string) | undefined;
|
|
45
|
+
readonly parser?: ((value: string) => string) | undefined;
|
|
46
|
+
readonly showPassword?: boolean | undefined;
|
|
47
|
+
readonly showWordLimit?: boolean | undefined;
|
|
48
|
+
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
49
|
+
readonly containerRole?: string | undefined;
|
|
50
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
51
|
+
onInput?: ((value: string) => any) | undefined | undefined;
|
|
52
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
53
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined | undefined;
|
|
54
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
55
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
56
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
57
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
58
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
59
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
60
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
61
|
+
onClear?: (() => any) | undefined | undefined;
|
|
62
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "tabindex" | "inputStyle" | "modelModifiers" | "wordLimitPosition" | "rows">;
|
|
63
|
+
$attrs: {
|
|
64
|
+
[x: string]: unknown;
|
|
65
|
+
};
|
|
66
|
+
$refs: {
|
|
67
|
+
[x: string]: unknown;
|
|
68
|
+
};
|
|
69
|
+
$slots: Readonly<{
|
|
70
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
73
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
74
|
+
$host: Element | null;
|
|
75
|
+
$emit: ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
76
|
+
$el: any;
|
|
77
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
78
|
+
type: {
|
|
79
|
+
type: import('vue').PropType<import('element-plus').InputType>;
|
|
80
|
+
default: import('element-plus').InputType;
|
|
81
|
+
};
|
|
82
|
+
id: {
|
|
83
|
+
type: import('vue').PropType<string>;
|
|
84
|
+
};
|
|
85
|
+
name: {
|
|
86
|
+
type: import('vue').PropType<string>;
|
|
87
|
+
};
|
|
88
|
+
disabled: {
|
|
89
|
+
type: import('vue').PropType<boolean>;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
placeholder: {
|
|
93
|
+
type: import('vue').PropType<string>;
|
|
94
|
+
};
|
|
95
|
+
size: {
|
|
96
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
97
|
+
};
|
|
98
|
+
form: {
|
|
99
|
+
type: import('vue').PropType<string>;
|
|
100
|
+
};
|
|
101
|
+
modelValue: {
|
|
102
|
+
type: import('vue').PropType<string | number | null>;
|
|
103
|
+
default: "";
|
|
104
|
+
};
|
|
105
|
+
readonly: {
|
|
106
|
+
type: import('vue').PropType<boolean>;
|
|
107
|
+
};
|
|
108
|
+
validateEvent: {
|
|
109
|
+
type: import('vue').PropType<boolean>;
|
|
110
|
+
default: true;
|
|
111
|
+
};
|
|
112
|
+
ariaLabel: {
|
|
113
|
+
type: import('vue').PropType<string>;
|
|
114
|
+
};
|
|
115
|
+
inputmode: {
|
|
116
|
+
type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
117
|
+
};
|
|
118
|
+
autocomplete: {
|
|
119
|
+
type: import('vue').PropType<string>;
|
|
120
|
+
default: "off";
|
|
121
|
+
};
|
|
122
|
+
clearable: {
|
|
123
|
+
type: import('vue').PropType<boolean>;
|
|
124
|
+
};
|
|
125
|
+
clearIcon: {
|
|
126
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
127
|
+
default: any;
|
|
128
|
+
};
|
|
129
|
+
suffixIcon: {
|
|
130
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
131
|
+
};
|
|
132
|
+
tabindex: {
|
|
133
|
+
type: import('vue').PropType<string | number>;
|
|
134
|
+
default: 0;
|
|
135
|
+
};
|
|
136
|
+
inputStyle: {
|
|
137
|
+
type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
|
|
138
|
+
default: () => {};
|
|
139
|
+
};
|
|
140
|
+
autofocus: {
|
|
141
|
+
type: import('vue').PropType<boolean>;
|
|
142
|
+
};
|
|
143
|
+
modelModifiers: {
|
|
144
|
+
type: import('vue').PropType<import('element-plus').InputModelModifiers>;
|
|
145
|
+
default: () => {};
|
|
146
|
+
};
|
|
147
|
+
maxlength: {
|
|
148
|
+
type: import('vue').PropType<string | number>;
|
|
149
|
+
};
|
|
150
|
+
minlength: {
|
|
151
|
+
type: import('vue').PropType<string | number>;
|
|
152
|
+
};
|
|
153
|
+
resize: {
|
|
154
|
+
type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
155
|
+
};
|
|
156
|
+
autosize: {
|
|
157
|
+
type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
158
|
+
};
|
|
159
|
+
formatter: {
|
|
160
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
161
|
+
};
|
|
162
|
+
parser: {
|
|
163
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
164
|
+
};
|
|
165
|
+
showPassword: {
|
|
166
|
+
type: import('vue').PropType<boolean>;
|
|
167
|
+
};
|
|
168
|
+
showWordLimit: {
|
|
169
|
+
type: import('vue').PropType<boolean>;
|
|
170
|
+
};
|
|
171
|
+
wordLimitPosition: {
|
|
172
|
+
type: import('vue').PropType<"inside" | "outside">;
|
|
173
|
+
default: "inside";
|
|
174
|
+
};
|
|
175
|
+
prefixIcon: {
|
|
176
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
177
|
+
};
|
|
178
|
+
containerRole: {
|
|
179
|
+
type: import('vue').PropType<string>;
|
|
180
|
+
};
|
|
181
|
+
rows: {
|
|
182
|
+
type: import('vue').PropType<number>;
|
|
183
|
+
default: 2;
|
|
184
|
+
};
|
|
185
|
+
}>> & {
|
|
186
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
187
|
+
onInput?: ((value: string) => any) | undefined;
|
|
188
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
189
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
190
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
191
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
192
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
193
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
194
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
195
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
196
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
197
|
+
onClear?: (() => any) | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
200
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
201
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
202
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
203
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined>;
|
|
204
|
+
isComposing: import('vue').Ref<boolean>;
|
|
205
|
+
focus: () => void | undefined;
|
|
206
|
+
blur: () => void | undefined;
|
|
207
|
+
select: () => void;
|
|
208
|
+
clear: () => void;
|
|
209
|
+
resizeTextarea: () => void;
|
|
210
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
211
|
+
input: (value: string) => void;
|
|
212
|
+
focus: (evt: FocusEvent) => void;
|
|
213
|
+
"update:modelValue": (value: string) => void;
|
|
214
|
+
change: (value: string, evt?: Event | undefined) => void;
|
|
215
|
+
clear: () => void;
|
|
216
|
+
blur: (evt: FocusEvent) => void;
|
|
217
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
218
|
+
compositionstart: (evt: CompositionEvent) => void;
|
|
219
|
+
compositionupdate: (evt: CompositionEvent) => void;
|
|
220
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
221
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
222
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
223
|
+
}, string, {
|
|
224
|
+
disabled: boolean;
|
|
225
|
+
tabindex: string | number;
|
|
226
|
+
type: import('element-plus').InputType;
|
|
227
|
+
modelValue: string | number | null;
|
|
228
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
229
|
+
autocomplete: string;
|
|
230
|
+
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
231
|
+
wordLimitPosition: "inside" | "outside";
|
|
232
|
+
validateEvent: boolean;
|
|
233
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
234
|
+
rows: number;
|
|
235
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
236
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
237
|
+
created?: (() => void) | (() => void)[];
|
|
238
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
239
|
+
mounted?: (() => void) | (() => void)[];
|
|
240
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
241
|
+
updated?: (() => void) | (() => void)[];
|
|
242
|
+
activated?: (() => void) | (() => void)[];
|
|
243
|
+
deactivated?: (() => void) | (() => void)[];
|
|
244
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
245
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
246
|
+
destroyed?: (() => void) | (() => void)[];
|
|
247
|
+
unmounted?: (() => void) | (() => void)[];
|
|
248
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
249
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
250
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
251
|
+
};
|
|
252
|
+
$forceUpdate: () => void;
|
|
253
|
+
$nextTick: typeof import('vue').nextTick;
|
|
254
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
255
|
+
} & Readonly<{
|
|
256
|
+
disabled: boolean;
|
|
257
|
+
tabindex: string | number;
|
|
258
|
+
type: import('element-plus').InputType;
|
|
259
|
+
modelValue: string | number | null;
|
|
260
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
261
|
+
autocomplete: string;
|
|
262
|
+
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
263
|
+
wordLimitPosition: "inside" | "outside";
|
|
264
|
+
validateEvent: boolean;
|
|
265
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
266
|
+
rows: number;
|
|
267
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
268
|
+
type: {
|
|
269
|
+
type: import('vue').PropType<import('element-plus').InputType>;
|
|
270
|
+
default: import('element-plus').InputType;
|
|
271
|
+
};
|
|
272
|
+
id: {
|
|
273
|
+
type: import('vue').PropType<string>;
|
|
274
|
+
};
|
|
275
|
+
name: {
|
|
276
|
+
type: import('vue').PropType<string>;
|
|
277
|
+
};
|
|
278
|
+
disabled: {
|
|
279
|
+
type: import('vue').PropType<boolean>;
|
|
280
|
+
default: undefined;
|
|
281
|
+
};
|
|
282
|
+
placeholder: {
|
|
283
|
+
type: import('vue').PropType<string>;
|
|
284
|
+
};
|
|
285
|
+
size: {
|
|
286
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
287
|
+
};
|
|
288
|
+
form: {
|
|
289
|
+
type: import('vue').PropType<string>;
|
|
290
|
+
};
|
|
291
|
+
modelValue: {
|
|
292
|
+
type: import('vue').PropType<string | number | null>;
|
|
293
|
+
default: "";
|
|
294
|
+
};
|
|
295
|
+
readonly: {
|
|
296
|
+
type: import('vue').PropType<boolean>;
|
|
297
|
+
};
|
|
298
|
+
validateEvent: {
|
|
299
|
+
type: import('vue').PropType<boolean>;
|
|
300
|
+
default: true;
|
|
301
|
+
};
|
|
302
|
+
ariaLabel: {
|
|
303
|
+
type: import('vue').PropType<string>;
|
|
304
|
+
};
|
|
305
|
+
inputmode: {
|
|
306
|
+
type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
307
|
+
};
|
|
308
|
+
autocomplete: {
|
|
309
|
+
type: import('vue').PropType<string>;
|
|
310
|
+
default: "off";
|
|
311
|
+
};
|
|
312
|
+
clearable: {
|
|
313
|
+
type: import('vue').PropType<boolean>;
|
|
314
|
+
};
|
|
315
|
+
clearIcon: {
|
|
316
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
317
|
+
default: any;
|
|
318
|
+
};
|
|
319
|
+
suffixIcon: {
|
|
320
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
321
|
+
};
|
|
322
|
+
tabindex: {
|
|
323
|
+
type: import('vue').PropType<string | number>;
|
|
324
|
+
default: 0;
|
|
325
|
+
};
|
|
326
|
+
inputStyle: {
|
|
327
|
+
type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
|
|
328
|
+
default: () => {};
|
|
329
|
+
};
|
|
330
|
+
autofocus: {
|
|
331
|
+
type: import('vue').PropType<boolean>;
|
|
332
|
+
};
|
|
333
|
+
modelModifiers: {
|
|
334
|
+
type: import('vue').PropType<import('element-plus').InputModelModifiers>;
|
|
335
|
+
default: () => {};
|
|
336
|
+
};
|
|
337
|
+
maxlength: {
|
|
338
|
+
type: import('vue').PropType<string | number>;
|
|
339
|
+
};
|
|
340
|
+
minlength: {
|
|
341
|
+
type: import('vue').PropType<string | number>;
|
|
342
|
+
};
|
|
343
|
+
resize: {
|
|
344
|
+
type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
345
|
+
};
|
|
346
|
+
autosize: {
|
|
347
|
+
type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
348
|
+
};
|
|
349
|
+
formatter: {
|
|
350
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
351
|
+
};
|
|
352
|
+
parser: {
|
|
353
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
354
|
+
};
|
|
355
|
+
showPassword: {
|
|
356
|
+
type: import('vue').PropType<boolean>;
|
|
357
|
+
};
|
|
358
|
+
showWordLimit: {
|
|
359
|
+
type: import('vue').PropType<boolean>;
|
|
360
|
+
};
|
|
361
|
+
wordLimitPosition: {
|
|
362
|
+
type: import('vue').PropType<"inside" | "outside">;
|
|
363
|
+
default: "inside";
|
|
364
|
+
};
|
|
365
|
+
prefixIcon: {
|
|
366
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
367
|
+
};
|
|
368
|
+
containerRole: {
|
|
369
|
+
type: import('vue').PropType<string>;
|
|
370
|
+
};
|
|
371
|
+
rows: {
|
|
372
|
+
type: import('vue').PropType<number>;
|
|
373
|
+
default: 2;
|
|
374
|
+
};
|
|
375
|
+
}>> & {
|
|
376
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
377
|
+
onInput?: ((value: string) => any) | undefined;
|
|
378
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
379
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
380
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
381
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
382
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
383
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
384
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
385
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
386
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
387
|
+
onClear?: (() => any) | undefined;
|
|
388
|
+
}, "type" | "blur" | "disabled" | "focus" | "clear" | "input" | "select" | "textarea" | "ref" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "tabindex" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
389
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
390
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
391
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
392
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
393
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined>;
|
|
394
|
+
isComposing: import('vue').Ref<boolean>;
|
|
395
|
+
focus: () => void | undefined;
|
|
396
|
+
blur: () => void | undefined;
|
|
397
|
+
select: () => void;
|
|
398
|
+
clear: () => void;
|
|
399
|
+
resizeTextarea: () => void;
|
|
400
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
401
|
+
$slots: {
|
|
402
|
+
prepend?: (props: {}) => any;
|
|
403
|
+
} & {
|
|
404
|
+
prefix?: (props: {}) => any;
|
|
405
|
+
} & {
|
|
406
|
+
suffix?: (props: {}) => any;
|
|
407
|
+
} & {
|
|
408
|
+
append?: (props: {}) => any;
|
|
409
|
+
};
|
|
410
|
+
}) | null;
|
|
411
|
+
}, any>;
|
|
412
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
showVisible: () => void;
|
|
3
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ICase } from '../../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* 跳转到预览页面
|
|
5
|
+
* @param currentCase
|
|
6
|
+
*/
|
|
7
|
+
goPreview?: (currentCase?: ICase) => void;
|
|
8
|
+
/**
|
|
9
|
+
* 退出当前页面
|
|
10
|
+
*/
|
|
11
|
+
goExit?: () => void;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
goPreview: (currentCase?: ICase) => void;
|
|
15
|
+
goExit: () => void;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
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, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
operationRecord: string[];
|
|
3
|
+
operationMaxRecord: number;
|
|
4
|
+
currentIndex: number;
|
|
5
|
+
canUndo: boolean;
|
|
6
|
+
canRedo: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
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, {}, HTMLCanvasElement>;
|
|
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, {}, HTMLDivElement>;
|
|
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, {}, HTMLDivElement>;
|
|
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, {}, HTMLDivElement>;
|
|
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, {}, any>;
|
|
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, {}, any>;
|
|
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, {}, HTMLDivElement>;
|
|
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, {}, any>;
|
|
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, {}, HTMLDivElement>;
|
|
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, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ICase } from '../../types';
|
|
2
|
+
interface CaseActions {
|
|
3
|
+
/**
|
|
4
|
+
* 加载案例列表
|
|
5
|
+
* @returns Promise<ICase[]>
|
|
6
|
+
*/
|
|
7
|
+
loadCases?: (id?: string) => Promise<ICase[]>;
|
|
8
|
+
/**
|
|
9
|
+
* 保存方案列表
|
|
10
|
+
*/
|
|
11
|
+
saveCases?: (cases?: ICase[]) => void;
|
|
12
|
+
/**
|
|
13
|
+
* 跳转到预览页面
|
|
14
|
+
*/
|
|
15
|
+
goPreview?: (currentCase?: ICase) => void;
|
|
16
|
+
/**
|
|
17
|
+
* 退出当前页面
|
|
18
|
+
*/
|
|
19
|
+
goExit?: () => void;
|
|
20
|
+
}
|
|
21
|
+
type __VLS_Props = {
|
|
22
|
+
actions?: CaseActions;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
actions: CaseActions;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
+
visualRef: HTMLDivElement;
|
|
28
|
+
drawingBoardRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLCanvasElement, import('vue').ComponentProvideOptions, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
36
|
+
}, HTMLDivElement>;
|
|
37
|
+
export default _default;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as LingshuSmartEditor } from './editor/index.vue';
|
|
2
|
+
export { LingshuSmartEditor };
|