@tmagic/editor 1.7.0-beta.4 → 1.7.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/types/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Component, ComputedRef, Ref, ShallowRef, App } from 'vue';
2
- import { DesignPluginOptions } from '@tmagic/design';
2
+ import { ButtonProps, DesignPluginOptions } from '@tmagic/design';
3
3
  export * from '@tmagic/design';
4
4
  export { default as designPlugin } from '@tmagic/design';
5
5
  import { TableColumnConfig, FormConfig, ChangeRecord as ChangeRecord$1, TabPaneConfig, CascaderOption, FormState, FieldProps, CodeSelectConfig, ContainerChangeEventData as ContainerChangeEventData$1, CodeSelectColConfig, DataSourceFieldsConfig, DataSourceMocksConfig, DataSourceMethodsConfig, DataSourceInputConfig, DataSourceSelect, DataSourceMethodSelectConfig, DataSourceFieldSelectConfig, EventSelectConfig, KeyValueConfig, FormValue, PageFragmentSelectConfig, DisplayCondsConfig, CondOpSelectConfig, FormInstallOptions } from '@tmagic/form';
@@ -216,7 +216,7 @@ declare class CodeBlock extends export_default {
216
216
  usePlugin(options: AsyncHookPlugin<AsyncMethodName$4, CodeBlock>): void;
217
217
  }
218
218
  type CodeBlockService = CodeBlock;
219
- declare const _default$H: CodeBlock;
219
+ declare const _default$I: CodeBlock;
220
220
 
221
221
  declare class ComponentList extends export_default {
222
222
  private state;
@@ -292,7 +292,7 @@ declare class DataSource extends export_default {
292
292
  paste(): void;
293
293
  }
294
294
  type DataSourceService = DataSource;
295
- declare const _default$G: DataSource;
295
+ declare const _default$H: DataSource;
296
296
 
297
297
  interface DepEvents {
298
298
  'add-target': [target: Target];
@@ -339,7 +339,7 @@ declare class Dep extends export_default {
339
339
  private enqueueTask;
340
340
  }
341
341
  type DepService = Dep;
342
- declare const _default$F: Dep;
342
+ declare const _default$G: Dep;
343
343
 
344
344
  interface EditorEvents {
345
345
  'root-change': [value: StoreState['root'], preValue?: StoreState['root']];
@@ -526,7 +526,7 @@ declare class Editor extends export_default {
526
526
  private selectedConfigExceptionHandler;
527
527
  }
528
528
  type EditorService = Editor;
529
- declare const _default$E: Editor;
529
+ declare const _default$F: Editor;
530
530
 
531
531
  declare const canUsePluginMethods$4: {
532
532
  async: readonly [];
@@ -547,7 +547,7 @@ declare class Events extends export_default {
547
547
  usePlugin(options: AsyncHookPlugin<AsyncMethodName$2, Events> & SyncHookPlugin<SyncMethodName$3, Events>): void;
548
548
  }
549
549
  type EventsService = Events;
550
- declare const _default$D: Events;
550
+ declare const _default$E: Events;
551
551
 
552
552
  declare class UndoRedo<T = any> {
553
553
  private elementList;
@@ -582,7 +582,7 @@ declare class History extends export_default {
582
582
  private setCanUndoRedo;
583
583
  }
584
584
  type HistoryService = History;
585
- declare const _default$C: History;
585
+ declare const _default$D: History;
586
586
 
587
587
  declare class Keybinding extends export_default {
588
588
  ctrlKey: string;
@@ -709,7 +709,7 @@ declare class Props extends export_default {
709
709
  private setRelateId;
710
710
  }
711
711
  type PropsService = Props;
712
- declare const _default$B: Props;
712
+ declare const _default$C: Props;
713
713
 
714
714
  declare const canUsePluginMethods$2: {
715
715
  async: never[];
@@ -735,7 +735,7 @@ declare class StageOverlay extends export_default {
735
735
  private updateSelectStatus;
736
736
  }
737
737
  type StageOverlayService = StageOverlay;
738
- declare const _default$A: StageOverlay;
738
+ declare const _default$B: StageOverlay;
739
739
 
740
740
  interface Options {
741
741
  namespace?: string;
@@ -797,7 +797,7 @@ declare class WebStorage extends export_default {
797
797
  private getValueAndProtocol;
798
798
  }
799
799
  type StorageService = WebStorage;
800
- declare const _default$z: WebStorage;
800
+ declare const _default$A: WebStorage;
801
801
 
802
802
  declare const canUsePluginMethods: {
803
803
  async: readonly ["zoom", "calcZoom"];
@@ -816,7 +816,7 @@ declare class Ui extends export_default {
816
816
  private setStageRect;
817
817
  }
818
818
  type UiService = Ui;
819
- declare const _default$y: Ui;
819
+ declare const _default$z: Ui;
820
820
 
821
821
  type EditorSlots = FrameworkSlots & WorkspaceSlots & SidebarSlots & PropsPanelSlots & {
822
822
  workspace(props: {
@@ -2458,8 +2458,8 @@ declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Servi
2458
2458
  containerHighlightType: StageCore.ContainerHighlightType;
2459
2459
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
2460
2460
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2461
- declare const __VLS_export$w: __VLS_WithSlots$c<typeof __VLS_base$c, __VLS_Slots$c>;
2462
- declare const _default$x: typeof __VLS_export$w;
2461
+ declare const __VLS_export$x: __VLS_WithSlots$c<typeof __VLS_base$c, __VLS_Slots$c>;
2462
+ declare const _default$y: typeof __VLS_export$x;
2463
2463
 
2464
2464
  type __VLS_WithSlots$c<T, S> = T & {
2465
2465
  new (): {
@@ -2467,7 +2467,7 @@ type __VLS_WithSlots$c<T, S> = T & {
2467
2467
  };
2468
2468
  };
2469
2469
 
2470
- type __VLS_Props$t = {
2470
+ type __VLS_Props$u = {
2471
2471
  initValues?: any;
2472
2472
  modifiedValues?: any;
2473
2473
  type?: 'diff';
@@ -2477,8 +2477,12 @@ type __VLS_Props$t = {
2477
2477
  autoSave?: boolean;
2478
2478
  parse?: boolean;
2479
2479
  disabledFullScreen?: boolean;
2480
+ autosize?: {
2481
+ minRows?: number;
2482
+ maxRows?: number;
2483
+ };
2480
2484
  };
2481
- declare const __VLS_export$v: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
2485
+ declare const __VLS_export$w: _vue_runtime_core.DefineComponent<__VLS_Props$u, {
2482
2486
  values: _vue_reactivity.Ref<string, string>;
2483
2487
  getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
2484
2488
  getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
@@ -2489,7 +2493,7 @@ declare const __VLS_export$v: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
2489
2493
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2490
2494
  save: (...args: any[]) => void;
2491
2495
  initd: (...args: any[]) => void;
2492
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
2496
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$u> & Readonly<{
2493
2497
  onSave?: ((...args: any[]) => any) | undefined;
2494
2498
  onInitd?: ((...args: any[]) => any) | undefined;
2495
2499
  }>, {
@@ -2500,12 +2504,12 @@ declare const __VLS_export$v: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
2500
2504
  autoSave: boolean;
2501
2505
  disabledFullScreen: boolean;
2502
2506
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2503
- declare const _default$w: typeof __VLS_export$v;
2507
+ declare const _default$x: typeof __VLS_export$w;
2504
2508
 
2505
2509
  type __VLS_Slots$b = ComponentListPanelSlots;
2506
2510
  declare const __VLS_base$b: _vue_runtime_core.DefineComponent<{}, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
2507
- declare const __VLS_export$u: __VLS_WithSlots$b<typeof __VLS_base$b, __VLS_Slots$b>;
2508
- declare const _default$v: typeof __VLS_export$u;
2511
+ declare const __VLS_export$v: __VLS_WithSlots$b<typeof __VLS_base$b, __VLS_Slots$b>;
2512
+ declare const _default$w: typeof __VLS_export$v;
2509
2513
 
2510
2514
  type __VLS_WithSlots$b<T, S> = T & {
2511
2515
  new (): {
@@ -2514,15 +2518,15 @@ type __VLS_WithSlots$b<T, S> = T & {
2514
2518
  };
2515
2519
 
2516
2520
  type __VLS_Slots$a = LayerPanelSlots;
2517
- type __VLS_Props$s = {
2521
+ type __VLS_Props$t = {
2518
2522
  layerContentMenu: (MenuButton | MenuComponent)[];
2519
2523
  indent?: number;
2520
2524
  nextLevelIndentIncrement?: number;
2521
2525
  customContentMenu: CustomContentMenuFunction;
2522
2526
  };
2523
- declare const __VLS_base$a: _vue_runtime_core.DefineComponent<__VLS_Props$s, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$s> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2524
- declare const __VLS_export$t: __VLS_WithSlots$a<typeof __VLS_base$a, __VLS_Slots$a>;
2525
- declare const _default$u: typeof __VLS_export$t;
2527
+ declare const __VLS_base$a: _vue_runtime_core.DefineComponent<__VLS_Props$t, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$t> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2528
+ declare const __VLS_export$u: __VLS_WithSlots$a<typeof __VLS_base$a, __VLS_Slots$a>;
2529
+ declare const _default$v: typeof __VLS_export$u;
2526
2530
 
2527
2531
  type __VLS_WithSlots$a<T, S> = T & {
2528
2532
  new (): {
@@ -2530,32 +2534,32 @@ type __VLS_WithSlots$a<T, S> = T & {
2530
2534
  };
2531
2535
  };
2532
2536
 
2533
- type __VLS_Props$r = FieldProps<CodeSelectConfig>;
2534
- declare const __VLS_export$s: _vue_runtime_core.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2537
+ type __VLS_Props$s = FieldProps<CodeSelectConfig>;
2538
+ declare const __VLS_export$t: _vue_runtime_core.DefineComponent<__VLS_Props$s, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2535
2539
  change: (v: any, eventData: ContainerChangeEventData$1) => any;
2536
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
2540
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$s> & Readonly<{
2537
2541
  onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
2538
2542
  }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2539
- declare const _default$t: typeof __VLS_export$s;
2543
+ declare const _default$u: typeof __VLS_export$t;
2540
2544
 
2541
- type __VLS_Props$q = FieldProps<CodeSelectColConfig>;
2542
- declare const __VLS_export$r: _vue_runtime_core.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2545
+ type __VLS_Props$r = FieldProps<CodeSelectColConfig>;
2546
+ declare const __VLS_export$s: _vue_runtime_core.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2543
2547
  change: (v: any, eventData: ContainerChangeEventData$1) => any;
2544
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
2548
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
2545
2549
  onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
2546
2550
  }>, {
2547
2551
  disabled: boolean;
2548
2552
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2549
- declare const _default$s: typeof __VLS_export$r;
2553
+ declare const _default$t: typeof __VLS_export$s;
2550
2554
 
2551
- type __VLS_Props$p = FieldProps<DataSourceFieldsConfig>;
2555
+ type __VLS_Props$q = FieldProps<DataSourceFieldsConfig>;
2552
2556
  type __VLS_ModelProps$4 = {
2553
2557
  'width'?: number;
2554
2558
  'visible'?: boolean;
2555
2559
  'visible1'?: boolean;
2556
2560
  };
2557
- type __VLS_PublicProps$4 = __VLS_Props$p & __VLS_ModelProps$4;
2558
- declare const __VLS_export$q: _vue_runtime_core.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2561
+ type __VLS_PublicProps$4 = __VLS_Props$q & __VLS_ModelProps$4;
2562
+ declare const __VLS_export$r: _vue_runtime_core.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2559
2563
  change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
2560
2564
  "update:width": (value: number) => any;
2561
2565
  "update:visible": (value: boolean) => any;
@@ -2568,15 +2572,15 @@ declare const __VLS_export$q: _vue_runtime_core.DefineComponent<__VLS_PublicProp
2568
2572
  }>, {
2569
2573
  disabled: boolean;
2570
2574
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2571
- declare const _default$r: typeof __VLS_export$q;
2575
+ declare const _default$s: typeof __VLS_export$r;
2572
2576
 
2573
- type __VLS_Props$o = FieldProps<DataSourceMocksConfig>;
2577
+ type __VLS_Props$p = FieldProps<DataSourceMocksConfig>;
2574
2578
  type __VLS_ModelProps$3 = {
2575
2579
  'width'?: number;
2576
2580
  'visible'?: boolean;
2577
2581
  };
2578
- type __VLS_PublicProps$3 = __VLS_Props$o & __VLS_ModelProps$3;
2579
- declare const __VLS_export$p: _vue_runtime_core.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2582
+ type __VLS_PublicProps$3 = __VLS_Props$p & __VLS_ModelProps$3;
2583
+ declare const __VLS_export$q: _vue_runtime_core.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2580
2584
  change: (...args: any[]) => void;
2581
2585
  "update:width": (value: number) => void;
2582
2586
  "update:visible": (value: boolean) => void;
@@ -2587,29 +2591,39 @@ declare const __VLS_export$p: _vue_runtime_core.DefineComponent<__VLS_PublicProp
2587
2591
  }>, {
2588
2592
  disabled: boolean;
2589
2593
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2594
+ declare const _default$r: typeof __VLS_export$q;
2595
+
2596
+ type __VLS_Props$o = FieldProps<DataSourceMethodsConfig>;
2597
+ declare const __VLS_export$p: _vue_runtime_core.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2598
+ change: (...args: any[]) => void;
2599
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
2600
+ onChange?: ((...args: any[]) => any) | undefined;
2601
+ }>, {
2602
+ disabled: boolean;
2603
+ }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2590
2604
  declare const _default$q: typeof __VLS_export$p;
2591
2605
 
2592
- type __VLS_Props$n = FieldProps<DataSourceMethodsConfig>;
2606
+ type __VLS_Props$n = FieldProps<DataSourceInputConfig>;
2593
2607
  declare const __VLS_export$o: _vue_runtime_core.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2594
- change: (...args: any[]) => void;
2608
+ change: (value: string) => any;
2595
2609
  }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
2596
- onChange?: ((...args: any[]) => any) | undefined;
2610
+ onChange?: ((value: string) => any) | undefined;
2597
2611
  }>, {
2598
2612
  disabled: boolean;
2599
2613
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2600
2614
  declare const _default$p: typeof __VLS_export$o;
2601
2615
 
2602
- type __VLS_Props$m = FieldProps<DataSourceInputConfig>;
2616
+ type __VLS_Props$m = FieldProps<DataSourceSelect>;
2603
2617
  declare const __VLS_export$n: _vue_runtime_core.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2604
- change: (value: string) => any;
2618
+ change: (...args: any[]) => void;
2605
2619
  }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
2606
- onChange?: ((value: string) => any) | undefined;
2620
+ onChange?: ((...args: any[]) => any) | undefined;
2607
2621
  }>, {
2608
2622
  disabled: boolean;
2609
2623
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2610
2624
  declare const _default$o: typeof __VLS_export$n;
2611
2625
 
2612
- type __VLS_Props$l = FieldProps<DataSourceSelect>;
2626
+ type __VLS_Props$l = FieldProps<DataSourceMethodSelectConfig>;
2613
2627
  declare const __VLS_export$m: _vue_runtime_core.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2614
2628
  change: (...args: any[]) => void;
2615
2629
  }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
@@ -2619,7 +2633,7 @@ declare const __VLS_export$m: _vue_runtime_core.DefineComponent<__VLS_Props$l, {
2619
2633
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2620
2634
  declare const _default$n: typeof __VLS_export$m;
2621
2635
 
2622
- type __VLS_Props$k = FieldProps<DataSourceMethodSelectConfig>;
2636
+ type __VLS_Props$k = FieldProps<DataSourceFieldSelectConfig>;
2623
2637
  declare const __VLS_export$l: _vue_runtime_core.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2624
2638
  change: (...args: any[]) => void;
2625
2639
  }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
@@ -2629,41 +2643,31 @@ declare const __VLS_export$l: _vue_runtime_core.DefineComponent<__VLS_Props$k, {
2629
2643
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2630
2644
  declare const _default$m: typeof __VLS_export$l;
2631
2645
 
2632
- type __VLS_Props$j = FieldProps<DataSourceFieldSelectConfig>;
2646
+ type __VLS_Props$j = FieldProps<EventSelectConfig>;
2633
2647
  declare const __VLS_export$k: _vue_runtime_core.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2634
- change: (...args: any[]) => void;
2635
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
2636
- onChange?: ((...args: any[]) => any) | undefined;
2637
- }>, {
2638
- disabled: boolean;
2639
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2640
- declare const _default$l: typeof __VLS_export$k;
2641
-
2642
- type __VLS_Props$i = FieldProps<EventSelectConfig>;
2643
- declare const __VLS_export$j: _vue_runtime_core.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2644
2648
  change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
2645
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
2649
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
2646
2650
  onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
2647
2651
  }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2648
- declare const _default$k: typeof __VLS_export$j;
2652
+ declare const _default$l: typeof __VLS_export$k;
2649
2653
 
2650
- type __VLS_Props$h = FieldProps<KeyValueConfig>;
2651
- declare const __VLS_export$i: _vue_runtime_core.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2654
+ type __VLS_Props$i = FieldProps<KeyValueConfig>;
2655
+ declare const __VLS_export$j: _vue_runtime_core.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2652
2656
  change: (value: Record<string, any>) => any;
2653
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
2657
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
2654
2658
  onChange?: ((value: Record<string, any>) => any) | undefined;
2655
2659
  }>, {
2656
2660
  disabled: boolean;
2657
2661
  }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2658
- declare const _default$j: typeof __VLS_export$i;
2662
+ declare const _default$k: typeof __VLS_export$j;
2659
2663
 
2660
2664
  type __VLS_Slots$9 = CodeBlockListSlots;
2661
- type __VLS_Props$g = {
2665
+ type __VLS_Props$h = {
2662
2666
  indent?: number;
2663
2667
  nextLevelIndentIncrement?: number;
2664
2668
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
2665
2669
  };
2666
- declare const __VLS_base$9: _vue_runtime_core.DefineComponent<__VLS_Props$g, {
2670
+ declare const __VLS_base$9: _vue_runtime_core.DefineComponent<__VLS_Props$h, {
2667
2671
  nodeStatusMap: _vue_reactivity.Ref<Map<Id, {
2668
2672
  visible: boolean;
2669
2673
  expand: boolean;
@@ -2681,13 +2685,13 @@ declare const __VLS_base$9: _vue_runtime_core.DefineComponent<__VLS_Props$g, {
2681
2685
  remove: (id: string) => any;
2682
2686
  edit: (id: string) => any;
2683
2687
  "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
2684
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
2688
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
2685
2689
  onRemove?: ((id: string) => any) | undefined;
2686
2690
  onEdit?: ((id: string) => any) | undefined;
2687
2691
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
2688
2692
  }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2689
- declare const __VLS_export$h: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
2690
- declare const _default$i: typeof __VLS_export$h;
2693
+ declare const __VLS_export$i: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
2694
+ declare const _default$j: typeof __VLS_export$i;
2691
2695
 
2692
2696
  type __VLS_WithSlots$9<T, S> = T & {
2693
2697
  new (): {
@@ -2696,15 +2700,15 @@ type __VLS_WithSlots$9<T, S> = T & {
2696
2700
  };
2697
2701
 
2698
2702
  type __VLS_Slots$8 = CodeBlockListPanelSlots;
2699
- type __VLS_Props$f = {
2703
+ type __VLS_Props$g = {
2700
2704
  indent?: number;
2701
2705
  nextLevelIndentIncrement?: number;
2702
2706
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
2703
2707
  customContentMenu: CustomContentMenuFunction;
2704
2708
  };
2705
- declare const __VLS_base$8: _vue_runtime_core.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2706
- declare const __VLS_export$g: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
2707
- declare const _default$h: typeof __VLS_export$g;
2709
+ declare const __VLS_base$8: _vue_runtime_core.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$g> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2710
+ declare const __VLS_export$h: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
2711
+ declare const _default$i: typeof __VLS_export$h;
2708
2712
 
2709
2713
  type __VLS_WithSlots$8<T, S> = T & {
2710
2714
  new (): {
@@ -2712,7 +2716,7 @@ type __VLS_WithSlots$8<T, S> = T & {
2712
2716
  };
2713
2717
  };
2714
2718
 
2715
- type __VLS_Props$e = {
2719
+ type __VLS_Props$f = {
2716
2720
  title?: string;
2717
2721
  values: any;
2718
2722
  disabled: boolean;
@@ -2721,8 +2725,8 @@ type __VLS_ModelProps$2 = {
2721
2725
  'visible'?: boolean;
2722
2726
  'width'?: number;
2723
2727
  };
2724
- type __VLS_PublicProps$2 = __VLS_Props$e & __VLS_ModelProps$2;
2725
- declare const __VLS_export$f: _vue_runtime_core.DefineComponent<__VLS_PublicProps$2, {
2728
+ type __VLS_PublicProps$2 = __VLS_Props$f & __VLS_ModelProps$2;
2729
+ declare const __VLS_export$g: _vue_runtime_core.DefineComponent<__VLS_PublicProps$2, {
2726
2730
  show(): void;
2727
2731
  hide(): void;
2728
2732
  }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
@@ -2738,6 +2742,21 @@ declare const __VLS_export$f: _vue_runtime_core.DefineComponent<__VLS_PublicProp
2738
2742
  "onUpdate:width"?: ((value: number) => any) | undefined;
2739
2743
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2740
2744
  }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2745
+ declare const _default$h: typeof __VLS_export$g;
2746
+
2747
+ type __VLS_Props$e = {
2748
+ datasourceTypeList: {
2749
+ text: string;
2750
+ type: string;
2751
+ }[];
2752
+ addButtonConfig?: ButtonProps;
2753
+ addButtonText?: string;
2754
+ };
2755
+ declare const __VLS_export$f: _vue_runtime_core.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
2756
+ add: (type: string) => any;
2757
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$e> & Readonly<{
2758
+ onAdd?: ((type: string) => any) | undefined;
2759
+ }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
2741
2760
  declare const _default$g: typeof __VLS_export$f;
2742
2761
 
2743
2762
  type __VLS_Slots$7 = PropsPanelSlots;
@@ -3863,5 +3882,5 @@ declare const _default: {
3863
3882
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
3864
3883
  };
3865
3884
 
3866
- export { CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$8 as CodeBlockEditor, _default$i as CodeBlockList, _default$h as CodeBlockListPanel, CodeDeleteErrorType, _default$t as CodeSelect, _default$s as CodeSelectCol, ColumnLayout, _default$v as ComponentListPanel, _default$2 as CondOpSelect, _default$c as ContentMenu, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$g as DataSourceConfigPanel, _default$l as DataSourceFieldSelect, _default$r as DataSourceFields, _default$o as DataSourceInput, _default$m as DataSourceMethodSelect, _default$p as DataSourceMethods, _default$q as DataSourceMocks, _default$n as DataSourceSelect, _default$3 as DisplayConds, DragType, _default$k as EventSelect, Fixed2Other, _default$7 as FloatingBox, H_GUIDE_LINE_STORAGE_KEY, _default$b as Icon, IdleTask, KeyBindingCommand, _default$j as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerOffset, _default$u as LayerPanel, Layout, _default$a as LayoutContainer, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, PROPS_PANEL_WIDTH_STORAGE_KEY, _default$4 as PageFragmentSelect, _default$e as PropsFormPanel, _default$f as PropsPanel, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$9 as Resizer, ScrollViewer, SideItemKey, _default$a as SplitView, _default$1 as StyleSetter, _default$w as TMagicCodeEditor, _default$x as TMagicEditor, _default$d as ToolButton, _default$6 as Tree, _default$5 as TreeNode, UI_SELECT_MODE_EVENT_NAME, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$H as codeBlockService, _default$G as dataSourceService, debug, _default as default, _default$F as depService, displayTabConfig, _default$E as editorService, eqOptions, error, eventTabConfig, _default$D as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$C as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$B as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$A as stageOverlayService, _default$z as storageService, styleTabConfig, _default$y as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
3885
+ export { CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$8 as CodeBlockEditor, _default$j as CodeBlockList, _default$i as CodeBlockListPanel, CodeDeleteErrorType, _default$u as CodeSelect, _default$t as CodeSelectCol, ColumnLayout, _default$w as ComponentListPanel, _default$2 as CondOpSelect, _default$c as ContentMenu, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$g as DataSourceAddButton, _default$h as DataSourceConfigPanel, _default$m as DataSourceFieldSelect, _default$s as DataSourceFields, _default$p as DataSourceInput, _default$n as DataSourceMethodSelect, _default$q as DataSourceMethods, _default$r as DataSourceMocks, _default$o as DataSourceSelect, _default$3 as DisplayConds, DragType, _default$l as EventSelect, Fixed2Other, _default$7 as FloatingBox, H_GUIDE_LINE_STORAGE_KEY, _default$b as Icon, IdleTask, KeyBindingCommand, _default$k as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerOffset, _default$v as LayerPanel, Layout, _default$a as LayoutContainer, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, PROPS_PANEL_WIDTH_STORAGE_KEY, _default$4 as PageFragmentSelect, _default$e as PropsFormPanel, _default$f as PropsPanel, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$9 as Resizer, ScrollViewer, SideItemKey, _default$a as SplitView, _default$1 as StyleSetter, _default$x as TMagicCodeEditor, _default$y as TMagicEditor, _default$d as ToolButton, _default$6 as Tree, _default$5 as TreeNode, UI_SELECT_MODE_EVENT_NAME, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$I as codeBlockService, _default$H as dataSourceService, debug, _default as default, _default$G as depService, displayTabConfig, _default$F as editorService, eqOptions, error, eventTabConfig, _default$E as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$D as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$C as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$B as stageOverlayService, _default$A as storageService, styleTabConfig, _default$z as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
3867
3886
  export type { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, BeforeAdd, CodeBlockListPanelSlots, CodeBlockListSlots, CodeDslItem, CodeParamStatement, CodeRelation, CodeState, CombineInfo, ComponentGroup, ComponentGroupState, ComponentItem, ComponentListPanelSlots, CustomContentMenuFunction, DataSourceListSlots, DatasourceTypeOption, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, FrameworkSlots, GetColumnWidth, GetConfig, HistoryState, IdleTaskEvents, KeyBindingCacheItem, KeyBindingItem, LayerNodeSlots, LayerNodeStatus, LayerPanelSlots, ListState, MenuBarData, MenuButton, MenuComponent, MenuItem, PageBarSortOptions, PartSortableOptions, PastePosition, PropsFormConfigFunction, PropsFormValueFunction, PropsPanelSlots, PropsState, ScrollViewerEvent, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SidebarSlots, StageOptions, StageOverlayState, StageRect, StepValue, StoreState, StoreStateKey, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, TreeNodeData, UiState, WorkspaceSlots };