@vtj/designer 0.13.14 → 0.13.15

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.
@@ -1,5 +1,5 @@
1
1
  import { Ref, ShallowRef, App } from 'vue';
2
- import { Dependencie, Material, ApiSchema, MetaSchema, ProjectConfig, UniConfig, EnhanceConfig, GlobalConfig, Base } from '@vtj/core';
2
+ import { Dependencie, Material, ApiSchema, MetaSchema, ProjectConfig, UniConfig, EnhanceConfig, GlobalConfig, I18nConfig, Base } from '@vtj/core';
3
3
  import { Provider } from '@vtj/renderer';
4
4
  import { Renderer } from './renderer';
5
5
  import { Designer } from './designer';
@@ -42,7 +42,7 @@ export declare class Simulator extends Base {
42
42
  devtools: DevTools;
43
43
  enhance?: EnhanceConfig;
44
44
  constructor(options: SimulatorOptions);
45
- init(iframe: Ref<HTMLIFrameElement | undefined>, deps: Ref<Dependencie[]>, apis: Ref<ApiSchema[]>, meta: Ref<MetaSchema[]>, config: Ref<ProjectConfig>, uniConfig: Ref<UniConfig>, global: Ref<GlobalConfig>): void;
45
+ init(iframe: Ref<HTMLIFrameElement | undefined>, deps: Ref<Dependencie[]>, apis: Ref<ApiSchema[]>, meta: Ref<MetaSchema[]>, config: Ref<ProjectConfig>, uniConfig: Ref<UniConfig>, global: Ref<GlobalConfig>, i18n: Ref<I18nConfig>): void;
46
46
  private createGlobalCss;
47
47
  private initUniFeatures;
48
48
  private setup;
@@ -30,9 +30,14 @@ export interface EngineState {
30
30
  * 显示引导
31
31
  */
32
32
  tour: boolean;
33
+ /**
34
+ * 暗黑模式
35
+ */
36
+ dark: boolean;
33
37
  }
34
38
  export declare class State {
35
39
  private __state;
40
+ private __isDark;
36
41
  constructor();
37
42
  private save;
38
43
  get outlineEnabled(): any;
@@ -47,6 +52,8 @@ export declare class State {
47
52
  set LLMs(value: LLM[]);
48
53
  get tour(): boolean;
49
54
  set tour(value: boolean);
55
+ get dark(): boolean;
56
+ set dark(v: boolean);
50
57
  saveLLM(item: LLM): void;
51
58
  removeLLM(item: LLM): void;
52
59
  getLLMById(id: string): {
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.13.13
5
+ * @version 0.13.14
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.13.13";
8
+ export declare const version = "0.13.14";
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-PNSVcEAY.js";
2
- export {
3
- f as default
4
- };