mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-02 04:49:48 +08:00
parent
fa2862090f
commit
1a546c326c
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
import type { Component } from 'vue';
|
import type { Component } from 'vue';
|
||||||
|
|
||||||
import type { FormConfig, FormItem } from '@tmagic/form';
|
import type { FilterFunction, FormConfig, FormItem } from '@tmagic/form';
|
||||||
import type { CodeBlockContent, CodeBlockDSL, Id, MApp, MContainer, MNode, MPage } from '@tmagic/schema';
|
import type { CodeBlockContent, CodeBlockDSL, Id, MApp, MContainer, MNode, MPage } from '@tmagic/schema';
|
||||||
import type StageCore from '@tmagic/stage';
|
import type StageCore from '@tmagic/stage';
|
||||||
import type {
|
import type {
|
||||||
@ -485,3 +485,11 @@ export interface KeyBindingCacheItem {
|
|||||||
eventType: 'keyup' | 'keydown';
|
eventType: 'keyup' | 'keydown';
|
||||||
binded: boolean;
|
binded: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface CodeSelectColConfig {
|
||||||
|
type: 'code-select-col';
|
||||||
|
name: string;
|
||||||
|
labelWidth?: number | string;
|
||||||
|
disabled?: boolean | FilterFunction;
|
||||||
|
display?: boolean | FilterFunction;
|
||||||
|
}
|
||||||
|
@ -146,7 +146,7 @@ export type TypeFunction = (
|
|||||||
},
|
},
|
||||||
) => string;
|
) => string;
|
||||||
|
|
||||||
type FilterFunction = (
|
export type FilterFunction = (
|
||||||
mForm: FormState | undefined,
|
mForm: FormState | undefined,
|
||||||
data: {
|
data: {
|
||||||
model: Record<any, any>;
|
model: Record<any, any>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user