@tmagic/editor 1.6.0-beta.6 → 1.6.1
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/style.css +37 -7
- package/dist/tmagic-editor.js +707 -600
- package/dist/tmagic-editor.umd.cjs +706 -599
- package/package.json +9 -9
- package/src/fields/DataSourceFieldSelect/Index.vue +0 -1
- package/src/fields/StyleSetter/Index.vue +15 -10
- package/src/fields/StyleSetter/components/BackgroundPosition.vue +9 -1
- package/src/fields/StyleSetter/components/Border.vue +3 -2
- package/src/fields/StyleSetter/components/Box.vue +4 -1
- package/src/fields/StyleSetter/components/Position.vue +4 -1
- package/src/fields/StyleSetter/pro/Background.vue +6 -2
- package/src/fields/StyleSetter/pro/Border.vue +7 -3
- package/src/fields/StyleSetter/pro/Font.vue +6 -2
- package/src/fields/StyleSetter/pro/Layout.vue +10 -2
- package/src/fields/StyleSetter/pro/Position.vue +6 -2
- package/src/layouts/page-bar/PageList.vue +15 -13
- package/src/theme/component-list-panel.scss +11 -0
- package/src/theme/data-source-field-select.scss +4 -0
- package/src/theme/page-bar.scss +5 -0
- package/src/theme/props-panel.scss +0 -5
- package/src/theme/style-setter/index.scss +16 -3
- package/src/utils/props.ts +19 -3
- package/types/index.d.ts +89 -64
package/types/index.d.ts
CHANGED
|
@@ -1804,20 +1804,7 @@ interface EditorProps {
|
|
|
1804
1804
|
}
|
|
1805
1805
|
|
|
1806
1806
|
type __VLS_Slots$c = EditorSlots;
|
|
1807
|
-
declare const
|
|
1808
|
-
editorService: EditorService;
|
|
1809
|
-
historyService: HistoryService;
|
|
1810
|
-
storageService: StorageService;
|
|
1811
|
-
eventsService: EventsService;
|
|
1812
|
-
propsService: PropsService;
|
|
1813
|
-
componentListService: ComponentListService;
|
|
1814
|
-
uiService: UiService;
|
|
1815
|
-
codeBlockService: CodeBlockService;
|
|
1816
|
-
depService: DepService;
|
|
1817
|
-
dataSourceService: DataSourceService;
|
|
1818
|
-
keybindingService: KeybindingService;
|
|
1819
|
-
stageOverlayService: StageOverlayService;
|
|
1820
|
-
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1807
|
+
declare const __VLS_base$c: _vue_runtime_core.DefineComponent<EditorProps, Services, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1821
1808
|
"update:modelValue": (value: MApp | null) => any;
|
|
1822
1809
|
"props-panel-mounted": (instance: {
|
|
1823
1810
|
$: _vue_runtime_core.ComponentInternalInstance;
|
|
@@ -2462,7 +2449,8 @@ declare const __VLS_component$c: _vue_runtime_core.DefineComponent<EditorProps,
|
|
|
2462
2449
|
containerHighlightType: StageCore.ContainerHighlightType;
|
|
2463
2450
|
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
2464
2451
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2465
|
-
declare const
|
|
2452
|
+
declare const __VLS_export$w: __VLS_WithSlots$c<typeof __VLS_base$c, __VLS_Slots$c>;
|
|
2453
|
+
declare const _default$x: typeof __VLS_export$w;
|
|
2466
2454
|
|
|
2467
2455
|
type __VLS_WithSlots$c<T, S> = T & {
|
|
2468
2456
|
new (): {
|
|
@@ -2481,7 +2469,7 @@ type __VLS_Props$t = {
|
|
|
2481
2469
|
parse?: boolean;
|
|
2482
2470
|
disabledFullScreen?: boolean;
|
|
2483
2471
|
};
|
|
2484
|
-
declare const
|
|
2472
|
+
declare const __VLS_export$v: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
|
|
2485
2473
|
values: _vue_reactivity.Ref<string, string>;
|
|
2486
2474
|
getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
|
|
2487
2475
|
getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
|
|
@@ -2503,10 +2491,12 @@ declare const _default$w: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
|
|
|
2503
2491
|
autoSave: boolean;
|
|
2504
2492
|
disabledFullScreen: boolean;
|
|
2505
2493
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2494
|
+
declare const _default$w: typeof __VLS_export$v;
|
|
2506
2495
|
|
|
2507
2496
|
type __VLS_Slots$b = ComponentListPanelSlots;
|
|
2508
|
-
declare const
|
|
2509
|
-
declare const
|
|
2497
|
+
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>;
|
|
2498
|
+
declare const __VLS_export$u: __VLS_WithSlots$b<typeof __VLS_base$b, __VLS_Slots$b>;
|
|
2499
|
+
declare const _default$v: typeof __VLS_export$u;
|
|
2510
2500
|
|
|
2511
2501
|
type __VLS_WithSlots$b<T, S> = T & {
|
|
2512
2502
|
new (): {
|
|
@@ -2521,8 +2511,9 @@ type __VLS_Props$s = {
|
|
|
2521
2511
|
nextLevelIndentIncrement?: number;
|
|
2522
2512
|
customContentMenu: CustomContentMenuFunction;
|
|
2523
2513
|
};
|
|
2524
|
-
declare const
|
|
2525
|
-
declare const
|
|
2514
|
+
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>;
|
|
2515
|
+
declare const __VLS_export$t: __VLS_WithSlots$a<typeof __VLS_base$a, __VLS_Slots$a>;
|
|
2516
|
+
declare const _default$u: typeof __VLS_export$t;
|
|
2526
2517
|
|
|
2527
2518
|
type __VLS_WithSlots$a<T, S> = T & {
|
|
2528
2519
|
new (): {
|
|
@@ -2531,28 +2522,31 @@ type __VLS_WithSlots$a<T, S> = T & {
|
|
|
2531
2522
|
};
|
|
2532
2523
|
|
|
2533
2524
|
type __VLS_Props$r = FieldProps<CodeSelectConfig>;
|
|
2534
|
-
declare const
|
|
2525
|
+
declare const __VLS_export$s: _vue_runtime_core.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2535
2526
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
2536
2527
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
|
|
2537
2528
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
2538
2529
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2530
|
+
declare const _default$t: typeof __VLS_export$s;
|
|
2539
2531
|
|
|
2540
2532
|
type __VLS_Props$q = FieldProps<CodeSelectColConfig>;
|
|
2541
|
-
declare const
|
|
2533
|
+
declare const __VLS_export$r: _vue_runtime_core.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2542
2534
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
2543
2535
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
2544
2536
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
2545
2537
|
}>, {
|
|
2546
2538
|
disabled: boolean;
|
|
2547
2539
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2540
|
+
declare const _default$s: typeof __VLS_export$r;
|
|
2548
2541
|
|
|
2549
2542
|
type __VLS_Props$p = FieldProps<DataSourceFieldsConfig>;
|
|
2550
|
-
type
|
|
2543
|
+
type __VLS_ModelProps$4 = {
|
|
2551
2544
|
'width'?: number;
|
|
2552
2545
|
'visible'?: boolean;
|
|
2553
2546
|
'visible1'?: boolean;
|
|
2554
2547
|
};
|
|
2555
|
-
|
|
2548
|
+
type __VLS_PublicProps$4 = __VLS_Props$p & __VLS_ModelProps$4;
|
|
2549
|
+
declare const __VLS_export$q: _vue_runtime_core.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2556
2550
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
2557
2551
|
"update:width": (value: number) => any;
|
|
2558
2552
|
"update:visible": (value: boolean) => any;
|
|
@@ -2565,13 +2559,15 @@ declare const _default$r: _vue_runtime_core.DefineComponent<__VLS_PublicProps$4,
|
|
|
2565
2559
|
}>, {
|
|
2566
2560
|
disabled: boolean;
|
|
2567
2561
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2562
|
+
declare const _default$r: typeof __VLS_export$q;
|
|
2568
2563
|
|
|
2569
2564
|
type __VLS_Props$o = FieldProps<DataSourceMocksConfig>;
|
|
2570
|
-
type
|
|
2565
|
+
type __VLS_ModelProps$3 = {
|
|
2571
2566
|
'width'?: number;
|
|
2572
2567
|
'visible'?: boolean;
|
|
2573
2568
|
};
|
|
2574
|
-
|
|
2569
|
+
type __VLS_PublicProps$3 = __VLS_Props$o & __VLS_ModelProps$3;
|
|
2570
|
+
declare const __VLS_export$p: _vue_runtime_core.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2575
2571
|
change: (...args: any[]) => void;
|
|
2576
2572
|
"update:width": (value: number) => void;
|
|
2577
2573
|
"update:visible": (value: boolean) => void;
|
|
@@ -2582,67 +2578,75 @@ declare const _default$q: _vue_runtime_core.DefineComponent<__VLS_PublicProps$3,
|
|
|
2582
2578
|
}>, {
|
|
2583
2579
|
disabled: boolean;
|
|
2584
2580
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2581
|
+
declare const _default$q: typeof __VLS_export$p;
|
|
2585
2582
|
|
|
2586
2583
|
type __VLS_Props$n = FieldProps<DataSourceMethodsConfig>;
|
|
2587
|
-
declare const
|
|
2584
|
+
declare const __VLS_export$o: _vue_runtime_core.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2588
2585
|
change: (...args: any[]) => void;
|
|
2589
2586
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
|
|
2590
2587
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2591
2588
|
}>, {
|
|
2592
2589
|
disabled: boolean;
|
|
2593
2590
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2591
|
+
declare const _default$p: typeof __VLS_export$o;
|
|
2594
2592
|
|
|
2595
2593
|
type __VLS_Props$m = FieldProps<DataSourceInputConfig>;
|
|
2596
|
-
declare const
|
|
2594
|
+
declare const __VLS_export$n: _vue_runtime_core.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2597
2595
|
change: (value: string) => any;
|
|
2598
2596
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
2599
2597
|
onChange?: ((value: string) => any) | undefined;
|
|
2600
2598
|
}>, {
|
|
2601
2599
|
disabled: boolean;
|
|
2602
2600
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2601
|
+
declare const _default$o: typeof __VLS_export$n;
|
|
2603
2602
|
|
|
2604
2603
|
type __VLS_Props$l = FieldProps<DataSourceSelect>;
|
|
2605
|
-
declare const
|
|
2604
|
+
declare const __VLS_export$m: _vue_runtime_core.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2606
2605
|
change: (...args: any[]) => void;
|
|
2607
2606
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
2608
2607
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2609
2608
|
}>, {
|
|
2610
2609
|
disabled: boolean;
|
|
2611
2610
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2611
|
+
declare const _default$n: typeof __VLS_export$m;
|
|
2612
2612
|
|
|
2613
2613
|
type __VLS_Props$k = FieldProps<DataSourceMethodSelectConfig>;
|
|
2614
|
-
declare const
|
|
2614
|
+
declare const __VLS_export$l: _vue_runtime_core.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2615
2615
|
change: (...args: any[]) => void;
|
|
2616
2616
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
2617
2617
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2618
2618
|
}>, {
|
|
2619
2619
|
disabled: boolean;
|
|
2620
2620
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2621
|
+
declare const _default$m: typeof __VLS_export$l;
|
|
2621
2622
|
|
|
2622
2623
|
type __VLS_Props$j = FieldProps<DataSourceFieldSelectConfig>;
|
|
2623
|
-
declare const
|
|
2624
|
+
declare const __VLS_export$k: _vue_runtime_core.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2624
2625
|
change: (...args: any[]) => void;
|
|
2625
2626
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
2626
2627
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2627
2628
|
}>, {
|
|
2628
2629
|
disabled: boolean;
|
|
2629
2630
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2631
|
+
declare const _default$l: typeof __VLS_export$k;
|
|
2630
2632
|
|
|
2631
2633
|
type __VLS_Props$i = FieldProps<EventSelectConfig>;
|
|
2632
|
-
declare const
|
|
2634
|
+
declare const __VLS_export$j: _vue_runtime_core.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2633
2635
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
2634
2636
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
2635
2637
|
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2636
2638
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2639
|
+
declare const _default$k: typeof __VLS_export$j;
|
|
2637
2640
|
|
|
2638
2641
|
type __VLS_Props$h = FieldProps<KeyValueConfig>;
|
|
2639
|
-
declare const
|
|
2642
|
+
declare const __VLS_export$i: _vue_runtime_core.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2640
2643
|
change: (value: Record<string, any>) => any;
|
|
2641
2644
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
2642
2645
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
2643
2646
|
}>, {
|
|
2644
2647
|
disabled: boolean;
|
|
2645
2648
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2649
|
+
declare const _default$j: typeof __VLS_export$i;
|
|
2646
2650
|
|
|
2647
2651
|
type __VLS_Slots$9 = CodeBlockListSlots;
|
|
2648
2652
|
type __VLS_Props$g = {
|
|
@@ -2650,7 +2654,7 @@ type __VLS_Props$g = {
|
|
|
2650
2654
|
nextLevelIndentIncrement?: number;
|
|
2651
2655
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
2652
2656
|
};
|
|
2653
|
-
declare const
|
|
2657
|
+
declare const __VLS_base$9: _vue_runtime_core.DefineComponent<__VLS_Props$g, {
|
|
2654
2658
|
nodeStatusMap: _vue_reactivity.Ref<Map<Id, {
|
|
2655
2659
|
visible: boolean;
|
|
2656
2660
|
expand: boolean;
|
|
@@ -2673,7 +2677,8 @@ declare const __VLS_component$9: _vue_runtime_core.DefineComponent<__VLS_Props$g
|
|
|
2673
2677
|
onRemove?: ((id: string) => any) | undefined;
|
|
2674
2678
|
onEdit?: ((id: string) => any) | undefined;
|
|
2675
2679
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2676
|
-
declare const
|
|
2680
|
+
declare const __VLS_export$h: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
2681
|
+
declare const _default$i: typeof __VLS_export$h;
|
|
2677
2682
|
|
|
2678
2683
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
2679
2684
|
new (): {
|
|
@@ -2688,8 +2693,9 @@ type __VLS_Props$f = {
|
|
|
2688
2693
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
2689
2694
|
customContentMenu: CustomContentMenuFunction;
|
|
2690
2695
|
};
|
|
2691
|
-
declare const
|
|
2692
|
-
declare const
|
|
2696
|
+
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>;
|
|
2697
|
+
declare const __VLS_export$g: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
2698
|
+
declare const _default$h: typeof __VLS_export$g;
|
|
2693
2699
|
|
|
2694
2700
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
2695
2701
|
new (): {
|
|
@@ -2702,11 +2708,12 @@ type __VLS_Props$e = {
|
|
|
2702
2708
|
values: any;
|
|
2703
2709
|
disabled: boolean;
|
|
2704
2710
|
};
|
|
2705
|
-
type
|
|
2711
|
+
type __VLS_ModelProps$2 = {
|
|
2706
2712
|
'visible'?: boolean;
|
|
2707
2713
|
'width'?: number;
|
|
2708
2714
|
};
|
|
2709
|
-
|
|
2715
|
+
type __VLS_PublicProps$2 = __VLS_Props$e & __VLS_ModelProps$2;
|
|
2716
|
+
declare const __VLS_export$f: _vue_runtime_core.DefineComponent<__VLS_PublicProps$2, {
|
|
2710
2717
|
show(): void;
|
|
2711
2718
|
hide(): void;
|
|
2712
2719
|
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
@@ -2722,13 +2729,14 @@ declare const _default$g: _vue_runtime_core.DefineComponent<__VLS_PublicProps$2,
|
|
|
2722
2729
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2723
2730
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2724
2731
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2732
|
+
declare const _default$g: typeof __VLS_export$f;
|
|
2725
2733
|
|
|
2726
2734
|
type __VLS_Slots$7 = PropsPanelSlots;
|
|
2727
2735
|
type __VLS_Props$d = {
|
|
2728
2736
|
disabledShowSrc?: boolean;
|
|
2729
2737
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2730
2738
|
};
|
|
2731
|
-
declare const
|
|
2739
|
+
declare const __VLS_base$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
|
|
2732
2740
|
getFormState(): FormState | undefined;
|
|
2733
2741
|
submit: (v: MNode, eventData?: ContainerChangeEventData$1) => Promise<void>;
|
|
2734
2742
|
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
@@ -3344,7 +3352,8 @@ declare const __VLS_component$7: _vue_runtime_core.DefineComponent<__VLS_Props$d
|
|
|
3344
3352
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3345
3353
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3346
3354
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3347
|
-
declare const
|
|
3355
|
+
declare const __VLS_export$e: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
3356
|
+
declare const _default$f: typeof __VLS_export$e;
|
|
3348
3357
|
|
|
3349
3358
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
3350
3359
|
new (): {
|
|
@@ -3364,7 +3373,7 @@ type __VLS_Props$c = {
|
|
|
3364
3373
|
labelPosition?: string;
|
|
3365
3374
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3366
3375
|
};
|
|
3367
|
-
declare const
|
|
3376
|
+
declare const __VLS_base$6: _vue_runtime_core.DefineComponent<__VLS_Props$c, {
|
|
3368
3377
|
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3369
3378
|
config: FormConfig;
|
|
3370
3379
|
initValues: Record<string, any>;
|
|
@@ -3483,7 +3492,8 @@ declare const __VLS_component$6: _vue_runtime_core.DefineComponent<__VLS_Props$c
|
|
|
3483
3492
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3484
3493
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3485
3494
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3486
|
-
declare const
|
|
3495
|
+
declare const __VLS_export$d: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
3496
|
+
declare const _default$e: typeof __VLS_export$d;
|
|
3487
3497
|
|
|
3488
3498
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
3489
3499
|
new (): {
|
|
@@ -3495,10 +3505,11 @@ type __VLS_Props$b = {
|
|
|
3495
3505
|
data?: MenuButton | MenuComponent;
|
|
3496
3506
|
eventType?: 'mousedown' | 'mouseup' | 'click';
|
|
3497
3507
|
};
|
|
3498
|
-
declare const
|
|
3508
|
+
declare const __VLS_export$c: _vue_runtime_core.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$b> & Readonly<{}>, {
|
|
3499
3509
|
data: MenuButton | MenuComponent;
|
|
3500
3510
|
eventType: "mousedown" | "mouseup" | "click";
|
|
3501
3511
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3512
|
+
declare const _default$d: typeof __VLS_export$c;
|
|
3502
3513
|
|
|
3503
3514
|
type __VLS_Props$a = {
|
|
3504
3515
|
menuData?: (MenuButton | MenuComponent)[];
|
|
@@ -3510,7 +3521,7 @@ declare var __VLS_6$1: {};
|
|
|
3510
3521
|
type __VLS_Slots$5 = {} & {
|
|
3511
3522
|
title?: (props: typeof __VLS_6$1) => any;
|
|
3512
3523
|
};
|
|
3513
|
-
declare const
|
|
3524
|
+
declare const __VLS_base$5: _vue_runtime_core.DefineComponent<__VLS_Props$a, {
|
|
3514
3525
|
menu: Readonly<_vue_reactivity.ShallowRef<HTMLDivElement | null>>;
|
|
3515
3526
|
menuPosition: Ref<{
|
|
3516
3527
|
left: number;
|
|
@@ -3545,7 +3556,8 @@ declare const __VLS_component$5: _vue_runtime_core.DefineComponent<__VLS_Props$a
|
|
|
3545
3556
|
isSubMenu: boolean;
|
|
3546
3557
|
autoHide: boolean;
|
|
3547
3558
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3548
|
-
declare const
|
|
3559
|
+
declare const __VLS_export$b: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
3560
|
+
declare const _default$c: typeof __VLS_export$b;
|
|
3549
3561
|
|
|
3550
3562
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
3551
3563
|
new (): {
|
|
@@ -3556,7 +3568,8 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
3556
3568
|
type __VLS_Props$9 = {
|
|
3557
3569
|
icon?: any;
|
|
3558
3570
|
};
|
|
3559
|
-
declare const
|
|
3571
|
+
declare const __VLS_export$a: _vue_runtime_core.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3572
|
+
declare const _default$b: typeof __VLS_export$a;
|
|
3560
3573
|
|
|
3561
3574
|
type __VLS_Props$8 = {
|
|
3562
3575
|
width?: number;
|
|
@@ -3579,7 +3592,7 @@ type __VLS_Slots$4 = {} & {
|
|
|
3579
3592
|
} & {
|
|
3580
3593
|
right?: (props: typeof __VLS_19) => any;
|
|
3581
3594
|
};
|
|
3582
|
-
declare const
|
|
3595
|
+
declare const __VLS_base$4: _vue_runtime_core.DefineComponent<__VLS_Props$8, {
|
|
3583
3596
|
updateWidth(): void;
|
|
3584
3597
|
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3585
3598
|
change: (...args: any[]) => void;
|
|
@@ -3594,7 +3607,8 @@ declare const __VLS_component$4: _vue_runtime_core.DefineComponent<__VLS_Props$8
|
|
|
3594
3607
|
minRight: number;
|
|
3595
3608
|
minCenter: number;
|
|
3596
3609
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3597
|
-
declare const
|
|
3610
|
+
declare const __VLS_export$9: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
3611
|
+
declare const _default$a: typeof __VLS_export$9;
|
|
3598
3612
|
|
|
3599
3613
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
3600
3614
|
new (): {
|
|
@@ -3606,12 +3620,13 @@ declare var __VLS_1: {};
|
|
|
3606
3620
|
type __VLS_Slots$3 = {} & {
|
|
3607
3621
|
default?: (props: typeof __VLS_1) => any;
|
|
3608
3622
|
};
|
|
3609
|
-
declare const
|
|
3623
|
+
declare const __VLS_base$3: _vue_runtime_core.DefineComponent<{}, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3610
3624
|
change: (e: OnDrag<gesto.default>) => any;
|
|
3611
3625
|
}, string, _vue_runtime_core.PublicProps, Readonly<{}> & Readonly<{
|
|
3612
3626
|
onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
|
|
3613
3627
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
3614
|
-
declare const
|
|
3628
|
+
declare const __VLS_export$8: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
3629
|
+
declare const _default$9: typeof __VLS_export$8;
|
|
3615
3630
|
|
|
3616
3631
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
3617
3632
|
new (): {
|
|
@@ -3625,11 +3640,12 @@ type __VLS_Props$7 = {
|
|
|
3625
3640
|
isDataSource?: boolean;
|
|
3626
3641
|
dataSourceType?: string;
|
|
3627
3642
|
};
|
|
3628
|
-
type
|
|
3643
|
+
type __VLS_ModelProps$1 = {
|
|
3629
3644
|
'width'?: number;
|
|
3630
3645
|
'visible'?: boolean;
|
|
3631
3646
|
};
|
|
3632
|
-
|
|
3647
|
+
type __VLS_PublicProps$1 = __VLS_Props$7 & __VLS_ModelProps$1;
|
|
3648
|
+
declare const __VLS_export$7: _vue_runtime_core.DefineComponent<__VLS_PublicProps$1, {
|
|
3633
3649
|
show(): Promise<void>;
|
|
3634
3650
|
hide(): Promise<void>;
|
|
3635
3651
|
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
@@ -3645,6 +3661,7 @@ declare const _default$8: _vue_runtime_core.DefineComponent<__VLS_PublicProps$1,
|
|
|
3645
3661
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3646
3662
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3647
3663
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3664
|
+
declare const _default$8: typeof __VLS_export$7;
|
|
3648
3665
|
|
|
3649
3666
|
interface Position {
|
|
3650
3667
|
left: number;
|
|
@@ -3655,11 +3672,12 @@ type __VLS_Props$6 = {
|
|
|
3655
3672
|
title?: string;
|
|
3656
3673
|
beforeClose?: (_done: (_cancel?: boolean) => void) => void;
|
|
3657
3674
|
};
|
|
3658
|
-
type
|
|
3675
|
+
type __VLS_ModelProps = {
|
|
3659
3676
|
'width'?: number;
|
|
3660
3677
|
'height'?: number;
|
|
3661
3678
|
'visible'?: boolean;
|
|
3662
3679
|
};
|
|
3680
|
+
type __VLS_PublicProps = __VLS_Props$6 & __VLS_ModelProps;
|
|
3663
3681
|
declare var __VLS_6: {};
|
|
3664
3682
|
declare var __VLS_20: {};
|
|
3665
3683
|
type __VLS_Slots$2 = {} & {
|
|
@@ -3667,7 +3685,7 @@ type __VLS_Slots$2 = {} & {
|
|
|
3667
3685
|
} & {
|
|
3668
3686
|
body?: (props: typeof __VLS_20) => any;
|
|
3669
3687
|
};
|
|
3670
|
-
declare const
|
|
3688
|
+
declare const __VLS_base$2: _vue_runtime_core.DefineComponent<__VLS_PublicProps, {
|
|
3671
3689
|
bodyHeight: _vue_reactivity.ComputedRef<number | "auto">;
|
|
3672
3690
|
target: Readonly<_vue_reactivity.ShallowRef<HTMLDivElement | null>>;
|
|
3673
3691
|
titleEl: Readonly<_vue_reactivity.ShallowRef<HTMLDivElement | null>>;
|
|
@@ -3683,7 +3701,8 @@ declare const __VLS_component$2: _vue_runtime_core.DefineComponent<__VLS_PublicP
|
|
|
3683
3701
|
title: string;
|
|
3684
3702
|
position: Position;
|
|
3685
3703
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3686
|
-
declare const
|
|
3704
|
+
declare const __VLS_export$6: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
3705
|
+
declare const _default$7: typeof __VLS_export$6;
|
|
3687
3706
|
|
|
3688
3707
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
3689
3708
|
new (): {
|
|
@@ -3709,7 +3728,7 @@ type __VLS_Props$5 = {
|
|
|
3709
3728
|
nextLevelIndentIncrement?: number;
|
|
3710
3729
|
emptyText?: string;
|
|
3711
3730
|
};
|
|
3712
|
-
declare const
|
|
3731
|
+
declare const __VLS_base$1: _vue_runtime_core.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3713
3732
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3714
3733
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3715
3734
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
@@ -3729,7 +3748,8 @@ declare const __VLS_component$1: _vue_runtime_core.DefineComponent<__VLS_Props$5
|
|
|
3729
3748
|
emptyText: string;
|
|
3730
3749
|
indent: number;
|
|
3731
3750
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3732
|
-
declare const
|
|
3751
|
+
declare const __VLS_export$5: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
3752
|
+
declare const _default$6: typeof __VLS_export$5;
|
|
3733
3753
|
|
|
3734
3754
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
3735
3755
|
new (): {
|
|
@@ -3756,7 +3776,7 @@ type __VLS_Props$4 = {
|
|
|
3756
3776
|
indent?: number;
|
|
3757
3777
|
nextLevelIndentIncrement?: number;
|
|
3758
3778
|
};
|
|
3759
|
-
declare const
|
|
3779
|
+
declare const __VLS_base: _vue_runtime_core.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3760
3780
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3761
3781
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3762
3782
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
@@ -3775,7 +3795,8 @@ declare const __VLS_component: _vue_runtime_core.DefineComponent<__VLS_Props$4,
|
|
|
3775
3795
|
parentsId: Id[];
|
|
3776
3796
|
nextLevelIndentIncrement: number;
|
|
3777
3797
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3778
|
-
declare const
|
|
3798
|
+
declare const __VLS_export$4: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3799
|
+
declare const _default$5: typeof __VLS_export$4;
|
|
3779
3800
|
|
|
3780
3801
|
type __VLS_WithSlots<T, S> = T & {
|
|
3781
3802
|
new (): {
|
|
@@ -3784,36 +3805,40 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
3784
3805
|
};
|
|
3785
3806
|
|
|
3786
3807
|
type __VLS_Props$3 = FieldProps<PageFragmentSelectConfig>;
|
|
3787
|
-
declare const
|
|
3808
|
+
declare const __VLS_export$3: _vue_runtime_core.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3788
3809
|
change: (...args: any[]) => void;
|
|
3789
3810
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
3790
3811
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3791
3812
|
}>, {
|
|
3792
3813
|
disabled: boolean;
|
|
3793
3814
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3815
|
+
declare const _default$4: typeof __VLS_export$3;
|
|
3794
3816
|
|
|
3795
3817
|
type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
|
|
3796
|
-
declare const
|
|
3818
|
+
declare const __VLS_export$2: _vue_runtime_core.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3797
3819
|
change: (value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3798
3820
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
3799
3821
|
onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3800
3822
|
}>, {
|
|
3801
3823
|
disabled: boolean;
|
|
3802
3824
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3825
|
+
declare const _default$3: typeof __VLS_export$2;
|
|
3803
3826
|
|
|
3804
3827
|
type __VLS_Props$1 = FieldProps<CondOpSelectConfig>;
|
|
3805
|
-
declare const
|
|
3828
|
+
declare const __VLS_export$1: _vue_runtime_core.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3806
3829
|
change: (value: string) => any;
|
|
3807
3830
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
3808
3831
|
onChange?: ((value: string) => any) | undefined;
|
|
3809
3832
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3833
|
+
declare const _default$2: typeof __VLS_export$1;
|
|
3810
3834
|
|
|
3811
3835
|
type __VLS_Props = FieldProps<StyleSchema>;
|
|
3812
|
-
declare const
|
|
3836
|
+
declare const __VLS_export: _vue_runtime_core.DefineComponent<__VLS_Props, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3813
3837
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3814
3838
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
3815
3839
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3816
3840
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3841
|
+
declare const _default$1: typeof __VLS_export;
|
|
3817
3842
|
|
|
3818
3843
|
declare const _default: {
|
|
3819
3844
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|