@tmagic/editor 1.4.15 → 1.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -12
- package/types/Editor.vue.d.ts +2313 -0
- package/types/components/CodeParams.vue.d.ts +4 -4
- package/types/components/ContentMenu.vue.d.ts +23 -15
- package/types/components/FloatingBox.vue.d.ts +9 -7
- package/types/components/Resizer.vue.d.ts +6 -4
- package/types/components/ScrollBar.vue.d.ts +2 -2
- package/types/components/ScrollViewer.vue.d.ts +22 -20
- package/types/components/SplitView.vue.d.ts +26 -24
- package/types/components/ToolButton.vue.d.ts +5 -5
- package/types/components/Tree.vue.d.ts +28 -26
- package/types/components/TreeNode.vue.d.ts +30 -28
- package/types/fields/Code.vue.d.ts +8 -8
- package/types/fields/CodeLink.vue.d.ts +4 -4
- package/types/fields/CodeSelect.vue.d.ts +2 -2
- package/types/fields/DisplayConds.vue.d.ts +4 -4
- package/types/fields/KeyValue.vue.d.ts +2 -2
- package/types/hooks/use-code-block-edit.d.ts +91 -2
- package/types/hooks/use-data-source-edit.d.ts +85 -2
- package/types/hooks/use-data-source-method.d.ts +90 -1
- package/types/hooks/use-editor-content-height.d.ts +1 -1
- package/types/hooks/use-filter.d.ts +1 -1
- package/types/hooks/use-float-box.d.ts +2 -0
- package/types/hooks/use-getso.d.ts +2 -2
- package/types/hooks/use-next-float-box-position.d.ts +6 -0
- package/types/hooks/use-node-status.d.ts +6 -1
- package/types/initService.d.ts +1 -1
- package/types/layouts/CodeEditor.vue.d.ts +14 -14
- package/types/layouts/Framework.vue.d.ts +6 -4
- package/types/layouts/NavMenu.vue.d.ts +4 -4
- package/types/layouts/PropsPanel.vue.d.ts +265 -14
- package/types/layouts/page-bar/PageBar.vue.d.ts +10 -8
- package/types/layouts/page-bar/PageBarScrollContainer.vue.d.ts +9 -7
- package/types/layouts/page-bar/PageList.vue.d.ts +8 -6
- package/types/layouts/sidebar/ComponentListPanel.vue.d.ts +3 -1
- package/types/layouts/sidebar/Sidebar.vue.d.ts +9 -7
- package/types/layouts/sidebar/code-block/CodeBlockList.vue.d.ts +6 -4
- package/types/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts +6 -4
- package/types/layouts/sidebar/data-source/DataSourceList.vue.d.ts +4 -2
- package/types/layouts/sidebar/data-source/DataSourceListPanel.vue.d.ts +3 -1
- package/types/layouts/sidebar/layer/LayerMenu.vue.d.ts +8 -8
- package/types/layouts/sidebar/layer/LayerPanel.vue.d.ts +8 -6
- package/types/layouts/sidebar/layer/use-click.d.ts +65 -10
- package/types/layouts/sidebar/layer/use-keybinding.d.ts +1 -1
- package/types/layouts/sidebar/layer/use-node-status.d.ts +6 -1
- package/types/layouts/workspace/Workspace.vue.d.ts +10 -8
- package/types/layouts/workspace/viewer/Stage.vue.d.ts +6 -6
- package/types/layouts/workspace/viewer/ViewerMenu.vue.d.ts +10 -10
- package/types/services/BaseService.d.ts +0 -1
- package/types/services/dataSource.d.ts +4 -4
- package/types/services/ui.d.ts +5 -5
- package/types/type.d.ts +0 -1
- package/types/utils/data-source/index.d.ts +1 -1
- package/types/utils/idle-task.d.ts +0 -1
- package/types/utils/scroll-viewer.d.ts +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { FormState, FormValue } from '@tmagic/form';
|
|
2
2
|
import type { PropsPanelSlots } from '../type';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
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>>;
|
|
6
7
|
}>, {
|
|
7
8
|
configForm: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
8
9
|
popperClass: {
|
|
@@ -70,13 +71,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
70
71
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
71
72
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
72
73
|
}, {
|
|
73
|
-
values: import("vue").Ref<FormValue>;
|
|
74
|
-
lastValuesProcessed: import("vue").Ref<FormValue>;
|
|
74
|
+
values: import("vue").Ref<FormValue, FormValue>;
|
|
75
|
+
lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
|
|
75
76
|
formState: FormState;
|
|
76
|
-
initialized: import("vue").Ref<boolean>;
|
|
77
|
+
initialized: import("vue").Ref<boolean, boolean>;
|
|
77
78
|
changeHandler: () => void;
|
|
78
79
|
resetForm: () => any;
|
|
79
|
-
submitForm: (native?: boolean
|
|
80
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
80
81
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
82
|
change: (...args: any[]) => void;
|
|
82
83
|
error: (...args: any[]) => void;
|
|
@@ -233,13 +234,262 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
233
234
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
234
235
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
235
236
|
}, {
|
|
236
|
-
values: import("vue").Ref<FormValue>;
|
|
237
|
-
lastValuesProcessed: import("vue").Ref<FormValue>;
|
|
237
|
+
values: import("vue").Ref<FormValue, FormValue>;
|
|
238
|
+
lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
|
|
238
239
|
formState: FormState;
|
|
239
|
-
initialized: import("vue").Ref<boolean>;
|
|
240
|
+
initialized: import("vue").Ref<boolean, boolean>;
|
|
240
241
|
changeHandler: () => void;
|
|
241
242
|
resetForm: () => any;
|
|
242
|
-
submitForm: (native?: boolean
|
|
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>;
|
|
243
493
|
}, {}, {}, {}, {
|
|
244
494
|
config: import("@tmagic/form").FormConfig;
|
|
245
495
|
initValues: Record<string, any>;
|
|
@@ -260,13 +510,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
260
510
|
"submit-error": (...args: any[]) => void;
|
|
261
511
|
"form-error": (...args: any[]) => void;
|
|
262
512
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
263
|
-
disabledShowSrc?: boolean
|
|
264
|
-
extendState?: (
|
|
513
|
+
disabledShowSrc?: boolean;
|
|
514
|
+
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
265
515
|
}>>> & {
|
|
266
516
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
267
517
|
"onSubmit-error"?: ((...args: any[]) => any) | undefined;
|
|
268
518
|
"onForm-error"?: ((...args: any[]) => any) | undefined;
|
|
269
|
-
}, {}, {}
|
|
519
|
+
}, {}, {}>;
|
|
520
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
270
521
|
export default _default;
|
|
271
522
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
272
523
|
new (): {
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { type MPage, type MPageFragment } from '@tmagic/schema';
|
|
2
2
|
import type { PageBarSortOptions } from '../../type';
|
|
3
|
-
declare
|
|
4
|
-
disabledPageFragment: boolean;
|
|
5
|
-
pageBarSortOptions?: PageBarSortOptions | undefined;
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
|
-
disabledPageFragment: boolean;
|
|
8
|
-
pageBarSortOptions?: PageBarSortOptions | undefined;
|
|
9
|
-
}>>>, {}, {}>, {
|
|
3
|
+
declare function __VLS_template(): {
|
|
10
4
|
"page-list-popover"?(_: {
|
|
11
5
|
list: MPage[] | MPageFragment[];
|
|
12
6
|
}): any;
|
|
@@ -16,7 +10,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
10
|
"page-bar-popover"?(_: {
|
|
17
11
|
page: MPage | MPageFragment;
|
|
18
12
|
}): any;
|
|
19
|
-
}
|
|
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>>;
|
|
20
22
|
export default _default;
|
|
21
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
24
|
new (): {
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { NodeType } from '@tmagic/schema';
|
|
2
2
|
import type { PageBarSortOptions } from '../../type';
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
prepend?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
4
8
|
type: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
|
|
5
|
-
pageBarSortOptions?: PageBarSortOptions
|
|
9
|
+
pageBarSortOptions?: PageBarSortOptions;
|
|
6
10
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
11
|
type: NodeType.PAGE | NodeType.PAGE_FRAGMENT;
|
|
8
|
-
pageBarSortOptions?: PageBarSortOptions
|
|
9
|
-
}>>>, {}, {}
|
|
10
|
-
|
|
11
|
-
default?(_: {}): any;
|
|
12
|
-
}>;
|
|
12
|
+
pageBarSortOptions?: PageBarSortOptions;
|
|
13
|
+
}>>>, {}, {}>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
13
15
|
export default _default;
|
|
14
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
17
|
new (): {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { MPage, MPageFragment } from '@tmagic/schema';
|
|
2
|
-
declare
|
|
3
|
-
list: MPage[] | MPageFragment[];
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
-
list: MPage[] | MPageFragment[];
|
|
6
|
-
}>>>, {}, {}>, {
|
|
2
|
+
declare function __VLS_template(): {
|
|
7
3
|
"page-list-popover"?(_: {
|
|
8
4
|
list: MPage[] | MPageFragment[];
|
|
9
5
|
}): any;
|
|
10
|
-
}
|
|
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>>;
|
|
11
13
|
export default _default;
|
|
12
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
15
|
new (): {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ComponentListPanelSlots } from '../../type';
|
|
2
|
-
declare
|
|
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>>;
|
|
3
5
|
export default _default;
|
|
4
6
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
5
7
|
new (): {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type MenuButton, type MenuComponent, type SideBarData, SideItemKey } from '../../type';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): Readonly<import("../../type").LayerPanelSlots & import("../../type").CodeBlockListPanelSlots & import("../../type").ComponentListPanelSlots & import("../../type").DataSourceListSlots> & import("../../type").LayerPanelSlots & import("../../type").CodeBlockListPanelSlots & import("../../type").ComponentListPanelSlots & import("../../type").DataSourceListSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
4
|
data: SideBarData;
|
|
4
|
-
layerContentMenu: (
|
|
5
|
-
customContentMenu?: (
|
|
5
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
6
|
+
customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
|
|
6
7
|
}>, {
|
|
7
8
|
data: () => {
|
|
8
9
|
type: string;
|
|
@@ -10,11 +11,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
10
11
|
items: SideItemKey[];
|
|
11
12
|
};
|
|
12
13
|
}>, {
|
|
13
|
-
activeTabName: import("vue").Ref<string>;
|
|
14
|
+
activeTabName: import("vue").Ref<string, string>;
|
|
14
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
15
16
|
data: SideBarData;
|
|
16
|
-
layerContentMenu: (
|
|
17
|
-
customContentMenu?: (
|
|
17
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
18
|
+
customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
|
|
18
19
|
}>, {
|
|
19
20
|
data: () => {
|
|
20
21
|
type: string;
|
|
@@ -23,7 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
24
|
};
|
|
24
25
|
}>>>, {
|
|
25
26
|
data: SideBarData;
|
|
26
|
-
}, {}
|
|
27
|
+
}, {}>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
27
29
|
export default _default;
|
|
28
30
|
type __VLS_WithDefaults<P, D> = {
|
|
29
31
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import type { Id } from '@tmagic/schema';
|
|
2
2
|
import { type CodeBlockListSlots, CodeDeleteErrorType } from '../../../type';
|
|
3
|
-
declare
|
|
4
|
-
|
|
3
|
+
declare function __VLS_template(): Readonly<CodeBlockListSlots> & CodeBlockListSlots;
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
5
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
5
6
|
}>, {
|
|
6
7
|
filter: (text: string | string[]) => void;
|
|
7
8
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
9
|
remove: (id: string) => void;
|
|
9
10
|
edit: (id: string) => void;
|
|
10
11
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
11
|
-
customError?: (
|
|
12
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
12
13
|
}>>> & {
|
|
13
14
|
onRemove?: ((id: string) => any) | undefined;
|
|
14
15
|
onEdit?: ((id: string) => any) | undefined;
|
|
15
|
-
}, {}, {}
|
|
16
|
+
}, {}, {}>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
18
|
export default _default;
|
|
17
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
20
|
new (): {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { Id } from '@tmagic/schema';
|
|
2
2
|
import type { CodeBlockListPanelSlots, CodeDeleteErrorType } from '../../../type';
|
|
3
|
-
declare
|
|
4
|
-
|
|
3
|
+
declare function __VLS_template(): Readonly<CodeBlockListPanelSlots> & CodeBlockListPanelSlots;
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
5
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
5
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
|
-
customError?: (
|
|
7
|
-
}>>>, {}, {}
|
|
7
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
8
|
+
}>>>, {}, {}>;
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
10
|
export default _default;
|
|
9
11
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
12
|
new (): {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DataSourceListSlots } from '../../../type';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): Readonly<DataSourceListSlots> & DataSourceListSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
3
4
|
filter: (text: string | string[]) => void;
|
|
4
5
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
6
|
remove: (id: string) => void;
|
|
@@ -7,7 +8,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
|
|
|
7
8
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
8
9
|
onRemove?: ((id: string) => any) | undefined;
|
|
9
10
|
onEdit?: ((id: string) => any) | undefined;
|
|
10
|
-
}, {}, {}
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
13
|
export default _default;
|
|
12
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
15
|
new (): {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { DataSourceListSlots } from '../../../type';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): Readonly<DataSourceListSlots> & DataSourceListSlots;
|
|
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>>;
|
|
3
5
|
export default _default;
|
|
4
6
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
5
7
|
new (): {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import type { MenuButton, MenuComponent } from '../../../type';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
-
layerContentMenu: (
|
|
4
|
-
customContentMenu?: (
|
|
3
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
4
|
+
customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
|
|
5
5
|
}>, {
|
|
6
6
|
layerContentMenu: () => never[];
|
|
7
|
-
customContentMenu: (menus: (
|
|
7
|
+
customContentMenu: (menus: (MenuButton | MenuComponent)[]) => (MenuComponent | MenuButton)[];
|
|
8
8
|
}>, {
|
|
9
9
|
show: (e: MouseEvent) => void;
|
|
10
10
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
"collapse-all": () => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
|
-
layerContentMenu: (
|
|
14
|
-
customContentMenu?: (
|
|
13
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
14
|
+
customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
|
|
15
15
|
}>, {
|
|
16
16
|
layerContentMenu: () => never[];
|
|
17
|
-
customContentMenu: (menus: (
|
|
17
|
+
customContentMenu: (menus: (MenuButton | MenuComponent)[]) => (MenuComponent | MenuButton)[];
|
|
18
18
|
}>>> & {
|
|
19
19
|
"onCollapse-all"?: (() => any) | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
layerContentMenu: (
|
|
22
|
-
customContentMenu: (menus: (
|
|
21
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
22
|
+
customContentMenu: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
|
|
23
23
|
}, {}>;
|
|
24
24
|
export default _default;
|
|
25
25
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { LayerPanelSlots, MenuButton, MenuComponent } from '../../../type';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
declare function __VLS_template(): Readonly<LayerPanelSlots> & LayerPanelSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
4
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
5
|
+
customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
|
|
5
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
|
-
layerContentMenu: (
|
|
7
|
-
customContentMenu?: (
|
|
8
|
-
}>>>, {}, {}
|
|
7
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
8
|
+
customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
11
|
export default _default;
|
|
10
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
13
|
new (): {
|