@tmagic/editor 1.5.16 → 1.5.17

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/types/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  import * as vue from 'vue';
2
2
  import { Component, ComputedRef, Ref, ShallowRef, App } from 'vue';
3
- import { TMagicMessageBox, TMagicMessage, TMagicButton, DesignPluginOptions } from '@tmagic/design';
3
+ import { TMagicButton, DesignPluginOptions } from '@tmagic/design';
4
4
  export * from '@tmagic/design';
5
5
  export { default as designPlugin } from '@tmagic/design';
6
- import { TableColumnConfig as TableColumnConfig$1, FormConfig as FormConfig$1, ChangeRecord as ChangeRecord$1, FormItem as FormItem$1, FilterFunction as FilterFunction$1, Input as Input$1, FormState as FormState$1, ChildConfig as ChildConfig$1, TabPaneConfig as TabPaneConfig$1, CascaderOption as CascaderOption$1, FieldProps, ContainerChangeEventData as ContainerChangeEventData$1, FormValue as FormValue$1, FormInstallOptions } from '@tmagic/form';
6
+ import { TableColumnConfig, FormConfig, ChangeRecord as ChangeRecord$1, TabPaneConfig, CascaderOption, FormState, FieldProps, CodeSelectConfig, ContainerChangeEventData as ContainerChangeEventData$1, CodeSelectColConfig, DataSourceFieldsConfig, DataSourceMocksConfig, DataSourceMethodsConfig, DataSourceInputConfig, DataSourceSelect, DataSourceMethodSelectConfig, DataSourceFieldSelectConfig, EventSelectConfig, KeyValueConfig, FormValue, PageFragmentSelectConfig, DisplayCondsConfig, CondOpSelectConfig, FormInstallOptions } from '@tmagic/form';
7
7
  export * from '@tmagic/form';
8
8
  export { default as formPlugin } from '@tmagic/form';
9
9
  import EventEmitter$1, { EventEmitter } from 'events';
10
10
  import Sortable, { Options as Options$1, SortableEvent } from 'sortablejs';
11
11
  import { Writable, PascalCasedProperties } from 'type-fest';
12
12
  import * as _tmagic_core from '@tmagic/core';
13
- import { CodeBlockDSL, Id, CodeBlockContent, MNode, TargetOptions, DataSourceSchema, EventOption, Target, DepExtendedData, DepTargetType, MContainer, MPage, MPageFragment, MApp, DataSourceFieldType, NodeType, DataSchema, DisplayCond } from '@tmagic/core';
13
+ import { CodeBlockDSL, Id, CodeBlockContent, MNode, TargetOptions, DataSourceSchema, EventOption, Target, DepExtendedData, DepTargetType, MApp, DepData, MContainer, MPage, MPageFragment, NodeType, DataSchema, DataSourceFieldType, DisplayCond } from '@tmagic/core';
14
14
  export { DepTargetType } from '@tmagic/core';
15
15
  import * as StageCore from '@tmagic/stage';
16
16
  import StageCore__default, { ContainerHighlightType, MoveableOptions, CustomizeMoveableOptionsCallbackConfig, UpdateDragEl, RenderType, GuidesOptions } from '@tmagic/stage';
@@ -25,6 +25,7 @@ import * as gesto from 'gesto';
25
25
  import gesto__default, { OnDrag } from 'gesto';
26
26
  export { OnDrag } from 'gesto';
27
27
  import * as _vue_reactivity from '@vue/reactivity';
28
+ import * as _tmagic_form_schema from '@tmagic/form-schema';
28
29
  import * as monaco from 'monaco-editor';
29
30
  import { Close } from '@element-plus/icons-vue';
30
31
 
@@ -192,8 +193,8 @@ declare class CodeBlock extends export_default {
192
193
  * @param {Id[]} codeIds 需要删除的代码块id数组
193
194
  */
194
195
  deleteCodeDslByIds(codeIds: Id[]): Promise<void>;
195
- setParamsColConfig(config: TableColumnConfig$1): void;
196
- getParamsColConfig(): TableColumnConfig$1 | undefined;
196
+ setParamsColConfig(config: TableColumnConfig): void;
197
+ getParamsColConfig(): TableColumnConfig | undefined;
197
198
  /**
198
199
  * 生成代码块唯一id
199
200
  * @returns {Id} 代码块唯一id
@@ -234,7 +235,7 @@ interface State$2 {
234
235
  datasourceTypeList: DatasourceTypeOption[];
235
236
  dataSources: DataSourceSchema[];
236
237
  editable: boolean;
237
- configs: Record<string, FormConfig$1>;
238
+ configs: Record<string, FormConfig>;
238
239
  values: Record<string, Partial<DataSourceSchema>>;
239
240
  events: Record<string, EventOption[]>;
240
241
  methods: Record<string, EventOption[]>;
@@ -250,8 +251,8 @@ declare class DataSource extends export_default {
250
251
  constructor();
251
252
  set<K extends StateKey$1, T extends State$2[K]>(name: K, value: T): void;
252
253
  get<K extends StateKey$1>(name: K): State$2[K];
253
- getFormConfig(type?: string): FormConfig$1;
254
- setFormConfig(type: string, config: FormConfig$1): void;
254
+ getFormConfig(type?: string): FormConfig;
255
+ setFormConfig(type: string, config: FormConfig): void;
255
256
  getFormValue(type?: string): Partial<DataSourceSchema>;
256
257
  setFormValue(type: string, value: Partial<DataSourceSchema>): void;
257
258
  getFormEvent(type?: string): EventOption[];
@@ -308,6 +309,7 @@ declare class Dep extends export_default {
308
309
  private state;
309
310
  private idleTask;
310
311
  private watcher;
312
+ private waitingWorker?;
311
313
  constructor();
312
314
  set<K extends StateKey, T extends State$1[K]>(name: K, value: T): void;
313
315
  get<K extends StateKey>(name: K): State$1[K];
@@ -322,6 +324,7 @@ declare class Dep extends export_default {
322
324
  clearTargets(): void;
323
325
  collect(nodes: MNode[], depExtendedData?: DepExtendedData, deep?: boolean, type?: DepTargetType): void;
324
326
  collectIdle(nodes: MNode[], depExtendedData?: DepExtendedData, deep?: boolean, type?: DepTargetType): Promise<void>;
327
+ collectByWorker(dsl: MApp): Promise<Record<string, Record<string, DepData>>>;
325
328
  collectNode(node: MNode, target: Target, depExtendedData?: DepExtendedData, deep?: boolean): void;
326
329
  clear(nodes?: MNode[]): void;
327
330
  clearByType(type: DepTargetType, nodes?: MNode[]): void;
@@ -619,15 +622,15 @@ type SyncMethodName$2 = Writable<(typeof canUsePluginMethods$3)['sync']>;
619
622
  declare class Props extends export_default {
620
623
  private state;
621
624
  constructor();
622
- setPropsConfigs(configs: Record<string, FormConfig$1 | PropsFormConfigFunction>): void;
623
- fillConfig(config: FormConfig$1, labelWidth?: string): Promise<FormConfig$1>;
624
- setPropsConfig(type: string, config: FormConfig$1 | PropsFormConfigFunction): Promise<void>;
625
+ setPropsConfigs(configs: Record<string, FormConfig | PropsFormConfigFunction>): void;
626
+ fillConfig(config: FormConfig, labelWidth?: string): Promise<FormConfig>;
627
+ setPropsConfig(type: string, config: FormConfig | PropsFormConfigFunction): Promise<void>;
625
628
  /**
626
629
  * 获取指点类型的组件属性表单配置
627
630
  * @param type 组件类型
628
631
  * @returns 组件属性表单配置
629
632
  */
630
- getPropsConfig(type: string): Promise<FormConfig$1>;
633
+ getPropsConfig(type: string): Promise<FormConfig>;
631
634
  setPropsValues(values: Record<string, Partial<MNode> | PropsFormValueFunction>): void;
632
635
  /**
633
636
  * 为指点类型组件设置组件初始值
@@ -882,7 +885,7 @@ interface PropsPanelSlots {
882
885
  }
883
886
  type SidebarSlots = LayerPanelSlots & CodeBlockListPanelSlots & ComponentListPanelSlots & DataSourceListSlots;
884
887
  type BeforeAdd = (config: MNode, parent: MContainer) => Promise<MNode> | MNode;
885
- type GetConfig = (config: FormConfig$1) => Promise<FormConfig$1> | FormConfig$1;
888
+ type GetConfig = (config: FormConfig) => Promise<FormConfig> | FormConfig;
886
889
  interface EditorInstallOptions {
887
890
  parseDSL: <T = any>(dsl: string) => T;
888
891
  [key: string]: any;
@@ -934,7 +937,7 @@ interface StoreState {
934
937
  }
935
938
  type StoreStateKey = keyof StoreState;
936
939
  interface PropsState {
937
- propsConfigMap: Record<string, FormConfig$1>;
940
+ propsConfigMap: Record<string, FormConfig>;
938
941
  propsValueMap: Record<string, Partial<MNode>>;
939
942
  relateIdMap: Record<Id, Id>;
940
943
  }
@@ -1198,7 +1201,7 @@ type CodeState = {
1198
1201
  combineIds: string[];
1199
1202
  /** 为业务逻辑预留的不可删除的代码块列表,由业务逻辑维护(如代码块上线后不可删除) */
1200
1203
  undeletableList: Id[];
1201
- paramsColConfig?: TableColumnConfig$1;
1204
+ paramsColConfig?: TableColumnConfig;
1202
1205
  };
1203
1206
  type CodeRelation = {
1204
1207
  /** 组件id:[代码id1,代码id2] */
@@ -1251,24 +1254,6 @@ interface HistoryState {
1251
1254
  canRedo: boolean;
1252
1255
  canUndo: boolean;
1253
1256
  }
1254
- interface EventSelectConfig {
1255
- name: string;
1256
- type: 'event-select';
1257
- src: 'datasource' | 'component';
1258
- labelWidth?: string;
1259
- /** 事件名称表单配置 */
1260
- eventNameConfig?: FormItem$1;
1261
- /** 动作类型配置 */
1262
- actionTypeConfig?: FormItem$1;
1263
- /** 联动组件配置 */
1264
- targetCompConfig?: FormItem$1;
1265
- /** 联动组件动作配置 */
1266
- compActionConfig?: FormItem$1;
1267
- /** 联动代码配置 */
1268
- codeActionConfig?: FormItem$1;
1269
- /** 联动数据源配置 */
1270
- dataSourceActionConfig?: FormItem$1;
1271
- }
1272
1257
  declare enum KeyBindingCommand {
1273
1258
  /** 复制 */
1274
1259
  COPY_NODE = "tmagic-system-copy-node",
@@ -1321,58 +1306,6 @@ interface KeyBindingCacheItem {
1321
1306
  eventType: 'keyup' | 'keydown';
1322
1307
  bound: boolean;
1323
1308
  }
1324
- interface CodeSelectColConfig extends FormItem$1 {
1325
- type: 'code-select-col';
1326
- /** 是否可以编辑代码块,disable表示的是是否可以选择代码块 */
1327
- notEditable?: boolean | FilterFunction$1;
1328
- }
1329
- interface PageFragmentSelectConfig extends FormItem$1 {
1330
- type: 'page-fragment-select';
1331
- }
1332
- interface DataSourceSelect extends FormItem$1, Input$1 {
1333
- type: 'data-source-select';
1334
- /** 数据源类型: base、http... */
1335
- dataSourceType?: string;
1336
- /** 是否要编译成数据源的data。
1337
- * id: 不编译,就是要数据源id;
1338
- * value: 要编译(数据源data)
1339
- * */
1340
- value?: 'id' | 'value';
1341
- /** 是否可以编辑数据源,disable表示的是是否可以选择数据源 */
1342
- notEditable?: boolean | FilterFunction$1;
1343
- }
1344
- interface DataSourceMethodSelectConfig extends FormItem$1 {
1345
- type: 'data-source-method-select';
1346
- /** 是否可以编辑数据源,disable表示的是是否可以选择数据源 */
1347
- notEditable?: boolean | FilterFunction$1;
1348
- }
1349
- interface DataSourceFieldSelectConfig extends FormItem$1 {
1350
- type: 'data-source-field-select';
1351
- /**
1352
- * 是否要编译成数据源的data。
1353
- * key: 不编译,就是要数据源id和field name;
1354
- * value: 要编译(数据源data[`${filed}`])
1355
- * */
1356
- value?: 'key' | 'value';
1357
- /** 是否严格的遵守父子节点不互相关联 */
1358
- checkStrictly?: boolean | ((mForm: FormState$1 | undefined, data: {
1359
- model: Record<any, any>;
1360
- values: Record<any, any>;
1361
- parent?: Record<any, any>;
1362
- formValue: Record<any, any>;
1363
- prop: string;
1364
- config: DataSourceFieldSelectConfig;
1365
- dataSource?: DataSourceSchema;
1366
- }) => boolean);
1367
- dataSourceFieldType?: DataSourceFieldType[];
1368
- fieldConfig?: ChildConfig$1;
1369
- /** 是否可以编辑数据源,disable表示的是是否可以选择数据源 */
1370
- notEditable?: boolean | FilterFunction$1;
1371
- }
1372
- interface CondOpSelectConfig extends FormItem$1 {
1373
- type: 'cond-op';
1374
- parentFields?: string[];
1375
- }
1376
1309
  /** 可新增的数据源类型选项 */
1377
1310
  interface DatasourceTypeOption {
1378
1311
  /** 数据源类型 */
@@ -1432,7 +1365,7 @@ interface EventBus extends EventEmitter$1 {
1432
1365
  }
1433
1366
  type PropsFormConfigFunction = (data: {
1434
1367
  editorService: EditorService;
1435
- }) => FormConfig$1;
1368
+ }) => FormConfig;
1436
1369
  type PropsFormValueFunction = (data: {
1437
1370
  editorService: EditorService;
1438
1371
  }) => Partial<MNode>;
@@ -1453,581 +1386,6 @@ interface ContainerChangeEventData {
1453
1386
  modifyKey?: string;
1454
1387
  changeRecords?: ChangeRecord[];
1455
1388
  }
1456
- /**
1457
- * 整个表单的数据,会注入到各个组件中去
1458
- */
1459
- type FormState = {
1460
- config: FormConfig;
1461
- popperClass?: string;
1462
- initValues: FormValue;
1463
- lastValues: FormValue;
1464
- isCompare: boolean;
1465
- values: FormValue;
1466
- $emit: (event: string, ...args: any[]) => void;
1467
- keyProp?: string;
1468
- parentValues?: FormValue;
1469
- setField: (prop: string, field: any) => void;
1470
- getField: (prop: string) => any;
1471
- deleteField: (prop: string) => any;
1472
- $messageBox: TMagicMessageBox;
1473
- $message: TMagicMessage;
1474
- [key: string]: any;
1475
- };
1476
- /**
1477
- * 排序配置
1478
- */
1479
- interface SortProp {
1480
- /** 跟该值排序 */
1481
- prop: string;
1482
- order: 'ascending' | 'descending';
1483
- }
1484
- interface FormItem {
1485
- /** vnode的key值,默认是遍历数组时的index */
1486
- __key?: string | number;
1487
- /** 表单域标签的的宽度,例如 '50px'。支持 auto。 */
1488
- labelWidth?: string;
1489
- /** label 标签的title属性 */
1490
- labelTitle?: string;
1491
- className?: string;
1492
- /** 表单组件类型 */
1493
- type?: string | TypeFunction;
1494
- /** 字段名 */
1495
- name?: string | number;
1496
- /** 额外的提示信息,和 help 类似,当提示文案同时出现时,可以使用这个。 */
1497
- extra?: string | FilterFunction<string>;
1498
- /** 配置提示信息 */
1499
- tooltip?: string | FilterFunction<string>;
1500
- /** 是否置灰 */
1501
- disabled?: boolean | FilterFunction;
1502
- /** 使用表单中的值作为key,例如配置了text,则使用model.text作为key */
1503
- key?: string;
1504
- /** 是否显示 */
1505
- display?: boolean | 'expand' | FilterFunction<boolean | 'expand'>;
1506
- /** 值发生改变时调用的方法 */
1507
- onChange?: OnChangeHandler;
1508
- /** label 标签的文本 */
1509
- text?: string | FilterFunction<string>;
1510
- /** 右侧感叹号 */
1511
- tip?: string;
1512
- filter?: 'number' | OnChangeHandler;
1513
- /** 是否去除首尾空格 */
1514
- trim?: boolean;
1515
- /** 默认值 */
1516
- defaultValue?: any | DefaultValueFunction;
1517
- /** 表单验证规则 */
1518
- rules?: Rule[];
1519
- extensible?: boolean;
1520
- dynamicKey?: string;
1521
- /** 是否需要显示`展开更多配置` */
1522
- expand?: boolean;
1523
- [key: string]: any;
1524
- }
1525
- interface ContainerCommonConfig {
1526
- items: FormConfig;
1527
- onInitValue?: (mForm: FormState | undefined, data: {
1528
- formValue: FormValue;
1529
- initValue: FormValue;
1530
- }) => FormValue;
1531
- extensible?: boolean;
1532
- }
1533
- interface Rule {
1534
- message?: string;
1535
- /** 系统提供的验证器类型。有:string,number,boolean,method,regexp,integer,float,array,object,enum,date,url,hex,email,any */
1536
- type?: string;
1537
- /** 是否必填 */
1538
- required?: boolean;
1539
- trigger?: string;
1540
- /** 自定义验证器 */
1541
- validator?: (options: {
1542
- rule: string;
1543
- value: any;
1544
- callback: Function;
1545
- source: Object;
1546
- options: {
1547
- messages: string;
1548
- };
1549
- }, data: {
1550
- /** 表单的初始值 */
1551
- values: FormValue;
1552
- /** 当前作用域下的值 */
1553
- model: FormValue;
1554
- parent: FormValue;
1555
- /** 整个表单的值 */
1556
- formValue: FormValue;
1557
- prop: string;
1558
- config: any;
1559
- }, mForm: FormState | undefined) => void;
1560
- }
1561
- interface Input {
1562
- /** 输入框没有内容时显示的文案 */
1563
- placeholder?: string;
1564
- }
1565
- type TypeFunction = (mForm: FormState | undefined, data: {
1566
- model: FormValue;
1567
- }) => string;
1568
- type FilterFunction<T = boolean> = (mForm: FormState | undefined, data: {
1569
- model: FormValue;
1570
- values: FormValue;
1571
- parent?: FormValue;
1572
- formValue: FormValue;
1573
- prop: string;
1574
- config: any;
1575
- index?: number;
1576
- }) => T;
1577
- interface OnChangeHandlerData {
1578
- model: FormValue;
1579
- values?: FormValue;
1580
- parent?: FormValue;
1581
- formValue?: FormValue;
1582
- config: any;
1583
- prop: string;
1584
- changeRecords: ChangeRecord[];
1585
- setModel: (prop: string, value: any) => void;
1586
- }
1587
- type OnChangeHandler = (mForm: FormState | undefined, value: any, data: OnChangeHandlerData) => any;
1588
- type DefaultValueFunction = (mForm: FormState | undefined) => any;
1589
- /**
1590
- * 下拉选择器选项配置
1591
- */
1592
- interface SelectConfigOption {
1593
- /** 选项的标签 */
1594
- text: string | SelectOptionTextFunction;
1595
- /** 选项的值 */
1596
- value: any | SelectOptionValueFunction;
1597
- /** 是否禁用该选项 */
1598
- disabled?: boolean;
1599
- }
1600
- interface SelectOption {
1601
- /** 选项的标签 */
1602
- text: string;
1603
- /** 选项的值 */
1604
- value: any;
1605
- /** 是否禁用该选项 */
1606
- disabled?: boolean;
1607
- }
1608
- /**
1609
- * 下拉选择器分组选项配置
1610
- */
1611
- interface SelectConfigGroupOption {
1612
- /** 分组的组名 */
1613
- label: string;
1614
- /** 是否禁用该选项组 */
1615
- disabled: boolean;
1616
- options: {
1617
- /** 选项的标签 */
1618
- label: string | SelectOptionTextFunction;
1619
- /** 选项的值 */
1620
- value: any | SelectOptionValueFunction;
1621
- /** 是否禁用该选项 */
1622
- disabled?: boolean;
1623
- }[];
1624
- }
1625
- interface SelectGroupOption {
1626
- /** 分组的组名 */
1627
- label: string;
1628
- /** 是否禁用该选项组 */
1629
- disabled: boolean;
1630
- options: {
1631
- /** 选项的标签 */
1632
- label?: string;
1633
- text?: string;
1634
- /** 选项的值 */
1635
- value: any;
1636
- /** 是否禁用该选项 */
1637
- disabled?: boolean;
1638
- }[];
1639
- }
1640
- type SelectOptionFunction = (mForm: FormState | undefined, data: {
1641
- model: any;
1642
- prop?: string;
1643
- formValues: any;
1644
- formValue: any;
1645
- config: any;
1646
- }) => SelectOption[] | SelectGroupOption[];
1647
- type RemoteSelectOptionBodyFunction = (mForm: FormState | undefined, data: {
1648
- model: any;
1649
- formValue: any;
1650
- formValues: any;
1651
- config: any;
1652
- }) => Record<string, any>;
1653
- type RemoteSelectOptionRequestFunction = (mForm: FormState | undefined, res: any, data: {
1654
- model: any;
1655
- formValue: any;
1656
- formValues: any;
1657
- config: any;
1658
- postOptions: Record<string, any>;
1659
- }) => any;
1660
- type RemoteSelectOptionItemFunction = (optionsData: Record<string, any>) => SelectOption[] | SelectGroupOption[];
1661
- type SelectOptionValueFunction = (item: Record<string, any>) => any;
1662
- type SelectOptionTextFunction = (item: Record<string, any>) => string;
1663
- interface CascaderOption {
1664
- /** 指定选项的值为选项对象的某个属性值 */
1665
- value: any;
1666
- /** 指定选项标签为选项对象的某个属性值 */
1667
- label: string;
1668
- /** 指定选项的子选项为选项对象的某个属性值 */
1669
- children?: CascaderOption[];
1670
- }
1671
- /**
1672
- * 日期范围
1673
- */
1674
- interface DaterangeConfig extends FormItem {
1675
- type: 'daterange';
1676
- defaultTime?: Date[];
1677
- names?: string[];
1678
- valueFormat?: string;
1679
- dateFormat?: string;
1680
- timeFormat?: string;
1681
- }
1682
- /**
1683
- * html编辑器
1684
- */
1685
- interface HtmlField extends FormItem {
1686
- type: 'html';
1687
- /** 是否异步加载编辑的内容 */
1688
- asyncLoad?: {
1689
- name: string | number;
1690
- };
1691
- }
1692
- /** 展示文本,不可编辑 */
1693
- interface DisplayConfig extends FormItem {
1694
- type: 'display';
1695
- initValue?: string | number | boolean;
1696
- }
1697
- /** 文本输入框 */
1698
- interface TextConfig extends FormItem, Input {
1699
- type?: 'text';
1700
- tooltip?: string;
1701
- /** 后置元素,一般为标签或按钮 */
1702
- append?: string | {
1703
- text: string;
1704
- value?: 0 | 1;
1705
- type: 'button';
1706
- handler?: (mForm: FormState | undefined, data: {
1707
- model: any;
1708
- values: any;
1709
- }) => void;
1710
- };
1711
- }
1712
- /**
1713
- * 文本域
1714
- */
1715
- interface TextareaConfig extends FormItem {
1716
- type: 'textarea';
1717
- placeholder?: string;
1718
- }
1719
- /**
1720
- * 隐藏域
1721
- */
1722
- interface HiddenConfig extends FormItem {
1723
- type: 'hidden';
1724
- }
1725
- /**
1726
- * 日期选择器
1727
- */
1728
- interface DateConfig extends FormItem, Input {
1729
- type: 'date';
1730
- format?: 'YYYY-MM-dd HH:mm:ss' | string;
1731
- valueFormat?: 'YYYY-MM-dd HH:mm:ss' | string;
1732
- }
1733
- /**
1734
- * 日期时间选择器
1735
- */
1736
- interface DateTimeConfig extends FormItem, Input {
1737
- type: 'datetime';
1738
- defaultTime?: Date[];
1739
- format?: 'YYYY-MM-dd HH:mm:ss' | string;
1740
- valueFormat?: 'YYYY-MM-dd HH:mm:ss' | string;
1741
- }
1742
- /**
1743
- * 时间选择器
1744
- */
1745
- interface TimeConfig extends FormItem, Input {
1746
- type: 'time';
1747
- format?: 'HH:mm:ss' | string;
1748
- valueFormat?: 'HH:mm:ss' | string;
1749
- }
1750
- /**
1751
- * 单个多选框
1752
- */
1753
- interface CheckboxConfig extends FormItem {
1754
- type: 'checkbox';
1755
- activeValue?: number | string;
1756
- inactiveValue?: number | string;
1757
- }
1758
- /**
1759
- * 开关
1760
- */
1761
- interface SwitchConfig extends FormItem {
1762
- type: 'switch';
1763
- activeValue?: boolean | number | string;
1764
- inactiveValue?: boolean | number | string;
1765
- }
1766
- /**
1767
- * 单选框
1768
- */
1769
- interface RadioGroupConfig extends FormItem {
1770
- type: 'radio-group';
1771
- childType?: 'default' | 'button';
1772
- options: {
1773
- value: string | number | boolean;
1774
- text: string;
1775
- icon?: any;
1776
- tooltip?: string;
1777
- }[];
1778
- }
1779
- /**
1780
- * 颜色选择器
1781
- */
1782
- interface ColorPickConfig extends FormItem {
1783
- type: 'colorPicker';
1784
- }
1785
- /**
1786
- * 下拉选择器
1787
- */
1788
- interface SelectConfig extends FormItem, Input {
1789
- type: 'select';
1790
- clearable?: boolean;
1791
- multiple?: boolean;
1792
- valueKey?: string;
1793
- allowCreate?: boolean;
1794
- filterable?: boolean;
1795
- group?: boolean;
1796
- options?: SelectConfigOption[] | SelectConfigGroupOption[] | SelectOptionFunction;
1797
- remote?: true;
1798
- option?: {
1799
- url: string | ((mForm: FormState | undefined, data: {
1800
- model: any;
1801
- formValue: any;
1802
- }) => string);
1803
- initUrl?: string | ((mForm: FormState | undefined, data: {
1804
- model: any;
1805
- formValue: any;
1806
- }) => string);
1807
- method?: 'jsonp' | string;
1808
- cache?: boolean;
1809
- timeout?: number;
1810
- mode?: string;
1811
- headers?: {
1812
- [key: string]: string;
1813
- };
1814
- json?: false | boolean;
1815
- body?: Record<string, any> | RemoteSelectOptionBodyFunction;
1816
- initBody?: Record<string, any> | RemoteSelectOptionBodyFunction;
1817
- jsonpCallback?: 'callback' | string;
1818
- afterRequest?: RemoteSelectOptionRequestFunction;
1819
- afterInitRequest?: RemoteSelectOptionRequestFunction;
1820
- beforeRequest?: (mForm: FormState | undefined, postOptions: Record<string, any>, data: any) => Record<string, any>;
1821
- beforeInitRequest?: (mForm: FormState | undefined, postOptions: Record<string, any>, data: any) => Record<string, any>;
1822
- root?: string;
1823
- totalKey?: string;
1824
- initRoot?: string;
1825
- item?: RemoteSelectOptionItemFunction;
1826
- value?: string | SelectOptionValueFunction;
1827
- text?: string | SelectOptionTextFunction;
1828
- };
1829
- }
1830
- /**
1831
- * 链接
1832
- */
1833
- interface LinkConfig extends FormItem {
1834
- type: 'link';
1835
- href?: string | ((model: Record<string, any>) => string);
1836
- css?: {
1837
- [key: string]: string | number;
1838
- };
1839
- disabledCss?: {
1840
- [key: string]: string | number;
1841
- };
1842
- formTitle?: string;
1843
- formWidth?: number | string;
1844
- displayText?: ((mForm: FormState | undefined, data: {
1845
- model: Record<any, any>;
1846
- }) => string) | string;
1847
- form: FormConfig | ((mForm: FormState | undefined, data: {
1848
- model: Record<any, any>;
1849
- values: Record<any, any>;
1850
- }) => FormConfig);
1851
- fullscreen?: boolean;
1852
- }
1853
- /**
1854
- * 级联选择器
1855
- */
1856
- interface CascaderConfig extends FormItem, Input {
1857
- type: 'cascader';
1858
- remote?: boolean;
1859
- /** 在选中节点改变时,是否返回由该节点所在的各级菜单的值所组成的数组,若设置 false,则只返回该节点的值,默认 true */
1860
- emitPath?: boolean;
1861
- /** 是否多选,默认 false */
1862
- multiple?: boolean;
1863
- /** 是否严格的遵守父子节点不互相关联,默认 false */
1864
- checkStrictly?: boolean | FilterFunction<boolean>;
1865
- /** 弹出内容的自定义类名 */
1866
- popperClass?: string;
1867
- /** 合并成字符串时的分隔符 */
1868
- valueSeparator?: string | FilterFunction<string>;
1869
- options?: ((mForm: FormState | undefined, data: {
1870
- model: Record<any, any>;
1871
- prop: string;
1872
- formValue: Record<any, any>;
1873
- }) => CascaderOption[]) | CascaderOption[];
1874
- option?: {
1875
- url: string;
1876
- cache?: boolean;
1877
- timeout?: number;
1878
- body?: Record<string, any> | RemoteSelectOptionBodyFunction;
1879
- root: 'string';
1880
- item: (optionsData: Record<string, any>) => CascaderOption[];
1881
- };
1882
- }
1883
- interface DynamicFieldConfig extends FormItem {
1884
- type: 'dynamic-field';
1885
- returnFields: (config: DynamicFieldConfig, model: Record<any, any>, request: Object) => {
1886
- name: string;
1887
- label: string;
1888
- defaultValue: string;
1889
- }[];
1890
- dynamicKey: string;
1891
- }
1892
- /**
1893
- * 分组容器
1894
- */
1895
- interface RowConfig extends FormItem, ContainerCommonConfig {
1896
- type: 'row';
1897
- span: number;
1898
- }
1899
- /**
1900
- * 标签页容器
1901
- */
1902
- interface TabPaneConfig {
1903
- status?: string;
1904
- title: string;
1905
- lazy?: boolean;
1906
- labelWidth?: string;
1907
- items: FormConfig;
1908
- onTabClick?: (mForm: FormState | undefined, tab: any, data: any) => void;
1909
- [key: string]: any;
1910
- }
1911
- interface TabConfig extends FormItem, ContainerCommonConfig {
1912
- type: 'tab' | 'dynamic-tab';
1913
- tabType?: string;
1914
- editable?: boolean;
1915
- dynamic?: boolean;
1916
- tabPosition?: 'top' | 'right' | 'bottom' | 'left';
1917
- items: TabPaneConfig[];
1918
- onChange?: (mForm: FormState | undefined, data: any) => void;
1919
- onTabAdd?: (mForm: FormState | undefined, data: any) => void;
1920
- onTabRemove?: (mForm: FormState | undefined, tabName: string, data: any) => void;
1921
- onTabClick?: (mForm: FormState | undefined, tab: any, data: any) => void;
1922
- activeChange?: (mForm: FormState | undefined, tabName: string, data: any) => void;
1923
- }
1924
- /**
1925
- * 分组
1926
- */
1927
- interface FieldsetConfig extends FormItem, ContainerCommonConfig {
1928
- type: 'fieldset';
1929
- checkbox?: boolean;
1930
- expand?: boolean;
1931
- legend?: string;
1932
- schematic?: string;
1933
- }
1934
- /**
1935
- * 面板容器
1936
- */
1937
- interface PanelConfig extends FormItem, ContainerCommonConfig {
1938
- type: 'panel';
1939
- expand?: boolean;
1940
- title?: string;
1941
- schematic?: string;
1942
- }
1943
- interface TableColumnConfig extends FormItem {
1944
- name?: string;
1945
- label: string;
1946
- width?: string | number;
1947
- sortable?: boolean;
1948
- [key: string]: any;
1949
- }
1950
- /**
1951
- * 表格容器
1952
- */
1953
- interface TableConfig extends FormItem {
1954
- type: 'table' | 'groupList' | 'group-list';
1955
- items: TableColumnConfig[];
1956
- tableItems?: TableColumnConfig[];
1957
- groupItems?: TableColumnConfig[];
1958
- enableToggleMode?: boolean;
1959
- /** 最大行数 */
1960
- max?: number;
1961
- /** 最大高度 */
1962
- maxHeight?: number | string;
1963
- border?: boolean;
1964
- /** 显示行号 */
1965
- showIndex?: boolean;
1966
- /** 操作栏宽度 */
1967
- operateColWidth?: number | string;
1968
- pagination?: boolean;
1969
- enum?: any[];
1970
- /** 是否显示添加按钮 */
1971
- addable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
1972
- /** 是否显示删除按钮 */
1973
- delete?: (model: any, index: number, values: any) => boolean | boolean;
1974
- copyable?: (model: any, data: any) => boolean | boolean;
1975
- /** 是否显示导入按钮 */
1976
- importable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
1977
- /** 是否显示checkbox */
1978
- selection?: (mForm: FormState | undefined, data: any) => boolean | boolean | 'single';
1979
- /** 新增的默认行 */
1980
- defaultAdd?: (mForm: FormState | undefined, data: any) => any;
1981
- onSelect?: (mForm: FormState | undefined, data: any) => any;
1982
- defautSort?: SortProp;
1983
- defaultSort?: SortProp;
1984
- dropSort?: boolean;
1985
- /** 是否显示全屏按钮 */
1986
- enableFullscreen?: boolean;
1987
- fixed?: boolean;
1988
- itemExtra?: string | FilterFunction<string>;
1989
- rowKey?: string;
1990
- /** table 新增行时前置回调 */
1991
- beforeAddRow?: (mForm: FormState | undefined, data: any) => boolean;
1992
- }
1993
- interface GroupListConfig extends FormItem {
1994
- type: 'table' | 'groupList' | 'group-list';
1995
- span?: number;
1996
- enableToggleMode?: boolean;
1997
- items: FormConfig;
1998
- groupItems?: FormConfig;
1999
- tableItems?: FormConfig;
2000
- titleKey?: string;
2001
- titlePrefix?: string;
2002
- title?: string | FilterFunction<string>;
2003
- itemExtra?: string | FilterFunction<string>;
2004
- expandAll?: boolean;
2005
- addable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
2006
- defaultAdd?: (mForm: FormState | undefined, data: any) => any;
2007
- delete?: (model: any, index: number | string | symbol, values: any) => boolean | boolean;
2008
- copyable?: FilterFunction<boolean>;
2009
- movable?: (mForm: FormState | undefined, index: number | string | symbol, model: any, groupModel: any) => boolean | boolean;
2010
- moveSpecifyLocation?: boolean;
2011
- [key: string]: any;
2012
- }
2013
- interface StepItemConfig extends FormItem, ContainerCommonConfig {
2014
- title: string;
2015
- }
2016
- interface StepConfig extends FormItem {
2017
- type: 'step';
2018
- /** 每个 step 的间距,不填写将自适应间距。支持百分比。 */
2019
- space?: string | number;
2020
- items: StepItemConfig[];
2021
- }
2022
- interface ComponentConfig extends FormItem {
2023
- type: 'component';
2024
- id: string;
2025
- extend: any;
2026
- display: any;
2027
- }
2028
- type ChildConfig = FormItem | TabConfig | RowConfig | FieldsetConfig | PanelConfig | TableConfig | GroupListConfig | StepConfig | DisplayConfig | TextConfig | HiddenConfig | LinkConfig | DaterangeConfig | SelectConfig | CascaderConfig | HtmlField | DateConfig | ColorPickConfig | TimeConfig | DateTimeConfig | CheckboxConfig | SwitchConfig | RadioGroupConfig | TextareaConfig | DynamicFieldConfig | ComponentConfig;
2029
- type FormConfig = ChildConfig[];
2030
- type FormValue = Record<string | number, any>;
2031
1389
 
2032
1390
  declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"]) => {
2033
1391
  codeId: vue.Ref<string | undefined, string | undefined>;
@@ -2169,16 +1527,16 @@ declare const numberOptions: {
2169
1527
  text: string;
2170
1528
  value: string;
2171
1529
  }[];
2172
- declare const styleTabConfig: TabPaneConfig$1;
2173
- declare const eventTabConfig: TabPaneConfig$1;
2174
- declare const advancedTabConfig: TabPaneConfig$1;
2175
- declare const displayTabConfig: TabPaneConfig$1;
1530
+ declare const styleTabConfig: TabPaneConfig;
1531
+ declare const eventTabConfig: TabPaneConfig;
1532
+ declare const advancedTabConfig: TabPaneConfig;
1533
+ declare const displayTabConfig: TabPaneConfig;
2176
1534
  /**
2177
1535
  * 统一为组件属性表单加上事件、高级、样式配置
2178
1536
  * @param config 组件属性配置
2179
1537
  * @returns Object
2180
1538
  */
2181
- declare const fillConfig: (config?: FormConfig$1, labelWidth?: string) => FormConfig$1;
1539
+ declare const fillConfig: (config?: FormConfig, labelWidth?: string) => FormConfig;
2182
1540
 
2183
1541
  declare const log: (...args: any[]) => void;
2184
1542
  declare const info: (...args: any[]) => void;
@@ -2251,13 +1609,13 @@ declare const getPositionInContainer: (position: PastePosition | undefined, id:
2251
1609
  declare const getAddParent: (node: MNode) => MContainer | null | undefined;
2252
1610
  declare const getDefaultConfig: (addNode: AddMNode, parentNode: MContainer) => Promise<any>;
2253
1611
 
2254
- declare const getFormConfig: (type: string, configs: Record<string, FormConfig$1>) => FormConfig$1;
1612
+ declare const getFormConfig: (type: string, configs: Record<string, FormConfig>) => FormConfig;
2255
1613
  declare const getFormValue: (type: string, values: Partial<DataSourceSchema>) => Partial<DataSourceSchema>;
2256
1614
  declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) => {
2257
1615
  value: string;
2258
1616
  type: "var" | "text";
2259
1617
  }[];
2260
- declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption$1[];
1618
+ declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption[];
2261
1619
  declare const removeDataSourceFieldPrefix: (id?: string) => string;
2262
1620
 
2263
1621
  interface IdleTaskEvents {
@@ -2354,7 +1712,7 @@ interface EditorProps {
2354
1712
  /** 选中时是否自动滚动到可视区域 */
2355
1713
  autoScrollIntoView?: boolean;
2356
1714
  /** 组件的属性配置表单的dsl */
2357
- propsConfigs?: Record<string, FormConfig$1>;
1715
+ propsConfigs?: Record<string, FormConfig>;
2358
1716
  /** 添加组件时的默认值 */
2359
1717
  propsValues?: Record<string, Partial<MNode>>;
2360
1718
  /** 组件联动事件选项列表 */
@@ -2365,7 +1723,7 @@ interface EditorProps {
2365
1723
  /** 添加数据源时的默认值 */
2366
1724
  datasourceValues?: Record<string, Partial<DataSourceSchema>>;
2367
1725
  /** 数据源的属性配置表单的dsl */
2368
- datasourceConfigs?: Record<string, FormConfig$1>;
1726
+ datasourceConfigs?: Record<string, FormConfig>;
2369
1727
  datasourceEventMethodList?: Record<string, {
2370
1728
  events: EventOption[];
2371
1729
  methods: EventOption[];
@@ -2412,7 +1770,7 @@ interface EditorProps {
2412
1770
  isContainer?: (el: HTMLElement) => boolean | Promise<boolean>;
2413
1771
  /** 用于自定义组件树与画布的右键菜单 */
2414
1772
  customContentMenu?: CustomContentMenuFunction;
2415
- extendFormState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
1773
+ extendFormState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2416
1774
  /** 页面顺序拖拽配置参数 */
2417
1775
  pageBarSortOptions?: PageBarSortOptions;
2418
1776
  /** 页面搜索函数 */
@@ -2439,13 +1797,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2439
1797
  $: vue.ComponentInternalInstance;
2440
1798
  $data: {};
2441
1799
  $props: {
2442
- readonly config: FormConfig;
2443
- readonly values: FormValue;
1800
+ readonly config: _tmagic_form_schema.FormConfig;
1801
+ readonly values: _tmagic_form_schema.FormValue;
2444
1802
  readonly disabledShowSrc?: boolean | undefined;
2445
1803
  readonly labelWidth?: string | undefined;
2446
1804
  readonly codeValueKey?: string | undefined;
2447
1805
  readonly labelPosition?: string | undefined;
2448
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
1806
+ readonly extendState?: ((_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
2449
1807
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
2450
1808
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
2451
1809
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
@@ -2466,13 +1824,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2466
1824
  $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
2467
1825
  $el: any;
2468
1826
  $options: vue.ComponentOptionsBase<Readonly<{
2469
- config: FormConfig;
2470
- values: FormValue;
1827
+ config: _tmagic_form_schema.FormConfig;
1828
+ values: _tmagic_form_schema.FormValue;
2471
1829
  disabledShowSrc?: boolean;
2472
1830
  labelWidth?: string;
2473
1831
  codeValueKey?: string;
2474
1832
  labelPosition?: string;
2475
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
1833
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2476
1834
  }> & Readonly<{
2477
1835
  onMounted?: ((internalInstance: any) => any) | undefined;
2478
1836
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
@@ -2480,7 +1838,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2480
1838
  "onForm-error"?: ((e: any) => any) | undefined;
2481
1839
  }>, {
2482
1840
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2483
- config: FormConfig;
1841
+ config: _tmagic_form_schema.FormConfig;
2484
1842
  initValues: Record<string, any>;
2485
1843
  lastValues?: Record<string, any>;
2486
1844
  isCompare?: boolean;
@@ -2495,7 +1853,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2495
1853
  keyProp?: string;
2496
1854
  popperClass?: string;
2497
1855
  preventSubmitDefault?: boolean;
2498
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
1856
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2499
1857
  }> & Readonly<{
2500
1858
  onChange?: ((...args: any[]) => any) | undefined;
2501
1859
  onError?: ((...args: any[]) => any) | undefined;
@@ -2503,12 +1861,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2503
1861
  "onField-change"?: ((...args: any[]) => any) | undefined;
2504
1862
  "onField-input"?: ((...args: any[]) => any) | undefined;
2505
1863
  }>, {
2506
- values: vue.Ref<FormValue, FormValue>;
2507
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2508
- formState: FormState;
1864
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
1865
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
1866
+ formState: _tmagic_form_schema.FormState;
2509
1867
  initialized: vue.Ref<boolean, boolean>;
2510
1868
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2511
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
1869
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2512
1870
  resetForm: () => void;
2513
1871
  submitForm: (native?: boolean) => Promise<any>;
2514
1872
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -2522,14 +1880,14 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2522
1880
  labelWidth: string;
2523
1881
  inline: boolean;
2524
1882
  labelPosition: string;
2525
- config: FormConfig;
1883
+ config: _tmagic_form_schema.FormConfig;
1884
+ height: string;
2526
1885
  initValues: Record<string, any>;
2527
1886
  lastValues: Record<string, any>;
2528
1887
  isCompare: boolean;
2529
1888
  keyProp: string;
2530
1889
  parentValues: Record<string, any>;
2531
1890
  stepActive: string | number;
2532
- height: string;
2533
1891
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2534
1892
  P: {};
2535
1893
  B: {};
@@ -2538,7 +1896,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2538
1896
  M: {};
2539
1897
  Defaults: {};
2540
1898
  }, Readonly<{
2541
- config: FormConfig;
1899
+ config: _tmagic_form_schema.FormConfig;
2542
1900
  initValues: Record<string, any>;
2543
1901
  lastValues?: Record<string, any>;
2544
1902
  isCompare?: boolean;
@@ -2553,7 +1911,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2553
1911
  keyProp?: string;
2554
1912
  popperClass?: string;
2555
1913
  preventSubmitDefault?: boolean;
2556
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
1914
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2557
1915
  }> & Readonly<{
2558
1916
  onChange?: ((...args: any[]) => any) | undefined;
2559
1917
  onError?: ((...args: any[]) => any) | undefined;
@@ -2561,12 +1919,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2561
1919
  "onField-change"?: ((...args: any[]) => any) | undefined;
2562
1920
  "onField-input"?: ((...args: any[]) => any) | undefined;
2563
1921
  }>, {
2564
- values: vue.Ref<FormValue, FormValue>;
2565
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2566
- formState: FormState;
1922
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
1923
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
1924
+ formState: _tmagic_form_schema.FormState;
2567
1925
  initialized: vue.Ref<boolean, boolean>;
2568
1926
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2569
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
1927
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2570
1928
  resetForm: () => void;
2571
1929
  submitForm: (native?: boolean) => Promise<any>;
2572
1930
  }, {}, {}, {}, {
@@ -2574,16 +1932,16 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2574
1932
  labelWidth: string;
2575
1933
  inline: boolean;
2576
1934
  labelPosition: string;
2577
- config: FormConfig;
1935
+ config: _tmagic_form_schema.FormConfig;
1936
+ height: string;
2578
1937
  initValues: Record<string, any>;
2579
1938
  lastValues: Record<string, any>;
2580
1939
  isCompare: boolean;
2581
1940
  keyProp: string;
2582
1941
  parentValues: Record<string, any>;
2583
1942
  stepActive: string | number;
2584
- height: string;
2585
1943
  }> | null>>;
2586
- submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
1944
+ submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2587
1945
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2588
1946
  mounted: (internalInstance: any) => any;
2589
1947
  submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
@@ -2610,13 +1968,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2610
1968
  $nextTick: typeof vue.nextTick;
2611
1969
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
2612
1970
  } & Readonly<{}> & Omit<Readonly<{
2613
- config: FormConfig;
2614
- values: FormValue;
1971
+ config: _tmagic_form_schema.FormConfig;
1972
+ values: _tmagic_form_schema.FormValue;
2615
1973
  disabledShowSrc?: boolean;
2616
1974
  labelWidth?: string;
2617
1975
  codeValueKey?: string;
2618
1976
  labelPosition?: string;
2619
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
1977
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2620
1978
  }> & Readonly<{
2621
1979
  onMounted?: ((internalInstance: any) => any) | undefined;
2622
1980
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
@@ -2624,7 +1982,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2624
1982
  "onForm-error"?: ((e: any) => any) | undefined;
2625
1983
  }>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
2626
1984
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2627
- config: FormConfig;
1985
+ config: _tmagic_form_schema.FormConfig;
2628
1986
  initValues: Record<string, any>;
2629
1987
  lastValues?: Record<string, any>;
2630
1988
  isCompare?: boolean;
@@ -2639,7 +1997,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2639
1997
  keyProp?: string;
2640
1998
  popperClass?: string;
2641
1999
  preventSubmitDefault?: boolean;
2642
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2000
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2643
2001
  }> & Readonly<{
2644
2002
  onChange?: ((...args: any[]) => any) | undefined;
2645
2003
  onError?: ((...args: any[]) => any) | undefined;
@@ -2647,12 +2005,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2647
2005
  "onField-change"?: ((...args: any[]) => any) | undefined;
2648
2006
  "onField-input"?: ((...args: any[]) => any) | undefined;
2649
2007
  }>, {
2650
- values: vue.Ref<FormValue, FormValue>;
2651
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2652
- formState: FormState;
2008
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2009
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2010
+ formState: _tmagic_form_schema.FormState;
2653
2011
  initialized: vue.Ref<boolean, boolean>;
2654
2012
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2655
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2013
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2656
2014
  resetForm: () => void;
2657
2015
  submitForm: (native?: boolean) => Promise<any>;
2658
2016
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -2666,14 +2024,14 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2666
2024
  labelWidth: string;
2667
2025
  inline: boolean;
2668
2026
  labelPosition: string;
2669
- config: FormConfig;
2027
+ config: _tmagic_form_schema.FormConfig;
2028
+ height: string;
2670
2029
  initValues: Record<string, any>;
2671
2030
  lastValues: Record<string, any>;
2672
2031
  isCompare: boolean;
2673
2032
  keyProp: string;
2674
2033
  parentValues: Record<string, any>;
2675
2034
  stepActive: string | number;
2676
- height: string;
2677
2035
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2678
2036
  P: {};
2679
2037
  B: {};
@@ -2682,7 +2040,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2682
2040
  M: {};
2683
2041
  Defaults: {};
2684
2042
  }, Readonly<{
2685
- config: FormConfig;
2043
+ config: _tmagic_form_schema.FormConfig;
2686
2044
  initValues: Record<string, any>;
2687
2045
  lastValues?: Record<string, any>;
2688
2046
  isCompare?: boolean;
@@ -2697,7 +2055,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2697
2055
  keyProp?: string;
2698
2056
  popperClass?: string;
2699
2057
  preventSubmitDefault?: boolean;
2700
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2058
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2701
2059
  }> & Readonly<{
2702
2060
  onChange?: ((...args: any[]) => any) | undefined;
2703
2061
  onError?: ((...args: any[]) => any) | undefined;
@@ -2705,12 +2063,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2705
2063
  "onField-change"?: ((...args: any[]) => any) | undefined;
2706
2064
  "onField-input"?: ((...args: any[]) => any) | undefined;
2707
2065
  }>, {
2708
- values: vue.Ref<FormValue, FormValue>;
2709
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2710
- formState: FormState;
2066
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2067
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2068
+ formState: _tmagic_form_schema.FormState;
2711
2069
  initialized: vue.Ref<boolean, boolean>;
2712
2070
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2713
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2071
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2714
2072
  resetForm: () => void;
2715
2073
  submitForm: (native?: boolean) => Promise<any>;
2716
2074
  }, {}, {}, {}, {
@@ -2718,16 +2076,16 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2718
2076
  labelWidth: string;
2719
2077
  inline: boolean;
2720
2078
  labelPosition: string;
2721
- config: FormConfig;
2079
+ config: _tmagic_form_schema.FormConfig;
2080
+ height: string;
2722
2081
  initValues: Record<string, any>;
2723
2082
  lastValues: Record<string, any>;
2724
2083
  isCompare: boolean;
2725
2084
  keyProp: string;
2726
2085
  parentValues: Record<string, any>;
2727
2086
  stepActive: string | number;
2728
- height: string;
2729
2087
  }> | null>>;
2730
- submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2088
+ submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2731
2089
  }> & {} & vue.ComponentCustomProperties & {} & {
2732
2090
  $slots: {
2733
2091
  'props-form-panel-header'(_props: {}): any;
@@ -2741,13 +2099,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2741
2099
  $: vue.ComponentInternalInstance;
2742
2100
  $data: {};
2743
2101
  $props: {
2744
- readonly config: FormConfig;
2745
- readonly values: FormValue;
2102
+ readonly config: _tmagic_form_schema.FormConfig;
2103
+ readonly values: _tmagic_form_schema.FormValue;
2746
2104
  readonly disabledShowSrc?: boolean | undefined;
2747
2105
  readonly labelWidth?: string | undefined;
2748
2106
  readonly codeValueKey?: string | undefined;
2749
2107
  readonly labelPosition?: string | undefined;
2750
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
2108
+ readonly extendState?: ((_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
2751
2109
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
2752
2110
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
2753
2111
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
@@ -2768,13 +2126,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2768
2126
  $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
2769
2127
  $el: any;
2770
2128
  $options: vue.ComponentOptionsBase<Readonly<{
2771
- config: FormConfig;
2772
- values: FormValue;
2129
+ config: _tmagic_form_schema.FormConfig;
2130
+ values: _tmagic_form_schema.FormValue;
2773
2131
  disabledShowSrc?: boolean;
2774
2132
  labelWidth?: string;
2775
2133
  codeValueKey?: string;
2776
2134
  labelPosition?: string;
2777
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2135
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2778
2136
  }> & Readonly<{
2779
2137
  onMounted?: ((internalInstance: any) => any) | undefined;
2780
2138
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
@@ -2782,7 +2140,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2782
2140
  "onForm-error"?: ((e: any) => any) | undefined;
2783
2141
  }>, {
2784
2142
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2785
- config: FormConfig;
2143
+ config: _tmagic_form_schema.FormConfig;
2786
2144
  initValues: Record<string, any>;
2787
2145
  lastValues?: Record<string, any>;
2788
2146
  isCompare?: boolean;
@@ -2797,7 +2155,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2797
2155
  keyProp?: string;
2798
2156
  popperClass?: string;
2799
2157
  preventSubmitDefault?: boolean;
2800
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2158
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2801
2159
  }> & Readonly<{
2802
2160
  onChange?: ((...args: any[]) => any) | undefined;
2803
2161
  onError?: ((...args: any[]) => any) | undefined;
@@ -2805,12 +2163,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2805
2163
  "onField-change"?: ((...args: any[]) => any) | undefined;
2806
2164
  "onField-input"?: ((...args: any[]) => any) | undefined;
2807
2165
  }>, {
2808
- values: vue.Ref<FormValue, FormValue>;
2809
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2810
- formState: FormState;
2166
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2167
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2168
+ formState: _tmagic_form_schema.FormState;
2811
2169
  initialized: vue.Ref<boolean, boolean>;
2812
2170
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2813
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2171
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2814
2172
  resetForm: () => void;
2815
2173
  submitForm: (native?: boolean) => Promise<any>;
2816
2174
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -2824,14 +2182,14 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2824
2182
  labelWidth: string;
2825
2183
  inline: boolean;
2826
2184
  labelPosition: string;
2827
- config: FormConfig;
2185
+ config: _tmagic_form_schema.FormConfig;
2186
+ height: string;
2828
2187
  initValues: Record<string, any>;
2829
2188
  lastValues: Record<string, any>;
2830
2189
  isCompare: boolean;
2831
2190
  keyProp: string;
2832
2191
  parentValues: Record<string, any>;
2833
2192
  stepActive: string | number;
2834
- height: string;
2835
2193
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2836
2194
  P: {};
2837
2195
  B: {};
@@ -2840,7 +2198,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2840
2198
  M: {};
2841
2199
  Defaults: {};
2842
2200
  }, Readonly<{
2843
- config: FormConfig;
2201
+ config: _tmagic_form_schema.FormConfig;
2844
2202
  initValues: Record<string, any>;
2845
2203
  lastValues?: Record<string, any>;
2846
2204
  isCompare?: boolean;
@@ -2855,7 +2213,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2855
2213
  keyProp?: string;
2856
2214
  popperClass?: string;
2857
2215
  preventSubmitDefault?: boolean;
2858
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2216
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2859
2217
  }> & Readonly<{
2860
2218
  onChange?: ((...args: any[]) => any) | undefined;
2861
2219
  onError?: ((...args: any[]) => any) | undefined;
@@ -2863,12 +2221,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2863
2221
  "onField-change"?: ((...args: any[]) => any) | undefined;
2864
2222
  "onField-input"?: ((...args: any[]) => any) | undefined;
2865
2223
  }>, {
2866
- values: vue.Ref<FormValue, FormValue>;
2867
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2868
- formState: FormState;
2224
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2225
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2226
+ formState: _tmagic_form_schema.FormState;
2869
2227
  initialized: vue.Ref<boolean, boolean>;
2870
2228
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2871
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2229
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2872
2230
  resetForm: () => void;
2873
2231
  submitForm: (native?: boolean) => Promise<any>;
2874
2232
  }, {}, {}, {}, {
@@ -2876,16 +2234,16 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2876
2234
  labelWidth: string;
2877
2235
  inline: boolean;
2878
2236
  labelPosition: string;
2879
- config: FormConfig;
2237
+ config: _tmagic_form_schema.FormConfig;
2238
+ height: string;
2880
2239
  initValues: Record<string, any>;
2881
2240
  lastValues: Record<string, any>;
2882
2241
  isCompare: boolean;
2883
2242
  keyProp: string;
2884
2243
  parentValues: Record<string, any>;
2885
2244
  stepActive: string | number;
2886
- height: string;
2887
2245
  }> | null>>;
2888
- submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2246
+ submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2889
2247
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2890
2248
  mounted: (internalInstance: any) => any;
2891
2249
  submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
@@ -2912,13 +2270,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2912
2270
  $nextTick: typeof vue.nextTick;
2913
2271
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
2914
2272
  } & Readonly<{}> & Omit<Readonly<{
2915
- config: FormConfig;
2916
- values: FormValue;
2273
+ config: _tmagic_form_schema.FormConfig;
2274
+ values: _tmagic_form_schema.FormValue;
2917
2275
  disabledShowSrc?: boolean;
2918
2276
  labelWidth?: string;
2919
2277
  codeValueKey?: string;
2920
2278
  labelPosition?: string;
2921
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2279
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2922
2280
  }> & Readonly<{
2923
2281
  onMounted?: ((internalInstance: any) => any) | undefined;
2924
2282
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
@@ -2926,7 +2284,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2926
2284
  "onForm-error"?: ((e: any) => any) | undefined;
2927
2285
  }>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
2928
2286
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2929
- config: FormConfig;
2287
+ config: _tmagic_form_schema.FormConfig;
2930
2288
  initValues: Record<string, any>;
2931
2289
  lastValues?: Record<string, any>;
2932
2290
  isCompare?: boolean;
@@ -2941,7 +2299,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2941
2299
  keyProp?: string;
2942
2300
  popperClass?: string;
2943
2301
  preventSubmitDefault?: boolean;
2944
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2302
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
2945
2303
  }> & Readonly<{
2946
2304
  onChange?: ((...args: any[]) => any) | undefined;
2947
2305
  onError?: ((...args: any[]) => any) | undefined;
@@ -2949,12 +2307,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2949
2307
  "onField-change"?: ((...args: any[]) => any) | undefined;
2950
2308
  "onField-input"?: ((...args: any[]) => any) | undefined;
2951
2309
  }>, {
2952
- values: vue.Ref<FormValue, FormValue>;
2953
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2954
- formState: FormState;
2310
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2311
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2312
+ formState: _tmagic_form_schema.FormState;
2955
2313
  initialized: vue.Ref<boolean, boolean>;
2956
2314
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2957
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2315
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
2958
2316
  resetForm: () => void;
2959
2317
  submitForm: (native?: boolean) => Promise<any>;
2960
2318
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -2968,14 +2326,14 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2968
2326
  labelWidth: string;
2969
2327
  inline: boolean;
2970
2328
  labelPosition: string;
2971
- config: FormConfig;
2329
+ config: _tmagic_form_schema.FormConfig;
2330
+ height: string;
2972
2331
  initValues: Record<string, any>;
2973
2332
  lastValues: Record<string, any>;
2974
2333
  isCompare: boolean;
2975
2334
  keyProp: string;
2976
2335
  parentValues: Record<string, any>;
2977
2336
  stepActive: string | number;
2978
- height: string;
2979
2337
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2980
2338
  P: {};
2981
2339
  B: {};
@@ -2984,7 +2342,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2984
2342
  M: {};
2985
2343
  Defaults: {};
2986
2344
  }, Readonly<{
2987
- config: FormConfig;
2345
+ config: _tmagic_form_schema.FormConfig;
2988
2346
  initValues: Record<string, any>;
2989
2347
  lastValues?: Record<string, any>;
2990
2348
  isCompare?: boolean;
@@ -2999,7 +2357,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
2999
2357
  keyProp?: string;
3000
2358
  popperClass?: string;
3001
2359
  preventSubmitDefault?: boolean;
3002
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2360
+ extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
3003
2361
  }> & Readonly<{
3004
2362
  onChange?: ((...args: any[]) => any) | undefined;
3005
2363
  onError?: ((...args: any[]) => any) | undefined;
@@ -3007,12 +2365,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
3007
2365
  "onField-change"?: ((...args: any[]) => any) | undefined;
3008
2366
  "onField-input"?: ((...args: any[]) => any) | undefined;
3009
2367
  }>, {
3010
- values: vue.Ref<FormValue, FormValue>;
3011
- lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3012
- formState: FormState;
2368
+ values: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2369
+ lastValuesProcessed: vue.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
2370
+ formState: _tmagic_form_schema.FormState;
3013
2371
  initialized: vue.Ref<boolean, boolean>;
3014
2372
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3015
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2373
+ changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
3016
2374
  resetForm: () => void;
3017
2375
  submitForm: (native?: boolean) => Promise<any>;
3018
2376
  }, {}, {}, {}, {
@@ -3020,16 +2378,16 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
3020
2378
  labelWidth: string;
3021
2379
  inline: boolean;
3022
2380
  labelPosition: string;
3023
- config: FormConfig;
2381
+ config: _tmagic_form_schema.FormConfig;
2382
+ height: string;
3024
2383
  initValues: Record<string, any>;
3025
2384
  lastValues: Record<string, any>;
3026
2385
  isCompare: boolean;
3027
2386
  keyProp: string;
3028
2387
  parentValues: Record<string, any>;
3029
2388
  stepActive: string | number;
3030
- height: string;
3031
2389
  }> | null>>;
3032
- submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2390
+ submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3033
2391
  }> & {} & vue.ComponentCustomProperties & {} & {
3034
2392
  $slots: {
3035
2393
  'props-form-panel-header'(_props: {}): any;
@@ -3039,12 +2397,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
3039
2397
  "onProps-submit-error"?: ((e: any) => any) | undefined;
3040
2398
  }>, {
3041
2399
  menu: MenuBarData;
3042
- renderType: StageCore.RenderType;
3043
- disabledMultiSelect: boolean;
3044
- disabledPageFragment: boolean;
3045
2400
  codeOptions: {
3046
2401
  [key: string]: any;
3047
2402
  };
2403
+ renderType: StageCore.RenderType;
2404
+ disabledMultiSelect: boolean;
2405
+ disabledPageFragment: boolean;
3048
2406
  disabledShowSrc: boolean;
3049
2407
  customContentMenu: CustomContentMenuFunction;
3050
2408
  layerContentMenu: (MenuButton | MenuComponent)[];
@@ -3054,14 +2412,14 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
3054
2412
  stageContentMenu: (MenuButton | MenuComponent)[];
3055
2413
  disabledStageOverlay: boolean;
3056
2414
  datasourceList: DatasourceTypeOption[];
3057
- propsConfigs: Record<string, FormConfig>;
2415
+ propsConfigs: Record<string, _tmagic_form_schema.FormConfig>;
3058
2416
  propsValues: Record<string, Partial<_tmagic_schema.MNode>>;
3059
2417
  eventMethodList: Record<string, {
3060
2418
  events: _tmagic_core.EventOption[];
3061
2419
  methods: _tmagic_core.EventOption[];
3062
2420
  }>;
3063
2421
  datasourceValues: Record<string, Partial<_tmagic_schema.DataSourceSchema>>;
3064
- datasourceConfigs: Record<string, FormConfig>;
2422
+ datasourceConfigs: Record<string, _tmagic_form_schema.FormConfig>;
3065
2423
  containerHighlightDuration: number;
3066
2424
  containerHighlightType: StageCore.ContainerHighlightType;
3067
2425
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
@@ -3104,9 +2462,9 @@ declare const _default$w: vue.DefineComponent<__VLS_Props$t, {
3104
2462
  options: {
3105
2463
  [key: string]: any;
3106
2464
  };
3107
- initValues: any;
3108
- parse: boolean;
3109
2465
  language: string;
2466
+ parse: boolean;
2467
+ initValues: any;
3110
2468
  autoSave: boolean;
3111
2469
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
3112
2470
 
@@ -3136,9 +2494,7 @@ type __VLS_WithSlots$a<T, S> = T & {
3136
2494
  };
3137
2495
  };
3138
2496
 
3139
- type __VLS_Props$r = FieldProps<{
3140
- className?: string;
3141
- } & FormItem$1>;
2497
+ type __VLS_Props$r = FieldProps<CodeSelectConfig>;
3142
2498
  declare const _default$t: vue.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3143
2499
  change: (v: any, eventData: ContainerChangeEventData$1) => any;
3144
2500
  }, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
@@ -3154,9 +2510,7 @@ declare const _default$s: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue
3154
2510
  disabled: boolean;
3155
2511
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
3156
2512
 
3157
- type __VLS_Props$p = FieldProps<{
3158
- type: 'data-source-fields';
3159
- }>;
2513
+ type __VLS_Props$p = FieldProps<DataSourceFieldsConfig>;
3160
2514
  type __VLS_PublicProps$4 = __VLS_Props$p & {
3161
2515
  'width'?: number;
3162
2516
  'visible'?: boolean;
@@ -3176,9 +2530,7 @@ declare const _default$r: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {
3176
2530
  disabled: boolean;
3177
2531
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
3178
2532
 
3179
- type __VLS_Props$o = FieldProps<{
3180
- type: 'data-source-mocks';
3181
- }>;
2533
+ type __VLS_Props$o = FieldProps<DataSourceMocksConfig>;
3182
2534
  type __VLS_PublicProps$3 = __VLS_Props$o & {
3183
2535
  'width'?: number;
3184
2536
  'visible'?: boolean;
@@ -3195,9 +2547,7 @@ declare const _default$q: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {
3195
2547
  disabled: boolean;
3196
2548
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
3197
2549
 
3198
- type __VLS_Props$n = FieldProps<{
3199
- type: 'data-source-methods';
3200
- }>;
2550
+ type __VLS_Props$n = FieldProps<DataSourceMethodsConfig>;
3201
2551
  declare const _default$p: vue.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3202
2552
  change: (...args: any[]) => void;
3203
2553
  }, string, vue.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
@@ -3206,9 +2556,7 @@ declare const _default$p: vue.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, vue
3206
2556
  disabled: boolean;
3207
2557
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
3208
2558
 
3209
- type __VLS_Props$m = FieldProps<{
3210
- type: 'data-source-input';
3211
- } & FormItem$1>;
2559
+ type __VLS_Props$m = FieldProps<DataSourceInputConfig>;
3212
2560
  declare const _default$o: vue.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3213
2561
  change: (value: string) => any;
3214
2562
  }, string, vue.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
@@ -3251,10 +2599,7 @@ declare const _default$k: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue
3251
2599
  onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3252
2600
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
3253
2601
 
3254
- type __VLS_Props$h = FieldProps<{
3255
- type: 'key-value';
3256
- advanced?: boolean;
3257
- } & FormItem$1>;
2602
+ type __VLS_Props$h = FieldProps<KeyValueConfig>;
3258
2603
  declare const _default$j: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3259
2604
  change: (value: Record<string, any>) => any;
3260
2605
  }, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
@@ -3345,23 +2690,23 @@ declare const _default$g: vue.DefineComponent<__VLS_PublicProps$2, {
3345
2690
  type __VLS_Slots$7 = PropsPanelSlots;
3346
2691
  type __VLS_Props$d = {
3347
2692
  disabledShowSrc?: boolean;
3348
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
2693
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3349
2694
  };
3350
2695
  declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3351
- getFormState(): FormState$1 | undefined;
2696
+ getFormState(): FormState | undefined;
3352
2697
  submit: (v: MNode, eventData?: ContainerChangeEventData$1) => Promise<void>;
3353
2698
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3354
2699
  mounted: (internalInstance: {
3355
2700
  $: vue.ComponentInternalInstance;
3356
2701
  $data: {};
3357
2702
  $props: {
3358
- readonly config: FormConfig;
3359
- readonly values: FormValue$1;
2703
+ readonly config: _tmagic_form_schema.FormConfig;
2704
+ readonly values: FormValue;
3360
2705
  readonly disabledShowSrc?: boolean | undefined;
3361
2706
  readonly labelWidth?: string | undefined;
3362
2707
  readonly codeValueKey?: string | undefined;
3363
2708
  readonly labelPosition?: string | undefined;
3364
- readonly extendState?: ((_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>) | undefined;
2709
+ readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3365
2710
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3366
2711
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3367
2712
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
@@ -3382,13 +2727,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3382
2727
  $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3383
2728
  $el: any;
3384
2729
  $options: vue.ComponentOptionsBase<Readonly<{
3385
- config: FormConfig;
3386
- values: FormValue$1;
2730
+ config: _tmagic_form_schema.FormConfig;
2731
+ values: FormValue;
3387
2732
  disabledShowSrc?: boolean;
3388
2733
  labelWidth?: string;
3389
2734
  codeValueKey?: string;
3390
2735
  labelPosition?: string;
3391
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
2736
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3392
2737
  }> & Readonly<{
3393
2738
  onMounted?: ((internalInstance: any) => any) | undefined;
3394
2739
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
@@ -3396,7 +2741,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3396
2741
  "onForm-error"?: ((e: any) => any) | undefined;
3397
2742
  }>, {
3398
2743
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
3399
- config: FormConfig;
2744
+ config: _tmagic_form_schema.FormConfig;
3400
2745
  initValues: Record<string, any>;
3401
2746
  lastValues?: Record<string, any>;
3402
2747
  isCompare?: boolean;
@@ -3411,7 +2756,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3411
2756
  keyProp?: string;
3412
2757
  popperClass?: string;
3413
2758
  preventSubmitDefault?: boolean;
3414
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
2759
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3415
2760
  }> & Readonly<{
3416
2761
  onChange?: ((...args: any[]) => any) | undefined;
3417
2762
  onError?: ((...args: any[]) => any) | undefined;
@@ -3419,12 +2764,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3419
2764
  "onField-change"?: ((...args: any[]) => any) | undefined;
3420
2765
  "onField-input"?: ((...args: any[]) => any) | undefined;
3421
2766
  }>, {
3422
- values: vue.Ref<FormValue$1, FormValue$1>;
3423
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3424
- formState: FormState$1;
2767
+ values: vue.Ref<FormValue, FormValue>;
2768
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2769
+ formState: FormState;
3425
2770
  initialized: vue.Ref<boolean, boolean>;
3426
2771
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3427
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
2772
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3428
2773
  resetForm: () => void;
3429
2774
  submitForm: (native?: boolean) => Promise<any>;
3430
2775
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -3438,14 +2783,14 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3438
2783
  labelWidth: string;
3439
2784
  inline: boolean;
3440
2785
  labelPosition: string;
3441
- config: FormConfig;
2786
+ config: _tmagic_form_schema.FormConfig;
2787
+ height: string;
3442
2788
  initValues: Record<string, any>;
3443
2789
  lastValues: Record<string, any>;
3444
2790
  isCompare: boolean;
3445
2791
  keyProp: string;
3446
2792
  parentValues: Record<string, any>;
3447
2793
  stepActive: string | number;
3448
- height: string;
3449
2794
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3450
2795
  P: {};
3451
2796
  B: {};
@@ -3454,7 +2799,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3454
2799
  M: {};
3455
2800
  Defaults: {};
3456
2801
  }, Readonly<{
3457
- config: FormConfig;
2802
+ config: _tmagic_form_schema.FormConfig;
3458
2803
  initValues: Record<string, any>;
3459
2804
  lastValues?: Record<string, any>;
3460
2805
  isCompare?: boolean;
@@ -3469,7 +2814,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3469
2814
  keyProp?: string;
3470
2815
  popperClass?: string;
3471
2816
  preventSubmitDefault?: boolean;
3472
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
2817
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3473
2818
  }> & Readonly<{
3474
2819
  onChange?: ((...args: any[]) => any) | undefined;
3475
2820
  onError?: ((...args: any[]) => any) | undefined;
@@ -3477,12 +2822,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3477
2822
  "onField-change"?: ((...args: any[]) => any) | undefined;
3478
2823
  "onField-input"?: ((...args: any[]) => any) | undefined;
3479
2824
  }>, {
3480
- values: vue.Ref<FormValue$1, FormValue$1>;
3481
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3482
- formState: FormState$1;
2825
+ values: vue.Ref<FormValue, FormValue>;
2826
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2827
+ formState: FormState;
3483
2828
  initialized: vue.Ref<boolean, boolean>;
3484
2829
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3485
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
2830
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3486
2831
  resetForm: () => void;
3487
2832
  submitForm: (native?: boolean) => Promise<any>;
3488
2833
  }, {}, {}, {}, {
@@ -3490,16 +2835,16 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3490
2835
  labelWidth: string;
3491
2836
  inline: boolean;
3492
2837
  labelPosition: string;
3493
- config: FormConfig;
2838
+ config: _tmagic_form_schema.FormConfig;
2839
+ height: string;
3494
2840
  initValues: Record<string, any>;
3495
2841
  lastValues: Record<string, any>;
3496
2842
  isCompare: boolean;
3497
2843
  keyProp: string;
3498
2844
  parentValues: Record<string, any>;
3499
2845
  stepActive: string | number;
3500
- height: string;
3501
2846
  }> | null>>;
3502
- submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
2847
+ submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
3503
2848
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3504
2849
  mounted: (internalInstance: any) => any;
3505
2850
  submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
@@ -3526,13 +2871,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3526
2871
  $nextTick: typeof vue.nextTick;
3527
2872
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
3528
2873
  } & Readonly<{}> & Omit<Readonly<{
3529
- config: FormConfig;
3530
- values: FormValue$1;
2874
+ config: _tmagic_form_schema.FormConfig;
2875
+ values: FormValue;
3531
2876
  disabledShowSrc?: boolean;
3532
2877
  labelWidth?: string;
3533
2878
  codeValueKey?: string;
3534
2879
  labelPosition?: string;
3535
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
2880
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3536
2881
  }> & Readonly<{
3537
2882
  onMounted?: ((internalInstance: any) => any) | undefined;
3538
2883
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
@@ -3540,7 +2885,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3540
2885
  "onForm-error"?: ((e: any) => any) | undefined;
3541
2886
  }>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
3542
2887
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
3543
- config: FormConfig;
2888
+ config: _tmagic_form_schema.FormConfig;
3544
2889
  initValues: Record<string, any>;
3545
2890
  lastValues?: Record<string, any>;
3546
2891
  isCompare?: boolean;
@@ -3555,7 +2900,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3555
2900
  keyProp?: string;
3556
2901
  popperClass?: string;
3557
2902
  preventSubmitDefault?: boolean;
3558
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
2903
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3559
2904
  }> & Readonly<{
3560
2905
  onChange?: ((...args: any[]) => any) | undefined;
3561
2906
  onError?: ((...args: any[]) => any) | undefined;
@@ -3563,12 +2908,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3563
2908
  "onField-change"?: ((...args: any[]) => any) | undefined;
3564
2909
  "onField-input"?: ((...args: any[]) => any) | undefined;
3565
2910
  }>, {
3566
- values: vue.Ref<FormValue$1, FormValue$1>;
3567
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3568
- formState: FormState$1;
2911
+ values: vue.Ref<FormValue, FormValue>;
2912
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2913
+ formState: FormState;
3569
2914
  initialized: vue.Ref<boolean, boolean>;
3570
2915
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3571
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
2916
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3572
2917
  resetForm: () => void;
3573
2918
  submitForm: (native?: boolean) => Promise<any>;
3574
2919
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -3582,14 +2927,14 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3582
2927
  labelWidth: string;
3583
2928
  inline: boolean;
3584
2929
  labelPosition: string;
3585
- config: FormConfig;
2930
+ config: _tmagic_form_schema.FormConfig;
2931
+ height: string;
3586
2932
  initValues: Record<string, any>;
3587
2933
  lastValues: Record<string, any>;
3588
2934
  isCompare: boolean;
3589
2935
  keyProp: string;
3590
2936
  parentValues: Record<string, any>;
3591
2937
  stepActive: string | number;
3592
- height: string;
3593
2938
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3594
2939
  P: {};
3595
2940
  B: {};
@@ -3598,7 +2943,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3598
2943
  M: {};
3599
2944
  Defaults: {};
3600
2945
  }, Readonly<{
3601
- config: FormConfig;
2946
+ config: _tmagic_form_schema.FormConfig;
3602
2947
  initValues: Record<string, any>;
3603
2948
  lastValues?: Record<string, any>;
3604
2949
  isCompare?: boolean;
@@ -3613,7 +2958,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3613
2958
  keyProp?: string;
3614
2959
  popperClass?: string;
3615
2960
  preventSubmitDefault?: boolean;
3616
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
2961
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3617
2962
  }> & Readonly<{
3618
2963
  onChange?: ((...args: any[]) => any) | undefined;
3619
2964
  onError?: ((...args: any[]) => any) | undefined;
@@ -3621,12 +2966,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3621
2966
  "onField-change"?: ((...args: any[]) => any) | undefined;
3622
2967
  "onField-input"?: ((...args: any[]) => any) | undefined;
3623
2968
  }>, {
3624
- values: vue.Ref<FormValue$1, FormValue$1>;
3625
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3626
- formState: FormState$1;
2969
+ values: vue.Ref<FormValue, FormValue>;
2970
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2971
+ formState: FormState;
3627
2972
  initialized: vue.Ref<boolean, boolean>;
3628
2973
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3629
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
2974
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3630
2975
  resetForm: () => void;
3631
2976
  submitForm: (native?: boolean) => Promise<any>;
3632
2977
  }, {}, {}, {}, {
@@ -3634,16 +2979,16 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3634
2979
  labelWidth: string;
3635
2980
  inline: boolean;
3636
2981
  labelPosition: string;
3637
- config: FormConfig;
2982
+ config: _tmagic_form_schema.FormConfig;
2983
+ height: string;
3638
2984
  initValues: Record<string, any>;
3639
2985
  lastValues: Record<string, any>;
3640
2986
  isCompare: boolean;
3641
2987
  keyProp: string;
3642
2988
  parentValues: Record<string, any>;
3643
2989
  stepActive: string | number;
3644
- height: string;
3645
2990
  }> | null>>;
3646
- submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
2991
+ submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
3647
2992
  }> & {} & vue.ComponentCustomProperties & {} & {
3648
2993
  $slots: {
3649
2994
  'props-form-panel-header'(_props: {}): any;
@@ -3656,13 +3001,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3656
3001
  $: vue.ComponentInternalInstance;
3657
3002
  $data: {};
3658
3003
  $props: {
3659
- readonly config: FormConfig;
3660
- readonly values: FormValue$1;
3004
+ readonly config: _tmagic_form_schema.FormConfig;
3005
+ readonly values: FormValue;
3661
3006
  readonly disabledShowSrc?: boolean | undefined;
3662
3007
  readonly labelWidth?: string | undefined;
3663
3008
  readonly codeValueKey?: string | undefined;
3664
3009
  readonly labelPosition?: string | undefined;
3665
- readonly extendState?: ((_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3010
+ readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3666
3011
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3667
3012
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3668
3013
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
@@ -3683,13 +3028,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3683
3028
  $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3684
3029
  $el: any;
3685
3030
  $options: vue.ComponentOptionsBase<Readonly<{
3686
- config: FormConfig;
3687
- values: FormValue$1;
3031
+ config: _tmagic_form_schema.FormConfig;
3032
+ values: FormValue;
3688
3033
  disabledShowSrc?: boolean;
3689
3034
  labelWidth?: string;
3690
3035
  codeValueKey?: string;
3691
3036
  labelPosition?: string;
3692
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3037
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3693
3038
  }> & Readonly<{
3694
3039
  onMounted?: ((internalInstance: any) => any) | undefined;
3695
3040
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
@@ -3697,7 +3042,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3697
3042
  "onForm-error"?: ((e: any) => any) | undefined;
3698
3043
  }>, {
3699
3044
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
3700
- config: FormConfig;
3045
+ config: _tmagic_form_schema.FormConfig;
3701
3046
  initValues: Record<string, any>;
3702
3047
  lastValues?: Record<string, any>;
3703
3048
  isCompare?: boolean;
@@ -3712,7 +3057,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3712
3057
  keyProp?: string;
3713
3058
  popperClass?: string;
3714
3059
  preventSubmitDefault?: boolean;
3715
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3060
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3716
3061
  }> & Readonly<{
3717
3062
  onChange?: ((...args: any[]) => any) | undefined;
3718
3063
  onError?: ((...args: any[]) => any) | undefined;
@@ -3720,12 +3065,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3720
3065
  "onField-change"?: ((...args: any[]) => any) | undefined;
3721
3066
  "onField-input"?: ((...args: any[]) => any) | undefined;
3722
3067
  }>, {
3723
- values: vue.Ref<FormValue$1, FormValue$1>;
3724
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3725
- formState: FormState$1;
3068
+ values: vue.Ref<FormValue, FormValue>;
3069
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3070
+ formState: FormState;
3726
3071
  initialized: vue.Ref<boolean, boolean>;
3727
3072
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3728
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
3073
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3729
3074
  resetForm: () => void;
3730
3075
  submitForm: (native?: boolean) => Promise<any>;
3731
3076
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -3739,14 +3084,14 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3739
3084
  labelWidth: string;
3740
3085
  inline: boolean;
3741
3086
  labelPosition: string;
3742
- config: FormConfig;
3087
+ config: _tmagic_form_schema.FormConfig;
3088
+ height: string;
3743
3089
  initValues: Record<string, any>;
3744
3090
  lastValues: Record<string, any>;
3745
3091
  isCompare: boolean;
3746
3092
  keyProp: string;
3747
3093
  parentValues: Record<string, any>;
3748
3094
  stepActive: string | number;
3749
- height: string;
3750
3095
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3751
3096
  P: {};
3752
3097
  B: {};
@@ -3755,7 +3100,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3755
3100
  M: {};
3756
3101
  Defaults: {};
3757
3102
  }, Readonly<{
3758
- config: FormConfig;
3103
+ config: _tmagic_form_schema.FormConfig;
3759
3104
  initValues: Record<string, any>;
3760
3105
  lastValues?: Record<string, any>;
3761
3106
  isCompare?: boolean;
@@ -3770,7 +3115,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3770
3115
  keyProp?: string;
3771
3116
  popperClass?: string;
3772
3117
  preventSubmitDefault?: boolean;
3773
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3118
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3774
3119
  }> & Readonly<{
3775
3120
  onChange?: ((...args: any[]) => any) | undefined;
3776
3121
  onError?: ((...args: any[]) => any) | undefined;
@@ -3778,12 +3123,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3778
3123
  "onField-change"?: ((...args: any[]) => any) | undefined;
3779
3124
  "onField-input"?: ((...args: any[]) => any) | undefined;
3780
3125
  }>, {
3781
- values: vue.Ref<FormValue$1, FormValue$1>;
3782
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3783
- formState: FormState$1;
3126
+ values: vue.Ref<FormValue, FormValue>;
3127
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3128
+ formState: FormState;
3784
3129
  initialized: vue.Ref<boolean, boolean>;
3785
3130
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3786
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
3131
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3787
3132
  resetForm: () => void;
3788
3133
  submitForm: (native?: boolean) => Promise<any>;
3789
3134
  }, {}, {}, {}, {
@@ -3791,16 +3136,16 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3791
3136
  labelWidth: string;
3792
3137
  inline: boolean;
3793
3138
  labelPosition: string;
3794
- config: FormConfig;
3139
+ config: _tmagic_form_schema.FormConfig;
3140
+ height: string;
3795
3141
  initValues: Record<string, any>;
3796
3142
  lastValues: Record<string, any>;
3797
3143
  isCompare: boolean;
3798
3144
  keyProp: string;
3799
3145
  parentValues: Record<string, any>;
3800
3146
  stepActive: string | number;
3801
- height: string;
3802
3147
  }> | null>>;
3803
- submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
3148
+ submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
3804
3149
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3805
3150
  mounted: (internalInstance: any) => any;
3806
3151
  submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
@@ -3827,13 +3172,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3827
3172
  $nextTick: typeof vue.nextTick;
3828
3173
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
3829
3174
  } & Readonly<{}> & Omit<Readonly<{
3830
- config: FormConfig;
3831
- values: FormValue$1;
3175
+ config: _tmagic_form_schema.FormConfig;
3176
+ values: FormValue;
3832
3177
  disabledShowSrc?: boolean;
3833
3178
  labelWidth?: string;
3834
3179
  codeValueKey?: string;
3835
3180
  labelPosition?: string;
3836
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3181
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3837
3182
  }> & Readonly<{
3838
3183
  onMounted?: ((internalInstance: any) => any) | undefined;
3839
3184
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
@@ -3841,7 +3186,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3841
3186
  "onForm-error"?: ((e: any) => any) | undefined;
3842
3187
  }>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
3843
3188
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
3844
- config: FormConfig;
3189
+ config: _tmagic_form_schema.FormConfig;
3845
3190
  initValues: Record<string, any>;
3846
3191
  lastValues?: Record<string, any>;
3847
3192
  isCompare?: boolean;
@@ -3856,7 +3201,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3856
3201
  keyProp?: string;
3857
3202
  popperClass?: string;
3858
3203
  preventSubmitDefault?: boolean;
3859
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3204
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3860
3205
  }> & Readonly<{
3861
3206
  onChange?: ((...args: any[]) => any) | undefined;
3862
3207
  onError?: ((...args: any[]) => any) | undefined;
@@ -3864,12 +3209,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3864
3209
  "onField-change"?: ((...args: any[]) => any) | undefined;
3865
3210
  "onField-input"?: ((...args: any[]) => any) | undefined;
3866
3211
  }>, {
3867
- values: vue.Ref<FormValue$1, FormValue$1>;
3868
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3869
- formState: FormState$1;
3212
+ values: vue.Ref<FormValue, FormValue>;
3213
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3214
+ formState: FormState;
3870
3215
  initialized: vue.Ref<boolean, boolean>;
3871
3216
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3872
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
3217
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3873
3218
  resetForm: () => void;
3874
3219
  submitForm: (native?: boolean) => Promise<any>;
3875
3220
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -3883,14 +3228,14 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3883
3228
  labelWidth: string;
3884
3229
  inline: boolean;
3885
3230
  labelPosition: string;
3886
- config: FormConfig;
3231
+ config: _tmagic_form_schema.FormConfig;
3232
+ height: string;
3887
3233
  initValues: Record<string, any>;
3888
3234
  lastValues: Record<string, any>;
3889
3235
  isCompare: boolean;
3890
3236
  keyProp: string;
3891
3237
  parentValues: Record<string, any>;
3892
3238
  stepActive: string | number;
3893
- height: string;
3894
3239
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3895
3240
  P: {};
3896
3241
  B: {};
@@ -3899,7 +3244,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3899
3244
  M: {};
3900
3245
  Defaults: {};
3901
3246
  }, Readonly<{
3902
- config: FormConfig;
3247
+ config: _tmagic_form_schema.FormConfig;
3903
3248
  initValues: Record<string, any>;
3904
3249
  lastValues?: Record<string, any>;
3905
3250
  isCompare?: boolean;
@@ -3914,7 +3259,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3914
3259
  keyProp?: string;
3915
3260
  popperClass?: string;
3916
3261
  preventSubmitDefault?: boolean;
3917
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3262
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3918
3263
  }> & Readonly<{
3919
3264
  onChange?: ((...args: any[]) => any) | undefined;
3920
3265
  onError?: ((...args: any[]) => any) | undefined;
@@ -3922,12 +3267,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3922
3267
  "onField-change"?: ((...args: any[]) => any) | undefined;
3923
3268
  "onField-input"?: ((...args: any[]) => any) | undefined;
3924
3269
  }>, {
3925
- values: vue.Ref<FormValue$1, FormValue$1>;
3926
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
3927
- formState: FormState$1;
3270
+ values: vue.Ref<FormValue, FormValue>;
3271
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3272
+ formState: FormState;
3928
3273
  initialized: vue.Ref<boolean, boolean>;
3929
3274
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3930
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
3275
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
3931
3276
  resetForm: () => void;
3932
3277
  submitForm: (native?: boolean) => Promise<any>;
3933
3278
  }, {}, {}, {}, {
@@ -3935,16 +3280,16 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
3935
3280
  labelWidth: string;
3936
3281
  inline: boolean;
3937
3282
  labelPosition: string;
3938
- config: FormConfig;
3283
+ config: _tmagic_form_schema.FormConfig;
3284
+ height: string;
3939
3285
  initValues: Record<string, any>;
3940
3286
  lastValues: Record<string, any>;
3941
3287
  isCompare: boolean;
3942
3288
  keyProp: string;
3943
3289
  parentValues: Record<string, any>;
3944
3290
  stepActive: string | number;
3945
- height: string;
3946
3291
  }> | null>>;
3947
- submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
3292
+ submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
3948
3293
  }> & {} & vue.ComponentCustomProperties & {} & {
3949
3294
  $slots: {
3950
3295
  'props-form-panel-header'(_props: {}): any;
@@ -3965,17 +3310,17 @@ type __VLS_Slots$6 = {
3965
3310
  'props-form-panel-header'(_props: {}): any;
3966
3311
  };
3967
3312
  type __VLS_Props$c = {
3968
- config: FormConfig$1;
3969
- values: FormValue$1;
3313
+ config: FormConfig;
3314
+ values: FormValue;
3970
3315
  disabledShowSrc?: boolean;
3971
3316
  labelWidth?: string;
3972
3317
  codeValueKey?: string;
3973
3318
  labelPosition?: string;
3974
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3319
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3975
3320
  };
3976
3321
  declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
3977
3322
  configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
3978
- config: FormConfig$1;
3323
+ config: FormConfig;
3979
3324
  initValues: Record<string, any>;
3980
3325
  lastValues?: Record<string, any>;
3981
3326
  isCompare?: boolean;
@@ -3990,7 +3335,7 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
3990
3335
  keyProp?: string;
3991
3336
  popperClass?: string;
3992
3337
  preventSubmitDefault?: boolean;
3993
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3338
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3994
3339
  }> & Readonly<{
3995
3340
  onChange?: ((...args: any[]) => any) | undefined;
3996
3341
  onError?: ((...args: any[]) => any) | undefined;
@@ -3998,12 +3343,12 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
3998
3343
  "onField-change"?: ((...args: any[]) => any) | undefined;
3999
3344
  "onField-input"?: ((...args: any[]) => any) | undefined;
4000
3345
  }>, {
4001
- values: vue.Ref<FormValue$1, FormValue$1>;
4002
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4003
- formState: FormState$1;
3346
+ values: vue.Ref<FormValue, FormValue>;
3347
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3348
+ formState: FormState;
4004
3349
  initialized: vue.Ref<boolean, boolean>;
4005
3350
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4006
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
3351
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
4007
3352
  resetForm: () => void;
4008
3353
  submitForm: (native?: boolean) => Promise<any>;
4009
3354
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -4017,14 +3362,14 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
4017
3362
  labelWidth: string;
4018
3363
  inline: boolean;
4019
3364
  labelPosition: string;
4020
- config: FormConfig$1;
3365
+ config: FormConfig;
3366
+ height: string;
4021
3367
  initValues: Record<string, any>;
4022
3368
  lastValues: Record<string, any>;
4023
3369
  isCompare: boolean;
4024
3370
  keyProp: string;
4025
3371
  parentValues: Record<string, any>;
4026
3372
  stepActive: string | number;
4027
- height: string;
4028
3373
  }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4029
3374
  P: {};
4030
3375
  B: {};
@@ -4033,7 +3378,7 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
4033
3378
  M: {};
4034
3379
  Defaults: {};
4035
3380
  }, Readonly<{
4036
- config: FormConfig$1;
3381
+ config: FormConfig;
4037
3382
  initValues: Record<string, any>;
4038
3383
  lastValues?: Record<string, any>;
4039
3384
  isCompare?: boolean;
@@ -4048,7 +3393,7 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
4048
3393
  keyProp?: string;
4049
3394
  popperClass?: string;
4050
3395
  preventSubmitDefault?: boolean;
4051
- extendState?: (_state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
3396
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4052
3397
  }> & Readonly<{
4053
3398
  onChange?: ((...args: any[]) => any) | undefined;
4054
3399
  onError?: ((...args: any[]) => any) | undefined;
@@ -4056,12 +3401,12 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
4056
3401
  "onField-change"?: ((...args: any[]) => any) | undefined;
4057
3402
  "onField-input"?: ((...args: any[]) => any) | undefined;
4058
3403
  }>, {
4059
- values: vue.Ref<FormValue$1, FormValue$1>;
4060
- lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4061
- formState: FormState$1;
3404
+ values: vue.Ref<FormValue, FormValue>;
3405
+ lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3406
+ formState: FormState;
4062
3407
  initialized: vue.Ref<boolean, boolean>;
4063
3408
  changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4064
- changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
3409
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
4065
3410
  resetForm: () => void;
4066
3411
  submitForm: (native?: boolean) => Promise<any>;
4067
3412
  }, {}, {}, {}, {
@@ -4069,16 +3414,16 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
4069
3414
  labelWidth: string;
4070
3415
  inline: boolean;
4071
3416
  labelPosition: string;
4072
- config: FormConfig$1;
3417
+ config: FormConfig;
3418
+ height: string;
4073
3419
  initValues: Record<string, any>;
4074
3420
  lastValues: Record<string, any>;
4075
3421
  isCompare: boolean;
4076
3422
  keyProp: string;
4077
3423
  parentValues: Record<string, any>;
4078
3424
  stepActive: string | number;
4079
- height: string;
4080
3425
  }> | null>>;
4081
- submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
3426
+ submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
4082
3427
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4083
3428
  mounted: (internalInstance: any) => any;
4084
3429
  submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
@@ -4502,10 +3847,7 @@ declare const _default$4: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue
4502
3847
  disabled: boolean;
4503
3848
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4504
3849
 
4505
- type __VLS_Props$2 = FieldProps<{
4506
- titlePrefix?: string;
4507
- parentFields?: string[] | FilterFunction$1<string[]>;
4508
- }>;
3850
+ type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
4509
3851
  declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4510
3852
  change: (value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any;
4511
3853
  }, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
@@ -4533,4 +3875,4 @@ declare const _default: {
4533
3875
  };
4534
3876
 
4535
3877
  export { CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$8 as CodeBlockEditor, _default$i as CodeBlockList, _default$h as CodeBlockListPanel, CodeDeleteErrorType, _default$t as CodeSelect, _default$s as CodeSelectCol, ColumnLayout, _default$v as ComponentListPanel, _default$2 as CondOpSelect, _default$c as ContentMenu, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$g as DataSourceConfigPanel, _default$l as DataSourceFieldSelect, _default$r as DataSourceFields, _default$o as DataSourceInput, _default$m as DataSourceMethodSelect, _default$p as DataSourceMethods, _default$q as DataSourceMocks, _default$n as DataSourceSelect, _default$3 as DisplayConds, DragType, _default$k as EventSelect, Fixed2Other, _default$7 as FloatingBox, H_GUIDE_LINE_STORAGE_KEY, _default$b as Icon, IdleTask, KeyBindingCommand, _default$j as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerOffset, _default$u as LayerPanel, Layout, _default$9 as LayoutContainer, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, PROPS_PANEL_WIDTH_STORAGE_KEY, _default$4 as PageFragmentSelect, _default$e as PropsFormPanel, _default$f as PropsPanel, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$a as Resizer, ScrollViewer, SideItemKey, _default$9 as SplitView, _default$1 as StyleSetter, _default$w as TMagicCodeEditor, _default$x as TMagicEditor, _default$d as ToolButton, _default$6 as Tree, _default$5 as TreeNode, UI_SELECT_MODE_EVENT_NAME, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$H as codeBlockService, _default$G as dataSourceService, debug, _default as default, _default$F as depService, displayTabConfig, _default$E as editorService, eqOptions, error, eventTabConfig, _default$D as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$C as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$B as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$A as stageOverlayService, _default$z as storageService, styleTabConfig, _default$y as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
4536
- export type { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, BeforeAdd, CodeBlockListPanelSlots, CodeBlockListSlots, CodeDslItem, CodeParamStatement, CodeRelation, CodeSelectColConfig, CodeState, CombineInfo, ComponentGroup, ComponentGroupState, ComponentItem, ComponentListPanelSlots, CondOpSelectConfig, CustomContentMenuFunction, DataSourceFieldSelectConfig, DataSourceListSlots, DataSourceMethodSelectConfig, DatasourceTypeOption, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, EventSelectConfig, FrameworkSlots, GetColumnWidth, GetConfig, HistoryState, IdleTaskEvents, KeyBindingCacheItem, KeyBindingItem, LayerNodeSlots, LayerNodeStatus, LayerPanelSlots, ListState, MenuBarData, MenuButton, MenuComponent, MenuItem, PageBarSortOptions, PageFragmentSelectConfig, PartSortableOptions, PastePosition, PropsFormConfigFunction, PropsFormValueFunction, PropsPanelSlots, PropsState, ScrollViewerEvent, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SidebarSlots, StageOptions, StageOverlayState, StageRect, StepValue, StoreState, StoreStateKey, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, TreeNodeData, UiState, WorkspaceSlots };
3878
+ export type { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, BeforeAdd, CodeBlockListPanelSlots, CodeBlockListSlots, CodeDslItem, CodeParamStatement, CodeRelation, CodeState, CombineInfo, ComponentGroup, ComponentGroupState, ComponentItem, ComponentListPanelSlots, CustomContentMenuFunction, DataSourceListSlots, DatasourceTypeOption, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, FrameworkSlots, GetColumnWidth, GetConfig, HistoryState, IdleTaskEvents, KeyBindingCacheItem, KeyBindingItem, LayerNodeSlots, LayerNodeStatus, LayerPanelSlots, ListState, MenuBarData, MenuButton, MenuComponent, MenuItem, PageBarSortOptions, PartSortableOptions, PastePosition, PropsFormConfigFunction, PropsFormValueFunction, PropsPanelSlots, PropsState, ScrollViewerEvent, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SidebarSlots, StageOptions, StageOverlayState, StageRect, StepValue, StoreState, StoreStateKey, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, TreeNodeData, UiState, WorkspaceSlots };