starfish-editor-custom 1.0.1 → 1.0.2

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 (77) hide show
  1. package/components.d.ts +2 -0
  2. package/dist/ConditionModule.js +63 -63
  3. package/dist/ConditionSelect.js +32 -32
  4. package/dist/CustomDialog.js +3 -3
  5. package/dist/formStyle.js +25 -33
  6. package/dist/globalFormList.js +2 -2
  7. package/dist/jsonCode.js +4 -3
  8. package/dist/jsonEditor.js +3 -3
  9. package/dist/main.js +270 -326
  10. package/dist/starfish-editor.es.js +2 -2
  11. package/dist/style.css +1 -1
  12. package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionGroup.vue.d.ts +18 -0
  13. package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionModule.vue.d.ts +17 -0
  14. package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionTanc.vue.d.ts +30 -0
  15. package/dist/types/{common → editor/src/common}/ConditionSelect.vue.d.ts +14 -36
  16. package/dist/types/editor/src/common/CustomDialog.vue.d.ts +26 -0
  17. package/dist/types/editor/src/common/Loading.vue.d.ts +3 -0
  18. package/dist/types/editor/src/common/jsonCode.vue.d.ts +15 -0
  19. package/dist/types/editor/src/components/ComponentList.vue.d.ts +3 -0
  20. package/dist/types/editor/src/components/FormPreview.vue.d.ts +23 -0
  21. package/dist/types/editor/src/components/Nav.vue.d.ts +9 -0
  22. package/dist/types/editor/src/components/PropsPanel.vue.d.ts +45 -0
  23. package/dist/types/{components → editor/src/components}/Shape.vue.d.ts +10 -9
  24. package/dist/types/editor/src/components/Workspace.vue.d.ts +23 -0
  25. package/dist/types/editor/src/components/globalFormList.vue.d.ts +7 -0
  26. package/dist/types/editor/src/components/jsonEditor.vue.d.ts +7 -0
  27. package/dist/types/{controller → editor/src/controller}/action.d.ts +1 -1
  28. package/dist/types/{controller → editor/src/controller}/form.d.ts +1 -1
  29. package/dist/types/{controller → editor/src/controller}/history.d.ts +1 -1
  30. package/dist/types/{controller → editor/src/controller}/shortcut.d.ts +1 -1
  31. package/dist/types/{controller → editor/src/controller}/ui.d.ts +1 -1
  32. package/dist/types/editor/src/layouts/ControlEditSize.vue.d.ts +11 -0
  33. package/dist/types/editor/src/layouts/Framework.vue.d.ts +21 -0
  34. package/dist/types/editor/src/layouts/Resizer.vue.d.ts +14 -0
  35. package/dist/types/editor/src/layouts/ShortcutKey.vue.d.ts +8 -0
  36. package/dist/types/editor/src/starfish-editor.vue.d.ts +103 -0
  37. package/dist/types/{type.d.ts → editor/src/type.d.ts} +8 -8
  38. package/dist/types/{utils → editor/src/utils}/formKeycon.d.ts +1 -1
  39. package/dist/types/starfish-editor.d.ts +2 -2
  40. package/package.json +55 -55
  41. package/src/common/ConditionSelect/ConditionGroup.vue +3 -3
  42. package/src/common/ConditionSelect/ConditionTanc.vue +1 -1
  43. package/src/common/ConditionSelect.vue +1 -1
  44. package/src/common/formJson.ts +34 -34
  45. package/src/common/formStyle.vue +5 -0
  46. package/src/common/jsonCode.vue +8 -2
  47. package/src/components/ComponentList.vue +6 -2
  48. package/src/components/FormPreview.vue +1 -1
  49. package/src/components/NavList.vue +6 -6
  50. package/src/components/PropsPanel.vue +1 -1
  51. package/src/components/Workspace.vue +1 -0
  52. package/src/main.ts +2 -2
  53. package/src/styles/component-list.scss +7 -3
  54. package/src/type.ts +1 -1
  55. package/stats.html +1439 -104
  56. package/dist/types/common/CustomDialog.vue.d.ts +0 -25
  57. package/dist/types/common/Loading.vue.d.ts +0 -3
  58. package/dist/types/common/formStyle.vue.d.ts +0 -139
  59. package/dist/types/common/jsonCode.vue.d.ts +0 -110
  60. package/dist/types/components/ComponentList.vue.d.ts +0 -32
  61. package/dist/types/components/FormPreview.vue.d.ts +0 -25
  62. package/dist/types/components/Nav.vue.d.ts +0 -9
  63. package/dist/types/components/PropsPanel.vue.d.ts +0 -53
  64. package/dist/types/components/Workspace.vue.d.ts +0 -22
  65. package/dist/types/components/globalFormList.vue.d.ts +0 -6
  66. package/dist/types/components/jsonEditor.vue.d.ts +0 -6
  67. package/dist/types/layouts/ControlEditSize.vue.d.ts +0 -17
  68. package/dist/types/layouts/Framework.vue.d.ts +0 -33
  69. package/dist/types/layouts/Resizer.vue.d.ts +0 -13
  70. package/dist/types/layouts/ShortcutKey.vue.d.ts +0 -8
  71. package/dist/types/starfish-editor.vue.d.ts +0 -109
  72. /package/dist/types/{common → editor/src/common}/formJson.d.ts +0 -0
  73. /package/dist/types/{main.d.ts → editor/src/main.d.ts} +0 -0
  74. /package/dist/types/{shims-vue.d.ts → editor/src/shims-vue.d.ts} +0 -0
  75. /package/dist/types/{utils → editor/src/utils}/_.d.ts +0 -0
  76. /package/dist/types/{utils → editor/src/utils}/shortcutKey.d.ts +0 -0
  77. /package/dist/types/{utils → editor/src/utils}/vm.d.ts +0 -0
@@ -1,25 +0,0 @@
1
- import type { DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<ExtractPropTypes<{
3
- dialogclass: StringConstructor;
4
- showDialog: BooleanConstructor;
5
- width: NumberConstructor;
6
- }>, {
7
- isshow: Ref<boolean, boolean>;
8
- title: Ref<string, string>;
9
- icon: Ref<string, string>;
10
- isFullScreen: Ref<boolean, boolean>;
11
- newWidth: ComputedRef<string>;
12
- init(titles: string, icons: string): void;
13
- show(): void;
14
- close(): void;
15
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("close" | "open")[], "close" | "open", PublicProps, Readonly<ExtractPropTypes<{
16
- dialogclass: StringConstructor;
17
- showDialog: BooleanConstructor;
18
- width: NumberConstructor;
19
- }>> & Readonly<{
20
- onClose?: ((...args: any[]) => any) | undefined;
21
- onOpen?: ((...args: any[]) => any) | undefined;
22
- }>, {
23
- showDialog: boolean;
24
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
25
- export default _sfc_main;
@@ -1,3 +0,0 @@
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
- export default _default;
@@ -1,139 +0,0 @@
1
- import type { ViewUpdate, EditorView } from '@codemirror/view';
2
- import type { Extension, EditorSelection, EditorState } from '@codemirror/state';
3
- import type { LanguageSupport } from '@codemirror/language';
4
- import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, PropType, CSSProperties, VNode, RendererNode, RendererElement, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions } from 'vue';
5
- declare const _sfc_main: DefineComponent<ExtractPropTypes<{
6
- item: {
7
- type: ObjectConstructor;
8
- default: () => {};
9
- };
10
- data: {
11
- type: ObjectConstructor;
12
- default: () => {};
13
- };
14
- controlItems: {
15
- type: ArrayConstructor;
16
- default: () => never[];
17
- };
18
- }>, {
19
- code: Ref<any, any>;
20
- extensions: LanguageSupport[];
21
- codeDialog: Ref<any, any>;
22
- onStyleSet(): void;
23
- saveCssStyle(): void;
24
- closeCodeDialog(): void;
25
- extractCssClass(): void;
26
- insertCustomCssToHead(cssCode: string): void;
27
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
28
- item: {
29
- type: ObjectConstructor;
30
- default: () => {};
31
- };
32
- data: {
33
- type: ObjectConstructor;
34
- default: () => {};
35
- };
36
- controlItems: {
37
- type: ArrayConstructor;
38
- default: () => never[];
39
- };
40
- }>> & Readonly<{}>, {
41
- data: Record<string, any>;
42
- item: Record<string, any>;
43
- controlItems: unknown[];
44
- }, {}, {
45
- Codemirror: DefineComponent<{
46
- modelValue: {
47
- type: StringConstructor;
48
- default: string;
49
- };
50
- autofocus: {
51
- type: BooleanConstructor;
52
- default: undefined;
53
- };
54
- disabled: {
55
- type: BooleanConstructor;
56
- default: undefined;
57
- };
58
- indentWithTab: {
59
- type: BooleanConstructor;
60
- default: undefined;
61
- };
62
- tabSize: NumberConstructor;
63
- placeholder: StringConstructor;
64
- style: PropType<CSSProperties>;
65
- autoDestroy: {
66
- type: BooleanConstructor;
67
- default: undefined;
68
- };
69
- phrases: PropType<Record<string, string>>;
70
- root: PropType<Document | ShadowRoot>;
71
- extensions: PropType<Extension | undefined>;
72
- selection: PropType<EditorSelection | {
73
- anchor: number;
74
- head?: number | undefined;
75
- } | undefined>;
76
- }, () => VNode<RendererNode, RendererElement, {
77
- [key: string]: any;
78
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
79
- "update:modelValue": (value: string, viewUpdate: ViewUpdate) => boolean;
80
- change: (value: string, viewUpdate: ViewUpdate) => boolean;
81
- update: (viewUpdate: ViewUpdate) => boolean;
82
- focus: (viewUpdate: ViewUpdate) => boolean;
83
- blur: (viewUpdate: ViewUpdate) => boolean;
84
- ready: (payload: {
85
- view: EditorView;
86
- state: EditorState;
87
- container: HTMLDivElement;
88
- }) => boolean;
89
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
90
- modelValue: {
91
- type: StringConstructor;
92
- default: string;
93
- };
94
- autofocus: {
95
- type: BooleanConstructor;
96
- default: undefined;
97
- };
98
- disabled: {
99
- type: BooleanConstructor;
100
- default: undefined;
101
- };
102
- indentWithTab: {
103
- type: BooleanConstructor;
104
- default: undefined;
105
- };
106
- tabSize: NumberConstructor;
107
- placeholder: StringConstructor;
108
- style: PropType<CSSProperties>;
109
- autoDestroy: {
110
- type: BooleanConstructor;
111
- default: undefined;
112
- };
113
- phrases: PropType<Record<string, string>>;
114
- root: PropType<Document | ShadowRoot>;
115
- extensions: PropType<Extension | undefined>;
116
- selection: PropType<EditorSelection | {
117
- anchor: number;
118
- head?: number | undefined;
119
- } | undefined>;
120
- }>> & {
121
- onChange?: ((value: string, viewUpdate: ViewUpdate) => any) | undefined;
122
- onUpdate?: ((viewUpdate: ViewUpdate) => any) | undefined;
123
- onFocus?: ((viewUpdate: ViewUpdate) => any) | undefined;
124
- onBlur?: ((viewUpdate: ViewUpdate) => any) | undefined;
125
- onReady?: ((payload: {
126
- view: EditorView;
127
- state: EditorState;
128
- container: HTMLDivElement;
129
- }) => any) | undefined;
130
- "onUpdate:modelValue"?: ((value: string, viewUpdate: ViewUpdate) => any) | undefined;
131
- }, {
132
- autofocus: boolean;
133
- disabled: boolean;
134
- indentWithTab: boolean;
135
- autoDestroy: boolean;
136
- modelValue: string;
137
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
138
- }, {}, string, ComponentProvideOptions, true, {}, any>;
139
- export default _sfc_main;
@@ -1,110 +0,0 @@
1
- import type { ViewUpdate, EditorView } from '@codemirror/view';
2
- import type { Extension, EditorSelection, EditorState } from '@codemirror/state';
3
- import type { LanguageSupport } from '@codemirror/language';
4
- import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, PropType, CSSProperties, VNode, RendererNode, RendererElement, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions } from 'vue';
5
- export default _sfc_main;
6
- declare const _sfc_main: DefineComponent<ExtractPropTypes<{
7
- value: StringConstructor;
8
- }>, {
9
- extensions: LanguageSupport[];
10
- internalValue: Ref<string | undefined, string | undefined>;
11
- onUpdateValue: (newVal: any) => void;
12
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:value"[], "update:value", PublicProps, Readonly<ExtractPropTypes<{
13
- value: StringConstructor;
14
- }>> & Readonly<{
15
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
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,32 +0,0 @@
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>;
32
- export default _sfc_main;
@@ -1,25 +0,0 @@
1
- import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComputedOptions, MethodOptions, ExtractPropTypes, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<{}, {
3
- code: Ref<any, any>;
4
- pageType: ComputedRef<any>;
5
- codeDialog: Ref<any, any>;
6
- globalDatas: ComputedRef<any>;
7
- dialogWidth: ComputedRef<any>;
8
- previewShow: ComputedRef<any>;
9
- previewDialog: Ref<any, any>;
10
- handlePreviewShow: () => void;
11
- JsonViewerDialog: Ref<any, any>;
12
- allFormList: ComputedRef<any>;
13
- formResult: ComputedRef<any>;
14
- dynamicform: Ref<any, any>;
15
- resetForm(): void;
16
- closeDialog(): void;
17
- getData(): void;
18
- closeCodeDialog(): void;
19
- copyJson(): void;
20
- saveFile(fileName?: string): void;
21
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
22
- Dynamicform: any;
23
- JsonCode: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
24
- }, {}, string, ComponentProvideOptions, true, {}, any>;
25
- export default _sfc_main;
@@ -1,9 +0,0 @@
1
- import type { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- /**
3
- * 2022.7.1想到的优化点
4
- * 新增json导入导出功能
5
- */
6
- declare const _sfc_main: DefineComponent<{}, {
7
- onLink(): void;
8
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
9
- export default _sfc_main;
@@ -1,53 +0,0 @@
1
- import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComputedOptions, MethodOptions, ComponentProvideOptions, ComputedRef } from 'vue';
2
- import type { TabPaneInstance } from "element-plus";
3
- declare const _sfc_main: DefineComponent<ExtractPropTypes<{
4
- column: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
8
- panel: {
9
- type: ArrayConstructor;
10
- default: () => string[];
11
- };
12
- }>, {
13
- globalFormLists: ComputedRef<any>;
14
- globalDatas: ComputedRef<any>;
15
- jsonCenter: Ref<any, any>;
16
- handleClick: (tab: TabPaneInstance) => void;
17
- jsonEditor: any;
18
- onEditor: (editor: any) => void;
19
- activeName: Ref<string, string>;
20
- handleMouseDown: () => Promise<void>;
21
- moduleIsHidden: Ref<boolean, boolean>;
22
- handleEditBtn: () => void;
23
- isTransition: Ref<boolean, boolean>;
24
- editRight: Ref<any, any>;
25
- controlItems: ComputedRef<any>;
26
- curControl: ComputedRef<any>;
27
- ruleForm: Ref<any, any>;
28
- show: Ref<boolean, boolean>;
29
- currentIndex: ComputedRef<any>;
30
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
31
- column: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- panel: {
36
- type: ArrayConstructor;
37
- default: () => string[];
38
- };
39
- }>> & Readonly<{}>, {
40
- panel: unknown[];
41
- column: boolean;
42
- }, {}, {
43
- ControllEditSize: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
44
- jsonEnter: DefineComponent<{}, {
45
- initJsonCenter: () => any;
46
- jsonCenter: Ref<any, any>;
47
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
48
- globalFormComponent: DefineComponent<{}, {
49
- globalFormLists: ComputedRef<any>;
50
- globalDatas: ComputedRef<any>;
51
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
- }, {}, string, ComponentProvideOptions, true, {}, any>;
53
- export default _sfc_main;
@@ -1,22 +0,0 @@
1
- import type { DefineComponent, ComputedRef, Ref, WritableComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<{}, {
3
- scale: ComputedRef<any>;
4
- globalDatas: ComputedRef<any>;
5
- canvasBox: Ref<any, any>;
6
- editForm: Ref<any, any>;
7
- handleCanvasSize: (size: string) => void;
8
- pageType: ComputedRef<any>;
9
- canvasSize: Ref<number, number>;
10
- dragDom: Ref<any, any>;
11
- chooseClick: (e: any) => void;
12
- addControl: (e: any) => void;
13
- changePos: (e: any) => void;
14
- allmainList: WritableComputedRef<any, AllFormItem[]>;
15
- currentId: ComputedRef<any>;
16
- handleNoDraggable: (e: any) => void;
17
- handlePaste: () => void;
18
- pasteShow: Ref<boolean, boolean>;
19
- fullScreen: ComputedRef<any>;
20
- onEditorCenter: (e: any) => void;
21
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
22
- export default _sfc_main;
@@ -1,6 +0,0 @@
1
- import type { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<{}, {
3
- globalFormLists: ComputedRef<any>;
4
- globalDatas: ComputedRef<any>;
5
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6
- export default _sfc_main;
@@ -1,6 +0,0 @@
1
- import type { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- export default _sfc_main;
3
- declare const _sfc_main: DefineComponent<{}, {
4
- initJsonCenter: () => any;
5
- jsonCenter: Ref<any, any>;
6
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,17 +0,0 @@
1
- import type { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, Reactive, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<{}, {
3
- size: ComputedRef<any>;
4
- handleCanvasSize: (size?: number) => void;
5
- controllerSize: Ref<any, any>;
6
- shortCutShow: Ref<boolean, boolean>;
7
- handleShortCutHidden: () => void;
8
- handleShortcutShow: () => void;
9
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
10
- shortcutKey: DefineComponent<{}, {
11
- keyList: Reactive<{
12
- key: string;
13
- value: string;
14
- }[]>;
15
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
16
- }, {}, string, ComponentProvideOptions, true, {}, any>;
17
- export default _sfc_main;
@@ -1,33 +0,0 @@
1
- import type { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, Ref, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<ExtractPropTypes<{
3
- headerShow: {
4
- type: BooleanConstructor;
5
- default: boolean;
6
- };
7
- }>, {
8
- columnWidth: any;
9
- leftClose: any;
10
- rightClose: any;
11
- onLeftArrow: () => void;
12
- onRightArrow: () => void;
13
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
14
- headerShow: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- }>> & Readonly<{}>, {
19
- headerShow: boolean;
20
- }, {}, {
21
- Resizer: DefineComponent<ExtractPropTypes<{
22
- type: {
23
- type: StringConstructor;
24
- };
25
- }>, {
26
- target: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
27
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
28
- type: {
29
- type: StringConstructor;
30
- };
31
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
32
- }, {}, string, ComponentProvideOptions, true, {}, any>;
33
- export default _sfc_main;
@@ -1,13 +0,0 @@
1
- import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<ExtractPropTypes<{
3
- type: {
4
- type: StringConstructor;
5
- };
6
- }>, {
7
- target: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
8
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
9
- type: {
10
- type: StringConstructor;
11
- };
12
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
13
- export default _sfc_main;
@@ -1,8 +0,0 @@
1
- import type { DefineComponent, Reactive, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _sfc_main: DefineComponent<{}, {
3
- keyList: Reactive<{
4
- key: string;
5
- value: string;
6
- }[]>;
7
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8
- export default _sfc_main;
@@ -1,109 +0,0 @@
1
- import type { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComputedOptions, MethodOptions, ComponentProvideOptions, PropType } from 'vue';
2
- import type { MenuBarData } from "./type";
3
- declare const _sfc_main: DefineComponent<ExtractPropTypes<{
4
- /**
5
- * 基础控件
6
- */
7
- basicFields: {
8
- type: ArrayConstructor;
9
- default(): never[];
10
- };
11
- /**
12
- * 布局控件
13
- */
14
- layoutFields: {
15
- type: ArrayConstructor;
16
- default(): never[];
17
- };
18
- /**
19
- * 是否禁用快捷键
20
- */
21
- shortcutDisabled: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- /**
26
- * 导航头是否展示
27
- */
28
- headerShow: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- /** 顶部工具栏配置 */
33
- menu: {
34
- type: PropType<MenuBarData>;
35
- default: () => {
36
- left: never[];
37
- right: never[];
38
- column: boolean;
39
- };
40
- };
41
- panel: {
42
- type: ArrayConstructor;
43
- default: () => string[];
44
- };
45
- }>, {
46
- workspace: Ref<any, any>;
47
- formPreview: Ref<any, any>;
48
- onSave(): void;
49
- getJson(): void;
50
- setJson(jsonList: any[]): void;
51
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
52
- /**
53
- * 基础控件
54
- */
55
- basicFields: {
56
- type: ArrayConstructor;
57
- default(): never[];
58
- };
59
- /**
60
- * 布局控件
61
- */
62
- layoutFields: {
63
- type: ArrayConstructor;
64
- default(): never[];
65
- };
66
- /**
67
- * 是否禁用快捷键
68
- */
69
- shortcutDisabled: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- /**
74
- * 导航头是否展示
75
- */
76
- headerShow: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- /** 顶部工具栏配置 */
81
- menu: {
82
- type: PropType<MenuBarData>;
83
- default: () => {
84
- left: never[];
85
- right: never[];
86
- column: boolean;
87
- };
88
- };
89
- panel: {
90
- type: ArrayConstructor;
91
- default: () => string[];
92
- };
93
- }>> & Readonly<{}>, {
94
- basicFields: unknown[];
95
- layoutFields: unknown[];
96
- shortcutDisabled: boolean;
97
- headerShow: boolean;
98
- menu: MenuBarData;
99
- panel: unknown[];
100
- }, {}, {
101
- Framework: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
102
- NavList: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
103
- ComponentList: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
104
- Workspace: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
105
- PropsPanel: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
106
- FormPreview: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
107
- Nav: DefineComponent<{}, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
108
- }, {}, string, ComponentProvideOptions, true, {}, any>;
109
- export default _sfc_main;
File without changes
File without changes
File without changes