@jnrs/lingshu-smart 2.2.33 → 2.2.34

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.
Files changed (50) hide show
  1. package/AGENTS.md +56 -3
  2. package/README.md +140 -0
  3. package/dist/components/debug/DebugPanel.vue.d.ts +2 -0
  4. package/dist/components/debug/PerformanceStats.vue.d.ts +42 -0
  5. package/dist/components/debug/ScriptRunner/ConfigPanel.vue.d.ts +36 -0
  6. package/dist/components/debug/ScriptRunner/LogPanel.vue.d.ts +19 -0
  7. package/dist/components/debug/ScriptRunner/StepsPanel.vue.d.ts +42 -0
  8. package/dist/components/debug/ScriptRunner/index.vue.d.ts +16 -0
  9. package/dist/components/debug/ScriptRunner/script.d.ts +72 -0
  10. package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +40 -40
  11. package/dist/components/editor/DrawingBoard.vue.d.ts +3 -1
  12. package/dist/components/editor/OptionCard/Equipment/models/PartConfig.vue.d.ts +2 -0
  13. package/dist/components/editor/index.vue.d.ts +3 -1
  14. package/dist/components/index.d.ts +3 -1
  15. package/dist/components/index.js +29307 -2053
  16. package/dist/components/preview/index.vue.d.ts +1859 -3
  17. package/dist/composables/useDebugEasterEgg.d.ts +2 -0
  18. package/dist/controller/AppController.d.ts +9 -0
  19. package/dist/controller/EditorController.d.ts +1 -1
  20. package/dist/index.js +153 -17
  21. package/dist/locales/en.d.ts +45 -0
  22. package/dist/locales/i18next.d.ts +102 -1
  23. package/dist/locales/index.js +94 -4
  24. package/dist/locales/zhCn.d.ts +45 -0
  25. package/dist/playground/ViewPageDemo.vue.d.ts +3744 -6
  26. package/dist/stores/index.d.ts +1 -0
  27. package/dist/stores/useAppStore.d.ts +5565 -3
  28. package/dist/stores/useDataStore.d.ts +5565 -3
  29. package/dist/stores/useDebugStore.d.ts +112 -0
  30. package/dist/stores/useEditorStore.d.ts +5 -2
  31. package/dist/types/app.types.d.ts +3 -0
  32. package/dist/types/enums.d.ts +1 -0
  33. package/dist/types/guards.d.ts +1 -0
  34. package/dist/types/models/config.types.d.ts +9 -1
  35. package/dist/types/models/operating.types.d.ts +8 -1
  36. package/dist/ui/abstract/BaseAbs.d.ts +23 -0
  37. package/dist/ui/abstract/ComponentAbs.d.ts +3 -15
  38. package/dist/ui/abstract/ModelAbs.d.ts +7 -17
  39. package/dist/ui/components/Light.d.ts +5 -0
  40. package/dist/ui/components/StationSlot.d.ts +2 -1
  41. package/dist/ui/models/ResourceStore.d.ts +5 -0
  42. package/dist/ui/models/ShuttleStation.d.ts +21 -0
  43. package/dist/utils/debug-flags.d.ts +9 -0
  44. package/dist/utils/formatOperating.d.ts +7 -0
  45. package/dist/utils/index.d.ts +19 -15
  46. package/dist/utils/logger.d.ts +22 -0
  47. package/dist/utils/performance-stats.d.ts +38 -0
  48. package/package.json +5 -3
  49. package/dist/index-g6O0IWAC.js +0 -24879
  50. package/dist/playground/mockWebSocketData.d.ts +0 -23
@@ -17,8 +17,8 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
17
17
  }> & Omit<{
18
18
  readonly type: import('element-plus').InputType;
19
19
  readonly modelValue: string | number | null;
20
- readonly validateEvent: boolean;
21
20
  readonly autocomplete: string;
21
+ readonly validateEvent: boolean;
22
22
  readonly tabindex: string | number;
23
23
  readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
24
24
  readonly modelModifiers: import('element-plus').InputModelModifiers;
@@ -28,18 +28,18 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
28
28
  readonly disabled?: boolean | undefined;
29
29
  readonly id?: string | undefined;
30
30
  readonly placeholder?: string | undefined;
31
- readonly size?: import('element-plus').ComponentSize | undefined;
32
31
  readonly form?: string | undefined;
33
- readonly readonly?: boolean | undefined;
32
+ readonly size?: import('element-plus').ComponentSize | undefined;
33
+ readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
34
34
  readonly ariaLabel?: string | undefined;
35
- readonly inputmode?: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
36
35
  readonly clearable?: boolean | undefined;
37
36
  readonly clearIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
38
37
  readonly suffixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
39
38
  readonly autofocus?: boolean | undefined;
39
+ readonly readonly?: boolean | undefined;
40
+ readonly inputmode?: "none" | "search" | "url" | "text" | "email" | "tel" | "numeric" | "decimal" | undefined;
40
41
  readonly maxlength?: string | number | undefined;
41
42
  readonly minlength?: string | number | undefined;
42
- readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
43
43
  readonly autosize?: import('element-plus').InputAutoSize | undefined;
44
44
  readonly formatter?: ((value: string) => string) | undefined;
45
45
  readonly parser?: ((value: string) => string) | undefined;
@@ -59,7 +59,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
59
59
  onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
60
60
  onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
61
61
  onClear?: (() => any) | undefined | undefined;
62
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "tabindex" | "inputStyle" | "modelModifiers" | "wordLimitPosition" | "rows">;
62
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "modelValue" | "autocomplete" | "clearIcon" | "validateEvent" | "tabindex" | "inputStyle" | "modelModifiers" | "wordLimitPosition" | "rows">;
63
63
  $attrs: {
64
64
  [x: string]: unknown;
65
65
  };
@@ -72,7 +72,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
72
72
  $root: import('vue').ComponentPublicInstance | null;
73
73
  $parent: import('vue').ComponentPublicInstance | null;
74
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);
75
+ $emit: ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "input", 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) & ((event: "update:modelValue", value: string) => void);
76
76
  $el: any;
77
77
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
78
78
  name: {
@@ -92,29 +92,22 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
92
92
  placeholder: {
93
93
  type: import('vue').PropType<string>;
94
94
  };
95
- size: {
96
- type: import('vue').PropType<"" | "default" | "small" | "large">;
97
- };
98
95
  form: {
99
96
  type: import('vue').PropType<string>;
100
97
  };
98
+ size: {
99
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
100
+ };
101
+ resize: {
102
+ type: import('vue').PropType<"horizontal" | "vertical" | "none" | "both">;
103
+ };
101
104
  modelValue: {
102
105
  type: import('vue').PropType<string | number | null>;
103
106
  default: "";
104
107
  };
105
- readonly: {
106
- type: import('vue').PropType<boolean>;
107
- };
108
- validateEvent: {
109
- type: import('vue').PropType<boolean>;
110
- default: true;
111
- };
112
108
  ariaLabel: {
113
109
  type: import('vue').PropType<string>;
114
110
  };
115
- inputmode: {
116
- type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal">;
117
- };
118
111
  autocomplete: {
119
112
  type: import('vue').PropType<string>;
120
113
  default: "off";
@@ -129,6 +122,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
129
122
  suffixIcon: {
130
123
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
131
124
  };
125
+ validateEvent: {
126
+ type: import('vue').PropType<boolean>;
127
+ default: true;
128
+ };
132
129
  tabindex: {
133
130
  type: import('vue').PropType<string | number>;
134
131
  default: 0;
@@ -140,6 +137,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
140
137
  autofocus: {
141
138
  type: import('vue').PropType<boolean>;
142
139
  };
140
+ readonly: {
141
+ type: import('vue').PropType<boolean>;
142
+ };
143
+ inputmode: {
144
+ type: import('vue').PropType<"none" | "search" | "url" | "text" | "email" | "tel" | "numeric" | "decimal">;
145
+ };
143
146
  modelModifiers: {
144
147
  type: import('vue').PropType<import('element-plus').InputModelModifiers>;
145
148
  default: () => {};
@@ -150,9 +153,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
150
153
  minlength: {
151
154
  type: import('vue').PropType<string | number>;
152
155
  };
153
- resize: {
154
- type: import('vue').PropType<"horizontal" | "vertical" | "none" | "both">;
155
- };
156
156
  autosize: {
157
157
  type: import('vue').PropType<import('element-plus').InputAutoSize>;
158
158
  };
@@ -282,29 +282,22 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
282
282
  placeholder: {
283
283
  type: import('vue').PropType<string>;
284
284
  };
285
- size: {
286
- type: import('vue').PropType<"" | "default" | "small" | "large">;
287
- };
288
285
  form: {
289
286
  type: import('vue').PropType<string>;
290
287
  };
288
+ size: {
289
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
290
+ };
291
+ resize: {
292
+ type: import('vue').PropType<"horizontal" | "vertical" | "none" | "both">;
293
+ };
291
294
  modelValue: {
292
295
  type: import('vue').PropType<string | number | null>;
293
296
  default: "";
294
297
  };
295
- readonly: {
296
- type: import('vue').PropType<boolean>;
297
- };
298
- validateEvent: {
299
- type: import('vue').PropType<boolean>;
300
- default: true;
301
- };
302
298
  ariaLabel: {
303
299
  type: import('vue').PropType<string>;
304
300
  };
305
- inputmode: {
306
- type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal">;
307
- };
308
301
  autocomplete: {
309
302
  type: import('vue').PropType<string>;
310
303
  default: "off";
@@ -319,6 +312,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
319
312
  suffixIcon: {
320
313
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
321
314
  };
315
+ validateEvent: {
316
+ type: import('vue').PropType<boolean>;
317
+ default: true;
318
+ };
322
319
  tabindex: {
323
320
  type: import('vue').PropType<string | number>;
324
321
  default: 0;
@@ -330,6 +327,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
330
327
  autofocus: {
331
328
  type: import('vue').PropType<boolean>;
332
329
  };
330
+ readonly: {
331
+ type: import('vue').PropType<boolean>;
332
+ };
333
+ inputmode: {
334
+ type: import('vue').PropType<"none" | "search" | "url" | "text" | "email" | "tel" | "numeric" | "decimal">;
335
+ };
333
336
  modelModifiers: {
334
337
  type: import('vue').PropType<import('element-plus').InputModelModifiers>;
335
338
  default: () => {};
@@ -340,9 +343,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
340
343
  minlength: {
341
344
  type: import('vue').PropType<string | number>;
342
345
  };
343
- resize: {
344
- type: import('vue').PropType<"horizontal" | "vertical" | "none" | "both">;
345
- };
346
346
  autosize: {
347
347
  type: import('vue').PropType<import('element-plus').InputAutoSize>;
348
348
  };
@@ -385,7 +385,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
385
385
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
386
386
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
387
387
  onClear?: (() => any) | undefined;
388
- }, "disabled" | "type" | "blur" | "focus" | "clear" | "input" | "select" | "textarea" | "ref" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "tabindex" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
388
+ }, "disabled" | "type" | "blur" | "focus" | "clear" | "input" | "select" | "textarea" | "modelValue" | "autocomplete" | "clearIcon" | "validateEvent" | "tabindex" | "inputStyle" | "ref" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
389
389
  input: import('vue').ShallowRef<HTMLInputElement | undefined>;
390
390
  textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
391
391
  ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
@@ -1,2 +1,4 @@
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>;
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
+ canvasRef: HTMLCanvasElement;
3
+ }, HTMLCanvasElement>;
2
4
  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;
@@ -25,7 +25,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
25
25
  actions: EditorActions;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
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, {
28
+ drawingBoardRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
29
+ canvasRef: HTMLCanvasElement;
30
+ }, HTMLCanvasElement, import('vue').ComponentProvideOptions, {
29
31
  P: {};
30
32
  B: {};
31
33
  D: {};
@@ -1,3 +1,5 @@
1
1
  import { default as LingshuSmartEditor } from './editor/index.vue';
2
2
  import { default as LingshuSmartPreview } from './preview/index.vue';
3
- export { LingshuSmartEditor, LingshuSmartPreview };
3
+ import { default as PerformanceStats } from './debug/PerformanceStats.vue';
4
+ import { default as ScriptRunner } from './debug/ScriptRunner/index.vue';
5
+ export { LingshuSmartEditor, LingshuSmartPreview, PerformanceStats, ScriptRunner };