starfish-editor-custom 1.0.42 → 1.0.44

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 (44) hide show
  1. package/dist/ConditionModule.js +46 -56
  2. package/dist/ConditionSelect.js +23 -29
  3. package/dist/CustomDialog.js +1 -1
  4. package/dist/formStyle.js +26 -20
  5. package/dist/jsonCode.js +1 -1
  6. package/dist/jsonEditor.js +1 -1
  7. package/dist/main.js +275 -247
  8. package/dist/types/editor/src/common/ConditionSelect/ConditionGroup.vue.d.ts +0 -18
  9. package/dist/types/editor/src/common/ConditionSelect/ConditionModule.vue.d.ts +0 -17
  10. package/dist/types/editor/src/common/ConditionSelect/ConditionTanc.vue.d.ts +0 -30
  11. package/dist/types/editor/src/common/ConditionSelect.vue.d.ts +36 -14
  12. package/dist/types/editor/src/common/CustomDialog.vue.d.ts +11 -12
  13. package/dist/types/editor/src/common/Loading.vue.d.ts +2 -2
  14. package/dist/types/editor/src/common/jsonCode.vue.d.ts +104 -9
  15. package/dist/types/editor/src/components/ComponentList.vue.d.ts +31 -2
  16. package/dist/types/editor/src/components/FormPreview.vue.d.ts +65 -8
  17. package/dist/types/editor/src/components/Nav.vue.d.ts +2 -2
  18. package/dist/types/editor/src/components/PropsPanel.vue.d.ts +24 -16
  19. package/dist/types/editor/src/components/Shape.vue.d.ts +9 -10
  20. package/dist/types/editor/src/components/Workspace.vue.d.ts +8 -9
  21. package/dist/types/editor/src/components/globalFormList.vue.d.ts +2 -3
  22. package/dist/types/editor/src/components/jsonEditor.vue.d.ts +3 -4
  23. package/dist/types/editor/src/controller/action.d.ts +1 -1
  24. package/dist/types/editor/src/controller/form.d.ts +1 -1
  25. package/dist/types/editor/src/controller/history.d.ts +1 -1
  26. package/dist/types/editor/src/controller/shortcut.d.ts +1 -1
  27. package/dist/types/editor/src/controller/ui.d.ts +1 -1
  28. package/dist/types/editor/src/layouts/ControlEditSize.vue.d.ts +12 -6
  29. package/dist/types/editor/src/layouts/Framework.vue.d.ts +18 -6
  30. package/dist/types/editor/src/layouts/Resizer.vue.d.ts +6 -7
  31. package/dist/types/editor/src/layouts/ShortcutKey.vue.d.ts +4 -4
  32. package/dist/types/editor/src/starfish-editor.vue.d.ts +16 -10
  33. package/dist/types/editor/src/type.d.ts +7 -7
  34. package/dist/types/editor/src/utils/formKeycon.d.ts +1 -1
  35. package/package.json +55 -65
  36. package/src/controller/shortcut.ts +1 -1
  37. package/src/styles/component-list.scss +74 -74
  38. package/src/styles/custom-dialog.scss +110 -110
  39. package/src/styles/form-preview.scss +50 -50
  40. package/src/styles/framework.scss +150 -150
  41. package/src/styles/nav-list.scss +60 -60
  42. package/src/styles/props-panel.scss +124 -124
  43. package/src/styles/work-space.scss +129 -129
  44. package/stats.html +3690 -4918
@@ -8,7 +8,6 @@ declare namespace _sfc_main {
8
8
  namespace result {
9
9
  export const type: ObjectConstructor;
10
10
  function _default(): {};
11
- function _default(): {};
12
11
  export { _default as default };
13
12
  }
14
13
  namespace index {
@@ -21,21 +20,18 @@ declare namespace _sfc_main {
21
20
  const type_2: ArrayConstructor;
22
21
  export { type_2 as type };
23
22
  function _default(): never[];
24
- function _default(): never[];
25
23
  export { _default as default };
26
24
  }
27
25
  namespace rightField {
28
26
  const type_3: ArrayConstructor;
29
27
  export { type_3 as type };
30
28
  function _default(): never[];
31
- function _default(): never[];
32
29
  export { _default as default };
33
30
  }
34
31
  namespace request {
35
32
  const type_4: ArrayConstructor;
36
33
  export { type_4 as type };
37
34
  function _default(): never[];
38
- function _default(): never[];
39
35
  export { _default as default };
40
36
  }
41
37
  }
@@ -45,34 +41,20 @@ declare namespace _sfc_main {
45
41
  label: string;
46
42
  }[];
47
43
  };
48
- function data(): {
49
- groupSelect: {
50
- value: string;
51
- label: string;
52
- }[];
53
- };
54
44
  namespace watch {
55
45
  export namespace result_1 {
56
- function handler(): void;
57
46
  function handler(): void;
58
47
  const deep: boolean;
59
48
  }
60
49
  export { result_1 as result };
61
50
  }
62
51
  namespace methods {
63
- function onAddItem(): void;
64
52
  function onAddItem(): void;
65
53
  function handleControl(bool: any): void;
66
- function handleControl(bool: any): void;
67
- function onDeleteItem(): void;
68
54
  function onDeleteItem(): void;
69
55
  function handleDelete(index: any): void;
70
- function handleDelete(index: any): void;
71
- function onChange(a: any): void;
72
56
  function onChange(a: any): void;
73
57
  function handleUpdateForce(): void;
74
- function handleUpdateForce(): void;
75
- function onEditData(): void;
76
58
  function onEditData(): void;
77
59
  }
78
60
  }
@@ -7,14 +7,12 @@ declare namespace _sfc_main {
7
7
  namespace data {
8
8
  export const type: ObjectConstructor;
9
9
  function _default(): {};
10
- function _default(): {};
11
10
  export { _default as default };
12
11
  }
13
12
  namespace item {
14
13
  const type_1: ObjectConstructor;
15
14
  export { type_1 as type };
16
15
  function _default(): {};
17
- function _default(): {};
18
16
  export { _default as default };
19
17
  }
20
18
  }
@@ -26,17 +24,8 @@ declare namespace _sfc_main {
26
24
  condition: never[];
27
25
  request: never[];
28
26
  };
29
- function data(): {
30
- result: {};
31
- stringLink: string;
32
- leftField: never[];
33
- rightField: never[];
34
- condition: never[];
35
- request: never[];
36
- };
37
27
  namespace watch {
38
28
  namespace result {
39
- function handler(): void;
40
29
  function handler(): void;
41
30
  const deep: boolean;
42
31
  }
@@ -44,16 +33,10 @@ declare namespace _sfc_main {
44
33
  const emits: string[];
45
34
  namespace methods {
46
35
  function show(): Promise<void>;
47
- function show(): Promise<void>;
48
- function handleUpdateForce(): void;
49
36
  function handleUpdateForce(): void;
50
37
  function filterCondition(result: any): string;
51
- function filterCondition(result: any): string;
52
- function getDataConditionRelate(data: any): string;
53
38
  function getDataConditionRelate(data: any): string;
54
39
  function closeDialog(): void;
55
- function closeDialog(): void;
56
- function saveJson(): void;
57
40
  function saveJson(): void;
58
41
  }
59
42
  }
@@ -4,14 +4,12 @@ declare namespace _sfc_main {
4
4
  namespace fieldList {
5
5
  export const type: ObjectConstructor;
6
6
  function _default(): {};
7
- function _default(): {};
8
7
  export { _default as default };
9
8
  }
10
9
  namespace data {
11
10
  const type_1: ObjectConstructor;
12
11
  export { type_1 as type };
13
12
  function _default(): {};
14
- function _default(): {};
15
13
  export { _default as default };
16
14
  }
17
15
  }
@@ -31,48 +29,20 @@ declare namespace _sfc_main {
31
29
  label: string;
32
30
  }[];
33
31
  };
34
- function data(): {
35
- table: never[];
36
- groupSelect: {
37
- value: string;
38
- label: string;
39
- }[];
40
- logicList: {
41
- value: string;
42
- label: string;
43
- }[];
44
- typeList: {
45
- rule: never[];
46
- value: string;
47
- label: string;
48
- }[];
49
- };
50
32
  namespace computed {
51
33
  function newtypeList(): any;
52
- function newtypeList(): any;
53
34
  }
54
35
  namespace methods {
55
36
  function handleType(type: any): void;
56
- function handleType(type: any): void;
57
- function getFiled(): any;
58
37
  function getFiled(): any;
59
38
  function getMultiple(): any;
60
- function getMultiple(): any;
61
- function getLogic(): any;
62
39
  function getLogic(): any;
63
40
  function show(data: any): void;
64
- function show(data: any): void;
65
- function onAddItem(): void;
66
41
  function onAddItem(): void;
67
42
  function getTypeIsChange(index: any): any;
68
- function getTypeIsChange(index: any): any;
69
- function getRules(value: any): any;
70
43
  function getRules(value: any): any;
71
44
  function closeDialog(): void;
72
- function closeDialog(): void;
73
- function deleteRow(): void;
74
45
  function deleteRow(): void;
75
46
  function saveJson(): Promise<void>;
76
- function saveJson(): Promise<void>;
77
47
  }
78
48
  }
@@ -1,11 +1,17 @@
1
- import type { Ref } from '@vue/reactivity';
2
- import type { DefineComponent, ComponentPropsOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from '@vue/runtime-core';
3
- declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
4
- [x: string]: unknown;
5
- }>>, {
1
+ import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _sfc_main: DefineComponent<ExtractPropTypes<{
3
+ data: {
4
+ type: ObjectConstructor;
5
+ default(): {};
6
+ };
7
+ item: {
8
+ type: ObjectConstructor;
9
+ default(): {};
10
+ };
11
+ }>, {
6
12
  fieldList: any;
7
- maxJsonDialog: Ref<any>;
8
- formList: Ref<any>;
13
+ maxJsonDialog: Ref<any, any>;
14
+ formList: Ref<any, any>;
9
15
  handleType(index: number, tableIndex: number, type: string): void;
10
16
  getLogic(index: number, tableIndex: number): {
11
17
  value: string;
@@ -29,22 +35,38 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
29
35
  onOrItem(): void;
30
36
  closeDialog(): void;
31
37
  saveJson(): void;
32
- andData: Ref<any[][]>;
38
+ andData: Ref<any[][], any[][]>;
33
39
  logicList: Ref<{
34
40
  value: string;
35
41
  label: string;
36
42
  rule?: any[] | undefined;
43
+ }[], {
44
+ value: string;
45
+ label: string;
46
+ rule?: any[] | undefined;
37
47
  }[]>;
38
48
  typeList: Ref<{
39
49
  value: string;
40
50
  label: string;
41
51
  rule?: any[] | undefined;
52
+ }[], {
53
+ value: string;
54
+ label: string;
55
+ rule?: any[] | undefined;
42
56
  }[]>;
43
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<readonly string[] | ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
44
- [x: string]: unknown;
45
- }>>>> & {
57
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", PublicProps, Readonly<ExtractPropTypes<{
58
+ data: {
59
+ type: ObjectConstructor;
60
+ default(): {};
61
+ };
62
+ item: {
63
+ type: ObjectConstructor;
64
+ default(): {};
65
+ };
66
+ }>> & Readonly<{
46
67
  onChange?: ((...args: any[]) => any) | undefined;
47
- }, {
48
- [x: number]: string;
49
- } | {}>;
68
+ }>, {
69
+ data: Record<string, any>;
70
+ item: Record<string, any>;
71
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
50
72
  export default _sfc_main;
@@ -1,26 +1,25 @@
1
- import type { Ref, ComputedRef } from '@vue/reactivity';
2
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '@vue/runtime-core';
3
- declare const _sfc_main: DefineComponent<{
1
+ import type { DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _sfc_main: DefineComponent<ExtractPropTypes<{
4
3
  dialogclass: StringConstructor;
5
4
  showDialog: BooleanConstructor;
6
5
  width: NumberConstructor;
7
- }, {
8
- isshow: Ref<boolean>;
9
- title: Ref<string>;
10
- icon: Ref<string>;
11
- isFullScreen: Ref<boolean>;
6
+ }>, {
7
+ isshow: Ref<boolean, boolean>;
8
+ title: Ref<string, string>;
9
+ icon: Ref<string, string>;
10
+ isFullScreen: Ref<boolean, boolean>;
12
11
  newWidth: ComputedRef<string>;
13
12
  init(titles: string, icons: string): void;
14
13
  show(): void;
15
14
  close(): void;
16
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("open" | "close")[], "open" | "close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
15
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("open" | "close")[], "open" | "close", PublicProps, Readonly<ExtractPropTypes<{
17
16
  dialogclass: StringConstructor;
18
17
  showDialog: BooleanConstructor;
19
18
  width: NumberConstructor;
20
- }>> & {
19
+ }>> & Readonly<{
21
20
  onOpen?: ((...args: any[]) => any) | undefined;
22
21
  onClose?: ((...args: any[]) => any) | undefined;
23
- }, {
22
+ }>, {
24
23
  showDialog: boolean;
25
- }>;
24
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
26
25
  export default _sfc_main;
@@ -1,3 +1,3 @@
1
- import type { DefineComponent, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '@vue/runtime-core';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
1
+ import type { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
3
  export default _default;
@@ -1,15 +1,110 @@
1
- import type { Ref } from '@vue/reactivity';
2
- import type { LanguageSupport } from '.pnpm/@codemirror+language@6.2.1/node_modules/@codemirror/language';
3
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '@vue/runtime-core';
1
+ import type { ViewUpdate, EditorView } from '.pnpm/@codemirror+view@6.39.4/node_modules/@codemirror/view';
2
+ import type { Extension, EditorSelection, EditorState } from '.pnpm/@codemirror+state@6.5.2/node_modules/@codemirror/state';
3
+ import type { LanguageSupport } from '.pnpm/@codemirror+language@6.11.3/node_modules/@codemirror/language';
4
+ import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, PropType, CSSProperties, VNode, RendererNode, RendererElement, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions } from 'vue';
4
5
  export default _sfc_main;
5
- declare const _sfc_main: DefineComponent<{
6
+ declare const _sfc_main: DefineComponent<ExtractPropTypes<{
6
7
  value: StringConstructor;
7
- }, {
8
+ }>, {
8
9
  extensions: LanguageSupport[];
9
- internalValue: Ref<string | undefined>;
10
+ internalValue: Ref<string | undefined, string | undefined>;
10
11
  onUpdateValue: (newVal: any) => void;
11
- }, any, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:value"[], "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
12
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:value"[], "update:value", PublicProps, Readonly<ExtractPropTypes<{
12
13
  value: StringConstructor;
13
- }>> & {
14
+ }>> & Readonly<{
14
15
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
15
- }, {}>;
16
+ }>, {}, {}, {
17
+ Codemirror: DefineComponent<{
18
+ modelValue: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ autofocus: {
23
+ type: BooleanConstructor;
24
+ default: undefined;
25
+ };
26
+ disabled: {
27
+ type: BooleanConstructor;
28
+ default: undefined;
29
+ };
30
+ indentWithTab: {
31
+ type: BooleanConstructor;
32
+ default: undefined;
33
+ };
34
+ tabSize: NumberConstructor;
35
+ placeholder: StringConstructor;
36
+ style: PropType<CSSProperties>;
37
+ autoDestroy: {
38
+ type: BooleanConstructor;
39
+ default: undefined;
40
+ };
41
+ phrases: PropType<Record<string, string>>;
42
+ root: PropType<Document | ShadowRoot>;
43
+ extensions: PropType<Extension | undefined>;
44
+ selection: PropType<EditorSelection | {
45
+ anchor: number;
46
+ head?: number | undefined;
47
+ } | undefined>;
48
+ }, () => VNode<RendererNode, RendererElement, {
49
+ [key: string]: any;
50
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
51
+ "update:modelValue": (value: string, viewUpdate: ViewUpdate) => boolean;
52
+ change: (value: string, viewUpdate: ViewUpdate) => boolean;
53
+ update: (viewUpdate: ViewUpdate) => boolean;
54
+ focus: (viewUpdate: ViewUpdate) => boolean;
55
+ blur: (viewUpdate: ViewUpdate) => boolean;
56
+ ready: (payload: {
57
+ view: EditorView;
58
+ state: EditorState;
59
+ container: HTMLDivElement;
60
+ }) => boolean;
61
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
62
+ modelValue: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ autofocus: {
67
+ type: BooleanConstructor;
68
+ default: undefined;
69
+ };
70
+ disabled: {
71
+ type: BooleanConstructor;
72
+ default: undefined;
73
+ };
74
+ indentWithTab: {
75
+ type: BooleanConstructor;
76
+ default: undefined;
77
+ };
78
+ tabSize: NumberConstructor;
79
+ placeholder: StringConstructor;
80
+ style: PropType<CSSProperties>;
81
+ autoDestroy: {
82
+ type: BooleanConstructor;
83
+ default: undefined;
84
+ };
85
+ phrases: PropType<Record<string, string>>;
86
+ root: PropType<Document | ShadowRoot>;
87
+ extensions: PropType<Extension | undefined>;
88
+ selection: PropType<EditorSelection | {
89
+ anchor: number;
90
+ head?: number | undefined;
91
+ } | undefined>;
92
+ }>> & {
93
+ onChange?: ((value: string, viewUpdate: ViewUpdate) => any) | undefined;
94
+ onUpdate?: ((viewUpdate: ViewUpdate) => any) | undefined;
95
+ onFocus?: ((viewUpdate: ViewUpdate) => any) | undefined;
96
+ onBlur?: ((viewUpdate: ViewUpdate) => any) | undefined;
97
+ onReady?: ((payload: {
98
+ view: EditorView;
99
+ state: EditorState;
100
+ container: HTMLDivElement;
101
+ }) => any) | undefined;
102
+ "onUpdate:modelValue"?: ((value: string, viewUpdate: ViewUpdate) => any) | undefined;
103
+ }, {
104
+ autofocus: boolean;
105
+ disabled: boolean;
106
+ indentWithTab: boolean;
107
+ autoDestroy: boolean;
108
+ modelValue: string;
109
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
110
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,3 +1,32 @@
1
- import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from '@vue/runtime-core';
2
- declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1
+ import type { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _sfc_main: DefineComponent<ExtractPropTypes<{
3
+ basicFields: {
4
+ type: ArrayConstructor;
5
+ default(): never[];
6
+ };
7
+ layoutFields: {
8
+ type: ArrayConstructor;
9
+ default(): never[];
10
+ };
11
+ }>, {}, {
12
+ formcomponents: any[];
13
+ filterContent: string;
14
+ }, {
15
+ newcomponentlist(): any;
16
+ layoutList(): any;
17
+ }, {
18
+ clickAddControl(item: any): void;
19
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
20
+ basicFields: {
21
+ type: ArrayConstructor;
22
+ default(): never[];
23
+ };
24
+ layoutFields: {
25
+ type: ArrayConstructor;
26
+ default(): never[];
27
+ };
28
+ }>> & Readonly<{}>, {
29
+ basicFields: unknown[];
30
+ layoutFields: unknown[];
31
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
32
  export default _sfc_main;
@@ -1,23 +1,80 @@
1
- import type { Ref, ComputedRef } from '@vue/reactivity';
2
- import type { DefineComponent, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '@vue/runtime-core';
1
+ import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions, ComputedOptions, MethodOptions } from 'vue';
3
2
  declare const _sfc_main: DefineComponent<{}, {
4
- code: Ref<any>;
3
+ code: Ref<any, any>;
5
4
  pageType: ComputedRef<any>;
6
- codeDialog: Ref<any>;
5
+ codeDialog: Ref<any, any>;
7
6
  globalDatas: ComputedRef<any>;
8
7
  dialogWidth: ComputedRef<any>;
9
8
  previewShow: ComputedRef<any>;
10
- previewDialog: Ref<any>;
9
+ previewDialog: Ref<any, any>;
11
10
  handlePreviewShow: () => void;
12
- JsonViewerDialog: Ref<any>;
11
+ JsonViewerDialog: Ref<any, any>;
13
12
  allFormList: ComputedRef<any>;
14
13
  formResult: ComputedRef<any>;
15
- dynamicform: Ref<any>;
14
+ dynamicform: Ref<any, any>;
16
15
  resetForm(): void;
17
16
  closeDialog(): void;
18
17
  getData(): void;
19
18
  closeCodeDialog(): void;
20
19
  copyJson(): void;
21
20
  saveFile(fileName?: string): void;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
21
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
22
+ Dynamicform: DefineComponent<ExtractPropTypes<{
23
+ allFormList: {
24
+ type: PropType<any>;
25
+ default(): never[];
26
+ };
27
+ formResult: {
28
+ type: ObjectConstructor;
29
+ default(): {};
30
+ };
31
+ globalConfig: {
32
+ type: ObjectConstructor;
33
+ default(): {};
34
+ };
35
+ readonly: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ search: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ }>, {
44
+ rules: any;
45
+ ruleForm: Ref<any, any>;
46
+ controlObj: Ref<any, any>;
47
+ handleControlChange: () => void;
48
+ reset: () => void;
49
+ getValidate: () => Promise<unknown>;
50
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
51
+ allFormList: {
52
+ type: PropType<any>;
53
+ default(): never[];
54
+ };
55
+ formResult: {
56
+ type: ObjectConstructor;
57
+ default(): {};
58
+ };
59
+ globalConfig: {
60
+ type: ObjectConstructor;
61
+ default(): {};
62
+ };
63
+ readonly: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ search: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ }>> & Readonly<{}>, {
72
+ search: boolean;
73
+ readonly: boolean;
74
+ allFormList: any;
75
+ formResult: Record<string, any>;
76
+ globalConfig: Record<string, any>;
77
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
78
+ JsonCode: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
79
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
23
80
  export default _sfc_main;
@@ -1,9 +1,9 @@
1
- import type { DefineComponent, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '@vue/runtime-core';
1
+ import type { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  /**
3
3
  * 2022.7.1想到的优化点
4
4
  * 新增json导入导出功能
5
5
  */
6
6
  declare const _sfc_main: DefineComponent<{}, {
7
7
  onLink(): void;
8
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
8
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
9
9
  export default _sfc_main;
@@ -1,8 +1,6 @@
1
- import type { Ref } from '@vue/reactivity';
2
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '@vue/runtime-core';
3
- import { ComputedRef } from "vue";
1
+ import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComputedOptions, MethodOptions, ComponentProvideOptions, ComputedRef } from 'vue';
4
2
  import type { TabPaneInstance } from "element-plus";
5
- declare const _sfc_main: DefineComponent<{
3
+ declare const _sfc_main: DefineComponent<ExtractPropTypes<{
6
4
  column: {
7
5
  type: BooleanConstructor;
8
6
  default: boolean;
@@ -11,28 +9,28 @@ declare const _sfc_main: DefineComponent<{
11
9
  type: ArrayConstructor;
12
10
  default: () => string[];
13
11
  };
14
- }, {
12
+ }>, {
15
13
  emptyImg: string;
16
14
  lightEmptyImg: string;
17
- themeStr: Ref<string>;
15
+ themeStr: Ref<string, string>;
18
16
  globalFormLists: ComputedRef<any>;
19
17
  globalDatas: ComputedRef<any>;
20
- jsonCenter: Ref<any>;
18
+ jsonCenter: Ref<any, any>;
21
19
  handleClick: (tab: TabPaneInstance) => void;
22
20
  jsonEditor: any;
23
21
  onEditor: (editor: any) => void;
24
- activeName: Ref<string>;
22
+ activeName: Ref<string, string>;
25
23
  handleMouseDown: () => Promise<void>;
26
- moduleIsHidden: Ref<boolean>;
24
+ moduleIsHidden: Ref<boolean, boolean>;
27
25
  handleEditBtn: () => void;
28
- isTransition: Ref<boolean>;
29
- editRight: Ref<any>;
26
+ isTransition: Ref<boolean, boolean>;
27
+ editRight: Ref<any, any>;
30
28
  controlItems: ComputedRef<any>;
31
29
  curControl: ComputedRef<any>;
32
- ruleForm: Ref<any>;
33
- show: Ref<boolean>;
30
+ ruleForm: Ref<any, any>;
31
+ show: Ref<boolean, boolean>;
34
32
  currentIndex: ComputedRef<any>;
35
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
33
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
36
34
  column: {
37
35
  type: BooleanConstructor;
38
36
  default: boolean;
@@ -41,8 +39,18 @@ declare const _sfc_main: DefineComponent<{
41
39
  type: ArrayConstructor;
42
40
  default: () => string[];
43
41
  };
44
- }>>, {
42
+ }>> & Readonly<{}>, {
45
43
  panel: unknown[];
46
44
  column: boolean;
47
- }>;
45
+ }, {}, {
46
+ ControllEditSize: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
47
+ jsonEnter: DefineComponent<{}, {
48
+ initJsonCenter: () => any;
49
+ jsonCenter: Ref<any, any>;
50
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
51
+ globalFormComponent: DefineComponent<{}, {
52
+ globalFormLists: ComputedRef<any>;
53
+ globalDatas: ComputedRef<any>;
54
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
55
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
48
56
  export default _sfc_main;
@@ -1,6 +1,5 @@
1
- import type { Ref, ComputedRef } from '@vue/reactivity';
2
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '@vue/runtime-core';
3
- declare const _sfc_main: DefineComponent<{
1
+ import type { DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _sfc_main: DefineComponent<ExtractPropTypes<{
4
3
  active: BooleanConstructor;
5
4
  currentIndex: NumberConstructor;
6
5
  len: {
@@ -11,17 +10,17 @@ declare const _sfc_main: DefineComponent<{
11
10
  layout: BooleanConstructor;
12
11
  currentId: StringConstructor;
13
12
  item: ObjectConstructor;
14
- }, {
15
- isShow: Ref<boolean>;
13
+ }>, {
14
+ isShow: Ref<boolean, boolean>;
16
15
  handleShortCut: (e: MouseEvent) => void;
17
16
  handleMenu: () => void;
18
- editForm: Ref<any>;
17
+ editForm: Ref<any, any>;
19
18
  handleActive: (type: string) => void;
20
19
  handleCopyAndPaste: () => void;
21
20
  copyContent: ComputedRef<any>;
22
21
  handleColumn: () => void;
23
22
  handleRow: () => void;
24
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
23
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
25
24
  active: BooleanConstructor;
26
25
  currentIndex: NumberConstructor;
27
26
  len: {
@@ -32,10 +31,10 @@ declare const _sfc_main: DefineComponent<{
32
31
  layout: BooleanConstructor;
33
32
  currentId: StringConstructor;
34
33
  item: ObjectConstructor;
35
- }>>, {
34
+ }>> & Readonly<{}>, {
36
35
  active: boolean;
37
- len: number;
38
36
  inline: boolean;
39
37
  layout: boolean;
40
- }>;
38
+ len: number;
39
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
41
40
  export default _sfc_main;