@tmagic/editor 1.4.16 → 1.5.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/style.css +2 -2
  2. package/dist/tmagic-editor.js +274 -265
  3. package/dist/tmagic-editor.umd.cjs +275 -262
  4. package/package.json +11 -15
  5. package/src/components/CodeParams.vue +1 -1
  6. package/src/editorProps.ts +2 -1
  7. package/src/fields/DataSourceInput.vue +2 -2
  8. package/src/fields/UISelect.vue +20 -15
  9. package/src/hooks/use-stage.ts +13 -7
  10. package/src/initService.ts +50 -53
  11. package/src/layouts/workspace/viewer/NodeListMenu.vue +2 -1
  12. package/src/layouts/workspace/viewer/Stage.vue +4 -3
  13. package/src/services/editor.ts +2 -2
  14. package/src/services/stageOverlay.ts +3 -1
  15. package/src/theme/page-bar.scss +2 -2
  16. package/src/utils/data-source/index.ts +25 -23
  17. package/src/utils/editor.ts +4 -3
  18. package/src/utils/index.ts +4 -0
  19. package/src/utils/operator.ts +3 -2
  20. package/src/utils/props.ts +2 -1
  21. package/types/index.d.ts +6484 -49
  22. package/src/shims-vue.d.ts +0 -6
  23. package/types/Editor.vue.d.ts +0 -2313
  24. package/types/components/CodeBlockEditor.vue.d.ts +0 -33
  25. package/types/components/CodeParams.vue.d.ts +0 -28
  26. package/types/components/ContentMenu.vue.d.ts +0 -81
  27. package/types/components/FloatingBox.vue.d.ts +0 -70
  28. package/types/components/Icon.vue.d.ts +0 -15
  29. package/types/components/Resizer.vue.d.ts +0 -16
  30. package/types/components/ScrollBar.vue.d.ts +0 -25
  31. package/types/components/ScrollViewer.vue.d.ts +0 -81
  32. package/types/components/SearchInput.vue.d.ts +0 -6
  33. package/types/components/SplitView.vue.d.ts +0 -72
  34. package/types/components/ToolButton.vue.d.ts +0 -41
  35. package/types/components/Tree.vue.d.ts +0 -83
  36. package/types/components/TreeNode.vue.d.ts +0 -83
  37. package/types/editorProps.d.ts +0 -111
  38. package/types/fields/Code.vue.d.ts +0 -44
  39. package/types/fields/CodeLink.vue.d.ts +0 -24
  40. package/types/fields/CodeSelect.vue.d.ts +0 -28
  41. package/types/fields/CodeSelectCol.vue.d.ts +0 -31
  42. package/types/fields/CondOpSelect.vue.d.ts +0 -17
  43. package/types/fields/DataSourceFieldSelect/FieldSelect.vue.d.ts +0 -36
  44. package/types/fields/DataSourceFieldSelect/Index.vue.d.ts +0 -31
  45. package/types/fields/DataSourceFields.vue.d.ts +0 -44
  46. package/types/fields/DataSourceInput.vue.d.ts +0 -34
  47. package/types/fields/DataSourceMethodSelect.vue.d.ts +0 -31
  48. package/types/fields/DataSourceMethods.vue.d.ts +0 -34
  49. package/types/fields/DataSourceMocks.vue.d.ts +0 -41
  50. package/types/fields/DataSourceSelect.vue.d.ts +0 -31
  51. package/types/fields/DisplayConds.vue.d.ts +0 -37
  52. package/types/fields/EventSelect.vue.d.ts +0 -17
  53. package/types/fields/KeyValue.vue.d.ts +0 -36
  54. package/types/fields/PageFragmentSelect.vue.d.ts +0 -31
  55. package/types/fields/UISelect.vue.d.ts +0 -20
  56. package/types/hooks/index.d.ts +0 -6
  57. package/types/hooks/use-code-block-edit.d.ts +0 -189
  58. package/types/hooks/use-data-source-edit.d.ts +0 -176
  59. package/types/hooks/use-data-source-method.d.ts +0 -187
  60. package/types/hooks/use-editor-content-height.d.ts +0 -3
  61. package/types/hooks/use-filter.d.ts +0 -7
  62. package/types/hooks/use-float-box.d.ts +0 -17
  63. package/types/hooks/use-getso.d.ts +0 -5
  64. package/types/hooks/use-next-float-box-position.d.ts +0 -15
  65. package/types/hooks/use-node-status.d.ts +0 -16
  66. package/types/hooks/use-stage.d.ts +0 -3
  67. package/types/hooks/use-window-rect.d.ts +0 -6
  68. package/types/icons/AppManageIcon.vue.d.ts +0 -2
  69. package/types/icons/CenterIcon.vue.d.ts +0 -2
  70. package/types/icons/CodeIcon.vue.d.ts +0 -2
  71. package/types/icons/FolderMinusIcon.vue.d.ts +0 -2
  72. package/types/icons/PinIcon.vue.d.ts +0 -2
  73. package/types/icons/PinnedIcon.vue.d.ts +0 -2
  74. package/types/initService.d.ts +0 -9
  75. package/types/layouts/AddPageBox.vue.d.ts +0 -15
  76. package/types/layouts/CodeEditor.vue.d.ts +0 -80
  77. package/types/layouts/Framework.vue.d.ts +0 -25
  78. package/types/layouts/NavMenu.vue.d.ts +0 -35
  79. package/types/layouts/PropsPanel.vue.d.ts +0 -535
  80. package/types/layouts/page-bar/AddButton.vue.d.ts +0 -16
  81. package/types/layouts/page-bar/PageBar.vue.d.ts +0 -36
  82. package/types/layouts/page-bar/PageBarScrollContainer.vue.d.ts +0 -29
  83. package/types/layouts/page-bar/PageList.vue.d.ts +0 -27
  84. package/types/layouts/page-bar/SwitchTypeButton.vue.d.ts +0 -20
  85. package/types/layouts/sidebar/ComponentListPanel.vue.d.ts +0 -10
  86. package/types/layouts/sidebar/Sidebar.vue.d.ts +0 -51
  87. package/types/layouts/sidebar/code-block/CodeBlockList.vue.d.ts +0 -32
  88. package/types/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts +0 -24
  89. package/types/layouts/sidebar/data-source/DataSourceConfigPanel.vue.d.ts +0 -31
  90. package/types/layouts/sidebar/data-source/DataSourceList.vue.d.ts +0 -18
  91. package/types/layouts/sidebar/data-source/DataSourceListPanel.vue.d.ts +0 -10
  92. package/types/layouts/sidebar/layer/LayerMenu.vue.d.ts +0 -41
  93. package/types/layouts/sidebar/layer/LayerNodeTool.vue.d.ts +0 -16
  94. package/types/layouts/sidebar/layer/LayerPanel.vue.d.ts +0 -25
  95. package/types/layouts/sidebar/layer/use-click.d.ts +0 -119
  96. package/types/layouts/sidebar/layer/use-drag.d.ts +0 -14
  97. package/types/layouts/sidebar/layer/use-keybinding.d.ts +0 -6
  98. package/types/layouts/sidebar/layer/use-node-status.d.ts +0 -16
  99. package/types/layouts/workspace/Breadcrumb.vue.d.ts +0 -2
  100. package/types/layouts/workspace/Workspace.vue.d.ts +0 -41
  101. package/types/layouts/workspace/viewer/NodeListMenu.vue.d.ts +0 -2
  102. package/types/layouts/workspace/viewer/Stage.vue.d.ts +0 -34
  103. package/types/layouts/workspace/viewer/StageOverlay.vue.d.ts +0 -2
  104. package/types/layouts/workspace/viewer/ViewerMenu.vue.d.ts +0 -42
  105. package/types/services/BaseService.d.ts +0 -65
  106. package/types/services/codeBlock.d.ts +0 -130
  107. package/types/services/componentList.d.ts +0 -16
  108. package/types/services/dataSource.d.ts +0 -68
  109. package/types/services/dep.d.ts +0 -33
  110. package/types/services/editor.d.ts +0 -180
  111. package/types/services/events.d.ts +0 -18
  112. package/types/services/history.d.ts +0 -26
  113. package/types/services/keybinding.d.ts +0 -40
  114. package/types/services/props.d.ts +0 -92
  115. package/types/services/stageOverlay.d.ts +0 -30
  116. package/types/services/storage.d.ts +0 -65
  117. package/types/services/ui.d.ts +0 -77
  118. package/types/type.d.ts +0 -657
  119. package/types/utils/compose.d.ts +0 -5
  120. package/types/utils/config.d.ts +0 -4
  121. package/types/utils/content-menu.d.ts +0 -7
  122. package/types/utils/data-source/formConfigs/base.d.ts +0 -2
  123. package/types/utils/data-source/formConfigs/http.d.ts +0 -3
  124. package/types/utils/data-source/index.d.ts +0 -10
  125. package/types/utils/editor.d.ts +0 -59
  126. package/types/utils/idle-task.d.ts +0 -13
  127. package/types/utils/index.d.ts +0 -6
  128. package/types/utils/keybinding-config.d.ts +0 -7
  129. package/types/utils/logger.d.ts +0 -5
  130. package/types/utils/monaco-editor.d.ts +0 -2
  131. package/types/utils/operator.d.ts +0 -21
  132. package/types/utils/props.d.ts +0 -23
  133. package/types/utils/scroll-viewer.d.ts +0 -37
  134. package/types/utils/tree.d.ts +0 -3
  135. package/types/utils/undo-redo.d.ts +0 -12
@@ -1,535 +0,0 @@
1
- import type { FormState, FormValue } from '@tmagic/form';
2
- import type { PropsPanelSlots } from '../type';
3
- declare function __VLS_template(): Readonly<PropsPanelSlots> & PropsPanelSlots;
4
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
- disabledShowSrc?: boolean;
6
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
7
- }>, {
8
- configForm: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
9
- popperClass: {
10
- type: import("vue").PropType<string>;
11
- };
12
- disabled: {
13
- type: import("vue").PropType<boolean>;
14
- default: boolean;
15
- };
16
- height: {
17
- type: import("vue").PropType<string>;
18
- default: string;
19
- };
20
- config: {
21
- type: import("vue").PropType<import("@tmagic/form").FormConfig>;
22
- required: true;
23
- default: () => never[];
24
- };
25
- size: {
26
- type: import("vue").PropType<"default" | "small" | "large">;
27
- };
28
- labelWidth: {
29
- type: import("vue").PropType<string>;
30
- default: string;
31
- };
32
- initValues: {
33
- type: import("vue").PropType<Record<string, any>>;
34
- required: true;
35
- default: () => {};
36
- };
37
- extendState: {
38
- type: import("vue").PropType<(state: FormState) => Record<string, any> | Promise<Record<string, any>>>;
39
- };
40
- lastValues: {
41
- type: import("vue").PropType<Record<string, any>>;
42
- default: () => {};
43
- };
44
- isCompare: {
45
- type: import("vue").PropType<boolean>;
46
- default: boolean;
47
- };
48
- parentValues: {
49
- type: import("vue").PropType<Record<string, any>>;
50
- default: () => {};
51
- };
52
- stepActive: {
53
- type: import("vue").PropType<string | number>;
54
- default: number;
55
- };
56
- inline: {
57
- type: import("vue").PropType<boolean>;
58
- default: boolean;
59
- };
60
- labelPosition: {
61
- type: import("vue").PropType<string>;
62
- default: string;
63
- };
64
- keyProp: {
65
- type: import("vue").PropType<string>;
66
- default: string;
67
- };
68
- }>> & {
69
- onChange?: ((...args: any[]) => any) | undefined;
70
- onError?: ((...args: any[]) => any) | undefined;
71
- "onField-input"?: ((...args: any[]) => any) | undefined;
72
- "onField-change"?: ((...args: any[]) => any) | undefined;
73
- }, {
74
- values: import("vue").Ref<FormValue, FormValue>;
75
- lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
76
- formState: FormState;
77
- initialized: import("vue").Ref<boolean, boolean>;
78
- changeHandler: () => void;
79
- resetForm: () => any;
80
- submitForm: (native?: boolean) => Promise<any>;
81
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
82
- change: (...args: any[]) => void;
83
- error: (...args: any[]) => void;
84
- "field-input": (...args: any[]) => void;
85
- "field-change": (...args: any[]) => void;
86
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
87
- popperClass: {
88
- type: import("vue").PropType<string>;
89
- };
90
- disabled: {
91
- type: import("vue").PropType<boolean>;
92
- default: boolean;
93
- };
94
- height: {
95
- type: import("vue").PropType<string>;
96
- default: string;
97
- };
98
- config: {
99
- type: import("vue").PropType<import("@tmagic/form").FormConfig>;
100
- required: true;
101
- default: () => never[];
102
- };
103
- size: {
104
- type: import("vue").PropType<"default" | "small" | "large">;
105
- };
106
- labelWidth: {
107
- type: import("vue").PropType<string>;
108
- default: string;
109
- };
110
- initValues: {
111
- type: import("vue").PropType<Record<string, any>>;
112
- required: true;
113
- default: () => {};
114
- };
115
- extendState: {
116
- type: import("vue").PropType<(state: FormState) => Record<string, any> | Promise<Record<string, any>>>;
117
- };
118
- lastValues: {
119
- type: import("vue").PropType<Record<string, any>>;
120
- default: () => {};
121
- };
122
- isCompare: {
123
- type: import("vue").PropType<boolean>;
124
- default: boolean;
125
- };
126
- parentValues: {
127
- type: import("vue").PropType<Record<string, any>>;
128
- default: () => {};
129
- };
130
- stepActive: {
131
- type: import("vue").PropType<string | number>;
132
- default: number;
133
- };
134
- inline: {
135
- type: import("vue").PropType<boolean>;
136
- default: boolean;
137
- };
138
- labelPosition: {
139
- type: import("vue").PropType<string>;
140
- default: string;
141
- };
142
- keyProp: {
143
- type: import("vue").PropType<string>;
144
- default: string;
145
- };
146
- }>> & {
147
- onChange?: ((...args: any[]) => any) | undefined;
148
- onError?: ((...args: any[]) => any) | undefined;
149
- "onField-input"?: ((...args: any[]) => any) | undefined;
150
- "onField-change"?: ((...args: any[]) => any) | undefined;
151
- }, {
152
- config: import("@tmagic/form").FormConfig;
153
- initValues: Record<string, any>;
154
- lastValues: Record<string, any>;
155
- isCompare: boolean;
156
- keyProp: string;
157
- parentValues: Record<string, any>;
158
- labelWidth: string;
159
- disabled: boolean;
160
- stepActive: string | number;
161
- height: string;
162
- inline: boolean;
163
- labelPosition: string;
164
- }, true, {}, {}, {
165
- P: {};
166
- B: {};
167
- D: {};
168
- C: {};
169
- M: {};
170
- Defaults: {};
171
- }, Readonly<import("vue").ExtractPropTypes<{
172
- popperClass: {
173
- type: import("vue").PropType<string>;
174
- };
175
- disabled: {
176
- type: import("vue").PropType<boolean>;
177
- default: boolean;
178
- };
179
- height: {
180
- type: import("vue").PropType<string>;
181
- default: string;
182
- };
183
- config: {
184
- type: import("vue").PropType<import("@tmagic/form").FormConfig>;
185
- required: true;
186
- default: () => never[];
187
- };
188
- size: {
189
- type: import("vue").PropType<"default" | "small" | "large">;
190
- };
191
- labelWidth: {
192
- type: import("vue").PropType<string>;
193
- default: string;
194
- };
195
- initValues: {
196
- type: import("vue").PropType<Record<string, any>>;
197
- required: true;
198
- default: () => {};
199
- };
200
- extendState: {
201
- type: import("vue").PropType<(state: FormState) => Record<string, any> | Promise<Record<string, any>>>;
202
- };
203
- lastValues: {
204
- type: import("vue").PropType<Record<string, any>>;
205
- default: () => {};
206
- };
207
- isCompare: {
208
- type: import("vue").PropType<boolean>;
209
- default: boolean;
210
- };
211
- parentValues: {
212
- type: import("vue").PropType<Record<string, any>>;
213
- default: () => {};
214
- };
215
- stepActive: {
216
- type: import("vue").PropType<string | number>;
217
- default: number;
218
- };
219
- inline: {
220
- type: import("vue").PropType<boolean>;
221
- default: boolean;
222
- };
223
- labelPosition: {
224
- type: import("vue").PropType<string>;
225
- default: string;
226
- };
227
- keyProp: {
228
- type: import("vue").PropType<string>;
229
- default: string;
230
- };
231
- }>> & {
232
- onChange?: ((...args: any[]) => any) | undefined;
233
- onError?: ((...args: any[]) => any) | undefined;
234
- "onField-input"?: ((...args: any[]) => any) | undefined;
235
- "onField-change"?: ((...args: any[]) => any) | undefined;
236
- }, {
237
- values: import("vue").Ref<FormValue, FormValue>;
238
- lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
239
- formState: FormState;
240
- initialized: import("vue").Ref<boolean, boolean>;
241
- changeHandler: () => void;
242
- resetForm: () => any;
243
- submitForm: (native?: boolean) => Promise<any>;
244
- }, {}, {}, {}, {
245
- config: import("@tmagic/form").FormConfig;
246
- initValues: Record<string, any>;
247
- lastValues: Record<string, any>;
248
- isCompare: boolean;
249
- keyProp: string;
250
- parentValues: Record<string, any>;
251
- labelWidth: string;
252
- disabled: boolean;
253
- stepActive: string | number;
254
- height: string;
255
- inline: boolean;
256
- labelPosition: string;
257
- }> | undefined, import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
258
- popperClass: {
259
- type: import("vue").PropType<string>;
260
- };
261
- disabled: {
262
- type: import("vue").PropType<boolean>;
263
- default: boolean;
264
- };
265
- height: {
266
- type: import("vue").PropType<string>;
267
- default: string;
268
- };
269
- config: {
270
- type: import("vue").PropType<import("@tmagic/form").FormConfig>;
271
- required: true;
272
- default: () => never[];
273
- };
274
- size: {
275
- type: import("vue").PropType<"default" | "small" | "large">;
276
- };
277
- labelWidth: {
278
- type: import("vue").PropType<string>;
279
- default: string;
280
- };
281
- initValues: {
282
- type: import("vue").PropType<Record<string, any>>;
283
- required: true;
284
- default: () => {};
285
- };
286
- extendState: {
287
- type: import("vue").PropType<(state: FormState) => Record<string, any> | Promise<Record<string, any>>>;
288
- };
289
- lastValues: {
290
- type: import("vue").PropType<Record<string, any>>;
291
- default: () => {};
292
- };
293
- isCompare: {
294
- type: import("vue").PropType<boolean>;
295
- default: boolean;
296
- };
297
- parentValues: {
298
- type: import("vue").PropType<Record<string, any>>;
299
- default: () => {};
300
- };
301
- stepActive: {
302
- type: import("vue").PropType<string | number>;
303
- default: number;
304
- };
305
- inline: {
306
- type: import("vue").PropType<boolean>;
307
- default: boolean;
308
- };
309
- labelPosition: {
310
- type: import("vue").PropType<string>;
311
- default: string;
312
- };
313
- keyProp: {
314
- type: import("vue").PropType<string>;
315
- default: string;
316
- };
317
- }>> & {
318
- onChange?: ((...args: any[]) => any) | undefined;
319
- onError?: ((...args: any[]) => any) | undefined;
320
- "onField-input"?: ((...args: any[]) => any) | undefined;
321
- "onField-change"?: ((...args: any[]) => any) | undefined;
322
- }, {
323
- values: import("vue").Ref<FormValue, FormValue>;
324
- lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
325
- formState: FormState;
326
- initialized: import("vue").Ref<boolean, boolean>;
327
- changeHandler: () => void;
328
- resetForm: () => any;
329
- submitForm: (native?: boolean) => Promise<any>;
330
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
331
- change: (...args: any[]) => void;
332
- error: (...args: any[]) => void;
333
- "field-input": (...args: any[]) => void;
334
- "field-change": (...args: any[]) => void;
335
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
336
- popperClass: {
337
- type: import("vue").PropType<string>;
338
- };
339
- disabled: {
340
- type: import("vue").PropType<boolean>;
341
- default: boolean;
342
- };
343
- height: {
344
- type: import("vue").PropType<string>;
345
- default: string;
346
- };
347
- config: {
348
- type: import("vue").PropType<import("@tmagic/form").FormConfig>;
349
- required: true;
350
- default: () => never[];
351
- };
352
- size: {
353
- type: import("vue").PropType<"default" | "small" | "large">;
354
- };
355
- labelWidth: {
356
- type: import("vue").PropType<string>;
357
- default: string;
358
- };
359
- initValues: {
360
- type: import("vue").PropType<Record<string, any>>;
361
- required: true;
362
- default: () => {};
363
- };
364
- extendState: {
365
- type: import("vue").PropType<(state: FormState) => Record<string, any> | Promise<Record<string, any>>>;
366
- };
367
- lastValues: {
368
- type: import("vue").PropType<Record<string, any>>;
369
- default: () => {};
370
- };
371
- isCompare: {
372
- type: import("vue").PropType<boolean>;
373
- default: boolean;
374
- };
375
- parentValues: {
376
- type: import("vue").PropType<Record<string, any>>;
377
- default: () => {};
378
- };
379
- stepActive: {
380
- type: import("vue").PropType<string | number>;
381
- default: number;
382
- };
383
- inline: {
384
- type: import("vue").PropType<boolean>;
385
- default: boolean;
386
- };
387
- labelPosition: {
388
- type: import("vue").PropType<string>;
389
- default: string;
390
- };
391
- keyProp: {
392
- type: import("vue").PropType<string>;
393
- default: string;
394
- };
395
- }>> & {
396
- onChange?: ((...args: any[]) => any) | undefined;
397
- onError?: ((...args: any[]) => any) | undefined;
398
- "onField-input"?: ((...args: any[]) => any) | undefined;
399
- "onField-change"?: ((...args: any[]) => any) | undefined;
400
- }, {
401
- config: import("@tmagic/form").FormConfig;
402
- initValues: Record<string, any>;
403
- lastValues: Record<string, any>;
404
- isCompare: boolean;
405
- keyProp: string;
406
- parentValues: Record<string, any>;
407
- labelWidth: string;
408
- disabled: boolean;
409
- stepActive: string | number;
410
- height: string;
411
- inline: boolean;
412
- labelPosition: string;
413
- }, true, {}, {}, {
414
- P: {};
415
- B: {};
416
- D: {};
417
- C: {};
418
- M: {};
419
- Defaults: {};
420
- }, Readonly<import("vue").ExtractPropTypes<{
421
- popperClass: {
422
- type: import("vue").PropType<string>;
423
- };
424
- disabled: {
425
- type: import("vue").PropType<boolean>;
426
- default: boolean;
427
- };
428
- height: {
429
- type: import("vue").PropType<string>;
430
- default: string;
431
- };
432
- config: {
433
- type: import("vue").PropType<import("@tmagic/form").FormConfig>;
434
- required: true;
435
- default: () => never[];
436
- };
437
- size: {
438
- type: import("vue").PropType<"default" | "small" | "large">;
439
- };
440
- labelWidth: {
441
- type: import("vue").PropType<string>;
442
- default: string;
443
- };
444
- initValues: {
445
- type: import("vue").PropType<Record<string, any>>;
446
- required: true;
447
- default: () => {};
448
- };
449
- extendState: {
450
- type: import("vue").PropType<(state: FormState) => Record<string, any> | Promise<Record<string, any>>>;
451
- };
452
- lastValues: {
453
- type: import("vue").PropType<Record<string, any>>;
454
- default: () => {};
455
- };
456
- isCompare: {
457
- type: import("vue").PropType<boolean>;
458
- default: boolean;
459
- };
460
- parentValues: {
461
- type: import("vue").PropType<Record<string, any>>;
462
- default: () => {};
463
- };
464
- stepActive: {
465
- type: import("vue").PropType<string | number>;
466
- default: number;
467
- };
468
- inline: {
469
- type: import("vue").PropType<boolean>;
470
- default: boolean;
471
- };
472
- labelPosition: {
473
- type: import("vue").PropType<string>;
474
- default: string;
475
- };
476
- keyProp: {
477
- type: import("vue").PropType<string>;
478
- default: string;
479
- };
480
- }>> & {
481
- onChange?: ((...args: any[]) => any) | undefined;
482
- onError?: ((...args: any[]) => any) | undefined;
483
- "onField-input"?: ((...args: any[]) => any) | undefined;
484
- "onField-change"?: ((...args: any[]) => any) | undefined;
485
- }, {
486
- values: import("vue").Ref<FormValue, FormValue>;
487
- lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
488
- formState: FormState;
489
- initialized: import("vue").Ref<boolean, boolean>;
490
- changeHandler: () => void;
491
- resetForm: () => any;
492
- submitForm: (native?: boolean) => Promise<any>;
493
- }, {}, {}, {}, {
494
- config: import("@tmagic/form").FormConfig;
495
- initValues: Record<string, any>;
496
- lastValues: Record<string, any>;
497
- isCompare: boolean;
498
- keyProp: string;
499
- parentValues: Record<string, any>;
500
- labelWidth: string;
501
- disabled: boolean;
502
- stepActive: string | number;
503
- height: string;
504
- inline: boolean;
505
- labelPosition: string;
506
- }> | undefined>;
507
- submit: () => Promise<void>;
508
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
509
- mounted: (...args: any[]) => void;
510
- "submit-error": (...args: any[]) => void;
511
- "form-error": (...args: any[]) => void;
512
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
513
- disabledShowSrc?: boolean;
514
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
515
- }>>> & {
516
- onMounted?: ((...args: any[]) => any) | undefined;
517
- "onSubmit-error"?: ((...args: any[]) => any) | undefined;
518
- "onForm-error"?: ((...args: any[]) => any) | undefined;
519
- }, {}, {}>;
520
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
521
- export default _default;
522
- type __VLS_WithTemplateSlots<T, S> = T & {
523
- new (): {
524
- $slots: S;
525
- };
526
- };
527
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
528
- type __VLS_TypePropsToOption<T> = {
529
- [K in keyof T]-?: {} extends Pick<T, K> ? {
530
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
531
- } : {
532
- type: import('vue').PropType<T[K]>;
533
- required: true;
534
- };
535
- };
@@ -1,16 +0,0 @@
1
- import { NodeType } from '@tmagic/schema';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- type: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- type: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
6
- }>>>, {}, {}>;
7
- export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToOption<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
16
- };
@@ -1,36 +0,0 @@
1
- import { type MPage, type MPageFragment } from '@tmagic/schema';
2
- import type { PageBarSortOptions } from '../../type';
3
- declare function __VLS_template(): {
4
- "page-list-popover"?(_: {
5
- list: MPage[] | MPageFragment[];
6
- }): any;
7
- "page-bar-title"?(_: {
8
- page: MPage | MPageFragment;
9
- }): any;
10
- "page-bar-popover"?(_: {
11
- page: MPage | MPageFragment;
12
- }): any;
13
- };
14
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
15
- disabledPageFragment: boolean;
16
- pageBarSortOptions?: PageBarSortOptions;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
18
- disabledPageFragment: boolean;
19
- pageBarSortOptions?: PageBarSortOptions;
20
- }>>>, {}, {}>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
- export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
@@ -1,29 +0,0 @@
1
- import { NodeType } from '@tmagic/schema';
2
- import type { PageBarSortOptions } from '../../type';
3
- declare function __VLS_template(): {
4
- prepend?(_: {}): any;
5
- default?(_: {}): any;
6
- };
7
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
8
- type: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
9
- pageBarSortOptions?: PageBarSortOptions;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
- type: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
12
- pageBarSortOptions?: PageBarSortOptions;
13
- }>>>, {}, {}>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
- export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,27 +0,0 @@
1
- import { MPage, MPageFragment } from '@tmagic/schema';
2
- declare function __VLS_template(): {
3
- "page-list-popover"?(_: {
4
- list: MPage[] | MPageFragment[];
5
- }): any;
6
- };
7
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
8
- list: MPage[] | MPageFragment[];
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
10
- list: MPage[] | MPageFragment[];
11
- }>>>, {}, {}>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToOption<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -1,20 +0,0 @@
1
- import { NodeType } from '@tmagic/schema';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- modelValue: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- "update:modelValue": (value: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
- modelValue: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
8
- }>>> & {
9
- "onUpdate:modelValue"?: ((value: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => any) | undefined;
10
- }, {}, {}>;
11
- export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
@@ -1,10 +0,0 @@
1
- import { ComponentListPanelSlots } from '../../type';
2
- declare function __VLS_template(): Readonly<ComponentListPanelSlots> & ComponentListPanelSlots;
3
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
5
- export default _default;
6
- type __VLS_WithTemplateSlots<T, S> = T & {
7
- new (): {
8
- $slots: S;
9
- };
10
- };