@vtj/designer 0.10.4 → 0.10.6

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 (59) hide show
  1. package/dist/index.mjs +4 -4
  2. package/package.json +7 -7
  3. package/types/components/binders/event.d.ts +2 -46
  4. package/types/components/binders/variable.d.ts +2 -46
  5. package/types/components/editor/Editor.d.ts +1 -3
  6. package/types/components/editor/index.d.ts +1 -3
  7. package/types/components/regions/actions.d.ts +2 -33
  8. package/types/components/regions/apps.d.ts +2 -33
  9. package/types/components/regions/brand.d.ts +2 -33
  10. package/types/components/regions/empty.d.ts +1 -1
  11. package/types/components/regions/index.d.ts +11 -259
  12. package/types/components/regions/preview.d.ts +2 -33
  13. package/types/components/regions/settings.d.ts +2 -33
  14. package/types/components/regions/status.d.ts +2 -33
  15. package/types/components/regions/toolbar.d.ts +2 -33
  16. package/types/components/regions/workspace.d.ts +2 -33
  17. package/types/components/setters/css.d.ts +2 -46
  18. package/types/components/setters/file.d.ts +1 -1
  19. package/types/components/setters/function.d.ts +2 -46
  20. package/types/components/setters/icon.d.ts +1 -1
  21. package/types/components/setters/index.d.ts +10 -140
  22. package/types/components/setters/json.d.ts +2 -46
  23. package/types/components/setters/section.d.ts +1 -1
  24. package/types/components/setters/slider.d.ts +1 -1
  25. package/types/components/setters/tag.d.ts +1 -1
  26. package/types/components/setters/vanIcon/index.d.ts +1 -1
  27. package/types/components/shared/binder.d.ts +70 -742
  28. package/types/components/shared/box.d.ts +45 -13
  29. package/types/components/shared/item.d.ts +143 -13
  30. package/types/components/shared/panel.d.ts +72 -15
  31. package/types/components/shared/tabs.d.ts +37 -13
  32. package/types/components/shared/viewer.d.ts +2 -766
  33. package/types/components/shared/viewport.d.ts +29 -13
  34. package/types/components/skeleton.d.ts +2 -180
  35. package/types/components/widgets/about/index.d.ts +1 -1
  36. package/types/components/widgets/actions/coder.d.ts +1 -1
  37. package/types/components/widgets/actions/index.d.ts +1 -1
  38. package/types/components/widgets/apis/base-info.d.ts +1 -1
  39. package/types/components/widgets/apis/form.d.ts +2 -1520
  40. package/types/components/widgets/apis/jsonp-options.d.ts +1 -1
  41. package/types/components/widgets/apis/mock-template.d.ts +1 -1
  42. package/types/components/widgets/apis/request-settings.d.ts +1 -1
  43. package/types/components/widgets/css/index.d.ts +2 -46
  44. package/types/components/widgets/designer/actions.d.ts +1 -1
  45. package/types/components/widgets/designer/index.d.ts +1 -4
  46. package/types/components/widgets/docs/index.d.ts +2 -101
  47. package/types/components/widgets/empty/index.d.ts +1 -1
  48. package/types/components/widgets/index.d.ts +11 -342
  49. package/types/components/widgets/market/index.d.ts +2 -101
  50. package/types/components/widgets/previewer/index.d.ts +1 -4
  51. package/types/components/widgets/raw/index.d.ts +2 -46
  52. package/types/components/widgets/schema/index.d.ts +2 -46
  53. package/types/components/widgets/scripts/group.d.ts +51 -983
  54. package/types/components/widgets/scripts/lifeCycles.d.ts +2 -46
  55. package/types/components/widgets/style/JsonMode.d.ts +2 -46
  56. package/types/components/widgets/style/positioning.d.ts +1 -3
  57. package/types/components/widgets/style/spacing-input.d.ts +2 -255
  58. package/types/components/widgets/style/spacing.d.ts +1 -4
  59. package/types/version.d.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -8,36 +8,5 @@ declare const _default: DefineComponent<Props, {
8
8
  currentTab: Ref<string, string>;
9
9
  widgets: ComputedRef< Widget[]>;
10
10
  widgetsRef: Ref<any, any>;
11
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
13
- region: {
14
- type: PropType<RegionType>;
15
- required: true;
16
- };
17
- widget: {
18
- type: PropType<Widget>;
19
- required: true;
20
- };
21
- }>> & Readonly<{}>, {
22
- widgetRef: Ref<any, any>;
23
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
24
- P: {};
25
- B: {};
26
- D: {};
27
- C: {};
28
- M: {};
29
- Defaults: {};
30
- }, Readonly< ExtractPropTypes<{
31
- region: {
32
- type: PropType<RegionType>;
33
- required: true;
34
- };
35
- widget: {
36
- type: PropType<Widget>;
37
- required: true;
38
- };
39
- }>> & Readonly<{}>, {
40
- widgetRef: Ref<any, any>;
41
- }, {}, {}, {}, {}> | null)[];
42
- }, any>;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
43
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,36 +7,5 @@ export interface Props {
7
7
  declare const _default: DefineComponent<Props, {
8
8
  widgets: ComputedRef< Widget[]>;
9
9
  widgetsRef: Ref<any, any>;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
11
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
12
- region: {
13
- type: PropType<RegionType>;
14
- required: true;
15
- };
16
- widget: {
17
- type: PropType<Widget>;
18
- required: true;
19
- };
20
- }>> & Readonly<{}>, {
21
- widgetRef: Ref<any, any>;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly< ExtractPropTypes<{
30
- region: {
31
- type: PropType<RegionType>;
32
- required: true;
33
- };
34
- widget: {
35
- type: PropType<Widget>;
36
- required: true;
37
- };
38
- }>> & Readonly<{}>, {
39
- widgetRef: Ref<any, any>;
40
- }, {}, {}, {}, {}> | null)[];
41
- }, any>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
11
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,36 +7,5 @@ export interface Props {
7
7
  declare const _default: DefineComponent<Props, {
8
8
  widgets: ComputedRef< Widget[]>;
9
9
  widgetsRef: Ref<any, any>;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
11
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
12
- region: {
13
- type: PropType<RegionType>;
14
- required: true;
15
- };
16
- widget: {
17
- type: PropType<Widget>;
18
- required: true;
19
- };
20
- }>> & Readonly<{}>, {
21
- widgetRef: Ref<any, any>;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly< ExtractPropTypes<{
30
- region: {
31
- type: PropType<RegionType>;
32
- required: true;
33
- };
34
- widget: {
35
- type: PropType<Widget>;
36
- required: true;
37
- };
38
- }>> & Readonly<{}>, {
39
- widgetRef: Ref<any, any>;
40
- }, {}, {}, {}, {}> | null)[];
41
- }, any>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
11
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -8,36 +8,5 @@ export interface Props {
8
8
  declare const _default: DefineComponent<Props, {
9
9
  widgets: ComputedRef< Widget[]>;
10
10
  widgetsRef: Ref<any, any>;
11
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
13
- region: {
14
- type: PropType<RegionType>;
15
- required: true;
16
- };
17
- widget: {
18
- type: PropType<Widget>;
19
- required: true;
20
- };
21
- }>> & Readonly<{}>, {
22
- widgetRef: Ref<any, any>;
23
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
24
- P: {};
25
- B: {};
26
- D: {};
27
- C: {};
28
- M: {};
29
- Defaults: {};
30
- }, Readonly< ExtractPropTypes<{
31
- region: {
32
- type: PropType<RegionType>;
33
- required: true;
34
- };
35
- widget: {
36
- type: PropType<Widget>;
37
- required: true;
38
- };
39
- }>> & Readonly<{}>, {
40
- widgetRef: Ref<any, any>;
41
- }, {}, {}, {}, {}> | null)[];
42
- }, HTMLDivElement>;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
43
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -10,36 +10,5 @@ declare const _default: DefineComponent<Props, {
10
10
  widgetsRef: Ref<any, any>;
11
11
  openTab: (name: string, props?: Record<string, any>) => void;
12
12
  reload: () => void;
13
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
14
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
15
- region: {
16
- type: PropType<RegionType>;
17
- required: true;
18
- };
19
- widget: {
20
- type: PropType<Widget>;
21
- required: true;
22
- };
23
- }>> & Readonly<{}>, {
24
- widgetRef: Ref<any, any>;
25
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
26
- P: {};
27
- B: {};
28
- D: {};
29
- C: {};
30
- M: {};
31
- Defaults: {};
32
- }, Readonly< ExtractPropTypes<{
33
- region: {
34
- type: PropType<RegionType>;
35
- required: true;
36
- };
37
- widget: {
38
- type: PropType<Widget>;
39
- required: true;
40
- };
41
- }>> & Readonly<{}>, {
42
- widgetRef: Ref<any, any>;
43
- }, {}, {}, {}, {}> | null)[];
44
- }, any>;
13
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
45
14
  export default _default;
@@ -1,5 +1,4 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
2
- import { Props } from '../editor/Editor';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
2
  export interface Props {
4
3
  modelValue?: any;
5
4
  type?: 'CSS';
@@ -11,48 +10,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
11
10
  }>, {
12
11
  type: "CSS";
13
12
  modelValue: any;
14
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
15
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
16
- onBlur?: ((...args: any[]) => any) | undefined;
17
- onChange?: ((...args: any[]) => any) | undefined;
18
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
- }>, {
20
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
21
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
- blur: (...args: any[]) => void;
23
- change: (...args: any[]) => void;
24
- "update:modelValue": (...args: any[]) => void;
25
- }, PublicProps, {
26
- height: string;
27
- modelValue: string;
28
- dark: boolean;
29
- readonly: boolean;
30
- options: import("monaco-editor").editor.IEditorConstructionOptions;
31
- lang: string;
32
- minimap: boolean;
33
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
34
- container: HTMLDivElement;
35
- }, HTMLDivElement, ComponentProvideOptions, {
36
- P: {};
37
- B: {};
38
- D: {};
39
- C: {};
40
- M: {};
41
- Defaults: {};
42
- }, Readonly< Props> & Readonly<{
43
- onBlur?: ((...args: any[]) => any) | undefined;
44
- onChange?: ((...args: any[]) => any) | undefined;
45
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
- }>, {
47
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
48
- }, {}, {}, {}, {
49
- height: string;
50
- modelValue: string;
51
- dark: boolean;
52
- readonly: boolean;
53
- options: import("monaco-editor").editor.IEditorConstructionOptions;
54
- lang: string;
55
- minimap: boolean;
56
- }> | null;
57
- }, HTMLDivElement>;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
58
14
  export default _default;
@@ -9,5 +9,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
9
9
  }, string, PublicProps, Readonly<Props> & Readonly<{
10
10
  onChange?: ((...args: any[]) => any) | undefined;
11
11
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
@@ -1,6 +1,5 @@
1
1
  import { JSFunction } from '@vtj/core';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { Props } from '../editor/Editor';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  export interface Props {
5
4
  modelValue?: JSFunction;
6
5
  defaultCode?: string;
@@ -12,48 +11,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
12
11
  }>, {
13
12
  modelValue: JSFunction;
14
13
  defaultCode: string;
15
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
16
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
17
- onBlur?: ((...args: any[]) => any) | undefined;
18
- onChange?: ((...args: any[]) => any) | undefined;
19
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
- }>, {
21
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
- blur: (...args: any[]) => void;
24
- change: (...args: any[]) => void;
25
- "update:modelValue": (...args: any[]) => void;
26
- }, PublicProps, {
27
- height: string;
28
- modelValue: string;
29
- dark: boolean;
30
- readonly: boolean;
31
- options: import("monaco-editor").editor.IEditorConstructionOptions;
32
- lang: string;
33
- minimap: boolean;
34
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
35
- container: HTMLDivElement;
36
- }, HTMLDivElement, ComponentProvideOptions, {
37
- P: {};
38
- B: {};
39
- D: {};
40
- C: {};
41
- M: {};
42
- Defaults: {};
43
- }, Readonly< Props> & Readonly<{
44
- onBlur?: ((...args: any[]) => any) | undefined;
45
- onChange?: ((...args: any[]) => any) | undefined;
46
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
47
- }>, {
48
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
49
- }, {}, {}, {}, {
50
- height: string;
51
- modelValue: string;
52
- dark: boolean;
53
- readonly: boolean;
54
- options: import("monaco-editor").editor.IEditorConstructionOptions;
55
- lang: string;
56
- minimap: boolean;
57
- }> | null;
58
- }, HTMLDivElement>;
14
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
59
15
  export default _default;
@@ -12,5 +12,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
12
12
  }>, {
13
13
  size: "small" | "large" | "default" | "";
14
14
  modelValue: string;
15
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -1,10 +1,9 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { Props } from './expression';
3
3
  import { Props } from './select';
4
4
  import { Props } from './number';
5
5
  import { Props } from './icon';
6
6
  import { Props } from './json';
7
- import { Props } from '../editor/Editor';
8
7
  import { Props } from './function';
9
8
  import { JSFunction } from '@vtj/core';
10
9
  import { Props } from './radio';
@@ -45,7 +44,7 @@ export declare const setters: {
45
44
  }>, {
46
45
  size: "small" | "large" | "default" | "";
47
46
  modelValue: string;
48
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
47
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
49
48
  JsonSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
50
49
  change: (...args: any[]) => void;
51
50
  }, string, PublicProps, Readonly< Props> & Readonly<{
@@ -53,50 +52,7 @@ export declare const setters: {
53
52
  }>, {
54
53
  type: "Array" | "Object" | "JSON";
55
54
  modelValue: any;
56
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
57
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
58
- onBlur?: ((...args: any[]) => any) | undefined;
59
- onChange?: ((...args: any[]) => any) | undefined;
60
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
- }>, {
62
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
63
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
64
- blur: (...args: any[]) => void;
65
- change: (...args: any[]) => void;
66
- "update:modelValue": (...args: any[]) => void;
67
- }, PublicProps, {
68
- height: string;
69
- modelValue: string;
70
- dark: boolean;
71
- readonly: boolean;
72
- options: import("monaco-editor").editor.IEditorConstructionOptions;
73
- lang: string;
74
- minimap: boolean;
75
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
76
- container: HTMLDivElement;
77
- }, HTMLDivElement, ComponentProvideOptions, {
78
- P: {};
79
- B: {};
80
- D: {};
81
- C: {};
82
- M: {};
83
- Defaults: {};
84
- }, Readonly< Props> & Readonly<{
85
- onBlur?: ((...args: any[]) => any) | undefined;
86
- onChange?: ((...args: any[]) => any) | undefined;
87
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
88
- }>, {
89
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
90
- }, {}, {}, {}, {
91
- height: string;
92
- modelValue: string;
93
- dark: boolean;
94
- readonly: boolean;
95
- options: import("monaco-editor").editor.IEditorConstructionOptions;
96
- lang: string;
97
- minimap: boolean;
98
- }> | null;
99
- }, HTMLDivElement>;
55
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
100
56
  FunctionSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
101
57
  change: (...args: any[]) => void;
102
58
  }, string, PublicProps, Readonly< Props> & Readonly<{
@@ -104,50 +60,7 @@ export declare const setters: {
104
60
  }>, {
105
61
  modelValue: JSFunction;
106
62
  defaultCode: string;
107
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
108
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
109
- onBlur?: ((...args: any[]) => any) | undefined;
110
- onChange?: ((...args: any[]) => any) | undefined;
111
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
112
- }>, {
113
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
114
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
115
- blur: (...args: any[]) => void;
116
- change: (...args: any[]) => void;
117
- "update:modelValue": (...args: any[]) => void;
118
- }, PublicProps, {
119
- height: string;
120
- modelValue: string;
121
- dark: boolean;
122
- readonly: boolean;
123
- options: import("monaco-editor").editor.IEditorConstructionOptions;
124
- lang: string;
125
- minimap: boolean;
126
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
127
- container: HTMLDivElement;
128
- }, HTMLDivElement, ComponentProvideOptions, {
129
- P: {};
130
- B: {};
131
- D: {};
132
- C: {};
133
- M: {};
134
- Defaults: {};
135
- }, Readonly< Props> & Readonly<{
136
- onBlur?: ((...args: any[]) => any) | undefined;
137
- onChange?: ((...args: any[]) => any) | undefined;
138
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
139
- }>, {
140
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
141
- }, {}, {}, {}, {
142
- height: string;
143
- modelValue: string;
144
- dark: boolean;
145
- readonly: boolean;
146
- options: import("monaco-editor").editor.IEditorConstructionOptions;
147
- lang: string;
148
- minimap: boolean;
149
- }> | null;
150
- }, HTMLDivElement>;
63
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
151
64
  RadioSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
152
65
  options: {
153
66
  label: string;
@@ -167,7 +80,7 @@ export declare const setters: {
167
80
  value: any;
168
81
  svg?: string;
169
82
  }[];
170
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
83
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
171
84
  SizeSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
172
85
  change: (...args: any[]) => void;
173
86
  }, string, PublicProps, Readonly< Props> & Readonly<{
@@ -188,7 +101,7 @@ export declare const setters: {
188
101
  onChange?: ((...args: any[]) => any) | undefined;
189
102
  }>, {
190
103
  sections: number;
191
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
104
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
192
105
  SliderSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
193
106
  change: (...args: any[]) => void;
194
107
  "update:modelValue": (...args: any[]) => void;
@@ -197,14 +110,14 @@ export declare const setters: {
197
110
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
198
111
  }>, {
199
112
  modelValue: number | number[];
200
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
113
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
201
114
  FileSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
202
115
  change: (...args: any[]) => void;
203
116
  "update:modelValue": (...args: any[]) => void;
204
117
  }, string, PublicProps, Readonly< Props> & Readonly<{
205
118
  onChange?: ((...args: any[]) => any) | undefined;
206
119
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
207
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
120
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
208
121
  VanIconSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
209
122
  change: (...args: any[]) => void;
210
123
  "update:modelValue": (...args: any[]) => void;
@@ -214,7 +127,7 @@ export declare const setters: {
214
127
  }>, {
215
128
  size: "small" | "large" | "default" | "";
216
129
  modelValue: string;
217
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
130
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
218
131
  CssSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
219
132
  change: (...args: any[]) => void;
220
133
  }, string, PublicProps, Readonly< Props> & Readonly<{
@@ -222,48 +135,5 @@ export declare const setters: {
222
135
  }>, {
223
136
  type: "CSS";
224
137
  modelValue: any;
225
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
226
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
227
- onBlur?: ((...args: any[]) => any) | undefined;
228
- onChange?: ((...args: any[]) => any) | undefined;
229
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
230
- }>, {
231
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
232
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
233
- blur: (...args: any[]) => void;
234
- change: (...args: any[]) => void;
235
- "update:modelValue": (...args: any[]) => void;
236
- }, PublicProps, {
237
- height: string;
238
- modelValue: string;
239
- dark: boolean;
240
- readonly: boolean;
241
- options: import("monaco-editor").editor.IEditorConstructionOptions;
242
- lang: string;
243
- minimap: boolean;
244
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
245
- container: HTMLDivElement;
246
- }, HTMLDivElement, ComponentProvideOptions, {
247
- P: {};
248
- B: {};
249
- D: {};
250
- C: {};
251
- M: {};
252
- Defaults: {};
253
- }, Readonly< Props> & Readonly<{
254
- onBlur?: ((...args: any[]) => any) | undefined;
255
- onChange?: ((...args: any[]) => any) | undefined;
256
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
257
- }>, {
258
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
259
- }, {}, {}, {}, {
260
- height: string;
261
- modelValue: string;
262
- dark: boolean;
263
- readonly: boolean;
264
- options: import("monaco-editor").editor.IEditorConstructionOptions;
265
- lang: string;
266
- minimap: boolean;
267
- }> | null;
268
- }, HTMLDivElement>;
138
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
269
139
  };
@@ -1,5 +1,4 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
2
- import { Props } from '../editor/Editor';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
2
  export interface Props {
4
3
  modelValue?: any;
5
4
  type?: 'Array' | 'Object' | 'JSON';
@@ -11,48 +10,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
11
10
  }>, {
12
11
  type: "Array" | "Object" | "JSON";
13
12
  modelValue: any;
14
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
15
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
16
- onBlur?: ((...args: any[]) => any) | undefined;
17
- onChange?: ((...args: any[]) => any) | undefined;
18
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
- }>, {
20
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
21
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
- blur: (...args: any[]) => void;
23
- change: (...args: any[]) => void;
24
- "update:modelValue": (...args: any[]) => void;
25
- }, PublicProps, {
26
- height: string;
27
- modelValue: string;
28
- dark: boolean;
29
- readonly: boolean;
30
- options: import("monaco-editor").editor.IEditorConstructionOptions;
31
- lang: string;
32
- minimap: boolean;
33
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
34
- container: HTMLDivElement;
35
- }, HTMLDivElement, ComponentProvideOptions, {
36
- P: {};
37
- B: {};
38
- D: {};
39
- C: {};
40
- M: {};
41
- Defaults: {};
42
- }, Readonly< Props> & Readonly<{
43
- onBlur?: ((...args: any[]) => any) | undefined;
44
- onChange?: ((...args: any[]) => any) | undefined;
45
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
- }>, {
47
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
48
- }, {}, {}, {}, {
49
- height: string;
50
- modelValue: string;
51
- dark: boolean;
52
- readonly: boolean;
53
- options: import("monaco-editor").editor.IEditorConstructionOptions;
54
- lang: string;
55
- minimap: boolean;
56
- }> | null;
57
- }, HTMLDivElement>;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
58
14
  export default _default;
@@ -9,5 +9,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
10
  }>, {
11
11
  sections: number;
12
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
@@ -10,5 +10,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
10
10
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
11
  }>, {
12
12
  modelValue: number | number[];
13
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -19,5 +19,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
19
19
  value: any;
20
20
  svg?: string;
21
21
  }[];
22
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
22
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
23
23
  export default _default;
@@ -12,5 +12,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
12
12
  }>, {
13
13
  size: "small" | "large" | "default" | "";
14
14
  modelValue: string;
15
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;