star-horse-lowcode 2.8.27 → 2.8.29

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.
@@ -7,6 +7,7 @@ import { ComputedRef } from 'vue';
7
7
  import { CreateComponentPublicInstanceWithMixins } from 'vue';
8
8
  import { CSSProperties } from 'vue';
9
9
  import { DefineComponent } from 'vue';
10
+ import { EditorView } from '@codemirror/view';
10
11
  import { ExtractPropTypes } from 'vue';
11
12
  import { GlobalComponents } from 'vue';
12
13
  import { GlobalDirectives } from 'vue';
@@ -116,7 +117,7 @@ default: number;
116
117
  };
117
118
  compSize: {
118
119
  type: StringConstructor;
119
- default: any;
120
+ default: string;
120
121
  };
121
122
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
122
123
  merge: (...args: any[]) => void;
@@ -211,7 +212,7 @@ default: number;
211
212
  };
212
213
  compSize: {
213
214
  type: StringConstructor;
214
- default: any;
215
+ default: string;
215
216
  };
216
217
  }>> & Readonly<{
217
218
  onMerge?: (...args: any[]) => any;
@@ -447,6 +448,8 @@ buttons: HTMLDivElement;
447
448
  subMenu: unknown;
448
449
  }, any>;
449
450
 
451
+ declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
452
+
450
453
  declare type __VLS_Props = ContainerPreps;
451
454
 
452
455
  declare type __VLS_Props_10 = ItemPreps;
@@ -756,6 +759,15 @@ declare function __VLS_template_5(): {
756
759
  rootEl: any;
757
760
  };
758
761
 
762
+ declare function __VLS_template_6(): {
763
+ attrs: Partial<{}>;
764
+ slots: {
765
+ default?(_: {}): any;
766
+ };
767
+ refs: {};
768
+ rootEl: HTMLDivElement;
769
+ };
770
+
759
771
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
760
772
 
761
773
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
@@ -766,6 +778,8 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
766
778
 
767
779
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
768
780
 
781
+ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
782
+
769
783
  declare type __VLS_WithTemplateSlots<T, S> = T & {
770
784
  new (): {
771
785
  $slots: S;
@@ -796,6 +810,36 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
796
810
  };
797
811
  };
798
812
 
813
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
814
+ new (): {
815
+ $slots: S;
816
+ };
817
+ };
818
+
819
+ /**
820
+ * 解析表单字段信息及层级
821
+ */
822
+ export declare const analysisCompDatas: (dataList: any) => {
823
+ selectList: any[];
824
+ compListResult: Record<string, any>;
825
+ compFieldList: FieldInfo[];
826
+ fieldList?: undefined;
827
+ searchItemList?: undefined;
828
+ } | {
829
+ selectList: any[];
830
+ compListResult: Record<string, any>;
831
+ fieldList: FieldInfo[];
832
+ searchItemList: SearchProps[];
833
+ compFieldList?: undefined;
834
+ };
835
+
836
+ /**
837
+ * 解析已组装的条件
838
+ * @param conditions
839
+ * @param name
840
+ */
841
+ export declare function analysisField(conditions: SearchParams[], name: string): SearchParams;
842
+
799
843
  /**
800
844
  * 公共Api接口
801
845
  * @param appName 应用名称
@@ -991,6 +1035,11 @@ isSearch: boolean;
991
1035
  showFormItem: boolean;
992
1036
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
993
1037
 
1038
+ /**
1039
+ * 升序或者降序
1040
+ */
1041
+ export declare function ascOrDesc(): SelectOption[];
1042
+
994
1043
  export declare const audioItem: DefineComponent<ItemPreps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
995
1044
  selectItem: (...args: any[]) => void;
996
1045
  selfFunc: (...args: any[]) => void;
@@ -1409,6 +1458,23 @@ isSearch: boolean;
1409
1458
  showFormItem: boolean;
1410
1459
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1411
1460
 
1461
+ /**
1462
+ * 检查对象是否需要创建
1463
+ * @param dataForm 数据对象
1464
+ * @param item 表单属性
1465
+ * @param index 索引
1466
+ * @param parentIndex 父索引
1467
+ * @param prefix 前缀
1468
+ */
1469
+ export declare function checkObject(dataForm: any, item: any, index: number, parentIndex: number, prefix: string): number;
1470
+
1471
+ /**
1472
+ * 检查是否可见
1473
+ * @param item
1474
+ * @param dataForm
1475
+ */
1476
+ export declare function checkVisible(item: any, dataForm: any): any;
1477
+
1412
1478
  /**
1413
1479
  * 关闭加载框
1414
1480
  */
@@ -1496,6 +1562,11 @@ isSearch: boolean;
1496
1562
  showFormItem: boolean;
1497
1563
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1498
1564
 
1565
+ /**
1566
+ * 公共字段
1567
+ */
1568
+ export declare function commonField(): FieldInfo[];
1569
+
1499
1570
  /**
1500
1571
  * 数据格式化
1501
1572
  * @param name
@@ -1703,20 +1774,38 @@ export declare interface ContainerPreps {
1703
1774
 
1704
1775
  export declare const ContentMenu: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
1705
1776
 
1777
+ /**
1778
+ * 操作接口
1779
+ * @param act
1780
+ * @param item
1781
+ * @param parentItem
1782
+ */
1783
+ export declare function contextOperation(act: string, item: any, parentItem: any): void;
1784
+
1706
1785
  /**
1707
1786
  * 下划线转驼峰
1708
1787
  * @param str
1709
1788
  */
1710
1789
  export declare function convertToCamelCase(str: string): string;
1711
1790
 
1791
+ export declare function copy(item: any, parentItem: any): void;
1792
+
1712
1793
  /**
1713
- * 复制数据
1714
- * @param msg
1794
+ * 拷贝容器
1795
+ * @param parentComp
1796
+ * @param currentContainer
1797
+ * @param isCut
1715
1798
  */
1716
- export declare function copy(msg: string): void;
1799
+ export declare const copyContainer: (parentComp: any, currentContainer: any, isCut?: boolean) => void;
1717
1800
 
1718
1801
  export declare function copyText(text: any): Promise<void>;
1719
1802
 
1803
+ /**
1804
+ * 复制数据
1805
+ * @param msg
1806
+ */
1807
+ export declare function copyTxt(msg: string): void;
1808
+
1720
1809
  /**
1721
1810
  * 动态创建组件
1722
1811
  * @param compInfo 组件信息
@@ -1750,6 +1839,14 @@ export declare function createDatetime(val: any, isDateTime?: boolean, needSecon
1750
1839
  */
1751
1840
  export declare function createFilter(queryString: string): Promise<(data: SelectOption) => number>;
1752
1841
 
1842
+ /**
1843
+ * 创建关联条件
1844
+ * @param leftFieldName 左表字段名称
1845
+ * @param rightFieldName 右表字段名称
1846
+ * @param matchType 匹配方式
1847
+ */
1848
+ export declare function createJoinCondition(leftFieldName: string, rightFieldName: string, matchType?: string): JoinSearchParams;
1849
+
1753
1850
  /**
1754
1851
  * 构建菜单树
1755
1852
  * @param data
@@ -2135,6 +2232,8 @@ export declare interface CustomerItem {
2135
2232
  compItems?: Array<CompInfo>;
2136
2233
  }
2137
2234
 
2235
+ export declare function cut(item: any, parentItem: any): void;
2236
+
2138
2237
  declare interface DataDropdownProps {
2139
2238
  /**
2140
2239
  * 模型值
@@ -2299,6 +2398,11 @@ declare interface DataSelectorProps {
2299
2398
  style?: CSSProperties;
2300
2399
  }
2301
2400
 
2401
+ /**
2402
+ * 数据格式
2403
+ */
2404
+ export declare function dataType(): SelectOption[];
2405
+
2302
2406
  /**
2303
2407
  * 日期组件
2304
2408
  * @returns
@@ -2503,6 +2607,22 @@ export declare interface DyCompField {
2503
2607
  watch?: any;
2504
2608
  }
2505
2609
 
2610
+ /**
2611
+ * 解析动态表单中的子节点数据是否需要合并到父节点中
2612
+ * @param props
2613
+ * @param dataForm
2614
+ */
2615
+ export declare function dynamicFormAnalysis(props: any, dataForm: any): any;
2616
+
2617
+ /**
2618
+ *
2619
+ * @param item
2620
+ * @param parentItem
2621
+ * @param flag scene 场景 container 容器 item 组件
2622
+ * @param recall
2623
+ */
2624
+ export declare function dynamicFormContextMenuData(item: any, parentItem: any, flag?: string, recall?: Function): Reactive<any[]>;
2625
+
2506
2626
  export declare interface DynamicNode {
2507
2627
  /**
2508
2628
  * 节点ID
@@ -2538,6 +2658,13 @@ export declare interface DynamicNode {
2538
2658
  children?: DynamicNode[];
2539
2659
  }
2540
2660
 
2661
+ /**
2662
+ * 动态页面上下文菜单数据
2663
+ * @param node
2664
+ * @param recallFunction
2665
+ */
2666
+ export declare function dynamicPageContextMenuData(node: DynamicNode, recallFunction: Function): any[];
2667
+
2541
2668
  export declare interface DynamicParamField {
2542
2669
  paramName: string;
2543
2670
  matchType: string;
@@ -2692,6 +2819,10 @@ export declare interface FieldInfo {
2692
2819
  * 帮助信息
2693
2820
  */
2694
2821
  helpMsg?: string;
2822
+ /**
2823
+ * ID
2824
+ */
2825
+ id?: string;
2695
2826
  /**
2696
2827
  * 类型名称,支持
2697
2828
  * date 日期,
@@ -2840,6 +2971,13 @@ export declare interface FieldMapping {
2840
2971
  */
2841
2972
  export declare function fieldPlaceholder(item: any, itemType: string): void;
2842
2973
 
2974
+ /**
2975
+ * 过滤对象属性
2976
+ * @param obj 要过滤的对象
2977
+ * @param keysToRemove 要移除的属性键数组
2978
+ */
2979
+ export declare function filterProperties(obj: any, keysToRemove: string[]): void;
2980
+
2843
2981
  /**
2844
2982
  * 解析表单字段映射
2845
2983
  * @param fieldList
@@ -2863,6 +3001,15 @@ export declare function generateDeviceId(userIp: string): Promise<string>;
2863
3001
  */
2864
3002
  export declare function getAxiosInstance(): AxiosInstance;
2865
3003
 
3004
+ /**
3005
+ * 获取表单数据索引
3006
+ * @param data
3007
+ * @param prefix
3008
+ * @param parentIndex
3009
+ * @param index
3010
+ */
3011
+ export declare function getDataIndex(data: any, prefix: string, parentIndex: any, index: any): number;
3012
+
2866
3013
  export declare function getDynamicEvents(props: any, recall: Function): Record<string, any>;
2867
3014
 
2868
3015
  /**
@@ -2870,14 +3017,33 @@ export declare function getDynamicEvents(props: any, recall: Function): Record<s
2870
3017
  */
2871
3018
  export declare function getFingerId(): string;
2872
3019
 
3020
+ export declare function getFormData(item: any, dataForm: any, prefix: string, parentIndex: any, index: any): any;
3021
+
2873
3022
  export declare function getMenuId(): string;
2874
3023
 
3024
+ export declare function getParentComp(parentField: any): "container" | "item";
3025
+
3026
+ /**
3027
+ * 计算表单Pron
3028
+ * @param data
3029
+ * @param prefix
3030
+ * @param parentIndex
3031
+ * @param index
3032
+ */
3033
+ export declare function getPrefix(data: any, prefix: string, parentIndex: any, index: any): string;
3034
+
2875
3035
  /**
2876
3036
  * Get请求
2877
3037
  * @param url
2878
3038
  */
2879
3039
  export declare function getRequest(url: string): Promise<AxiosResponse<any, any, {}>>;
2880
3040
 
3041
+ /**
3042
+ * 获取验证类型
3043
+ * @param type
3044
+ */
3045
+ export declare function getValidType(type: any, options?: any): any;
3046
+
2881
3047
  export declare const htmleditorItem: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2882
3048
  selectItem: (...args: any[]) => void;
2883
3049
  selfFunc: (...args: any[]) => void;
@@ -2910,6 +3076,11 @@ isSearch: boolean;
2910
3076
  showFormItem: boolean;
2911
3077
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2912
3078
 
3079
+ /**
3080
+ * 请求方式
3081
+ */
3082
+ export declare function httpMethod(): SelectOption[];
3083
+
2913
3084
  /**
2914
3085
  * Request 请求
2915
3086
  * @param url 请求地址
@@ -2952,6 +3123,12 @@ isSearch: boolean;
2952
3123
  showFormItem: boolean;
2953
3124
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2954
3125
 
3126
+ /**
3127
+ * 预览图片
3128
+ * @param images
3129
+ */
3130
+ export declare function imagesPreview(images: Array<string> | string): void;
3131
+
2955
3132
  /**
2956
3133
  * 批量添加时的导入信息
2957
3134
  */
@@ -3162,10 +3339,7 @@ showFormItem: boolean;
3162
3339
 
3163
3340
  declare enum LangType {
3164
3341
  EN_US = "en_US",
3165
- ZH_CN = "zh_CN",
3166
- ZH_TW = "zh_TW",
3167
- JA_JP = "ja_JP",
3168
- DE_DE = "de_DE"
3342
+ ZH_CN = "zh_CN"
3169
3343
  }
3170
3344
 
3171
3345
  /**
@@ -3204,6 +3378,15 @@ export declare function loadGetData(url: string): Promise<{
3204
3378
  error: string;
3205
3379
  }>;
3206
3380
 
3381
+ /**
3382
+ * 生成验证属性
3383
+ * @param prefix 父表标识
3384
+ * @param fieldName 字段名称
3385
+ * @param parentIndex 父索引
3386
+ * @param currentIndex 当前索引
3387
+ */
3388
+ export declare function loadProp(prefix: string, fieldName: string, parentIndex: number, currentIndex: number): string;
3389
+
3207
3390
  export declare const markdownItem: DefineComponent<__VLS_PublicProps_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3208
3391
  selectItem: (...args: any[]) => void;
3209
3392
  selfFunc: (...args: any[]) => void;
@@ -3300,6 +3483,16 @@ export declare function monthRange(date: Date): {
3300
3483
  lastDateStr: string;
3301
3484
  };
3302
3485
 
3486
+ export declare function moveDownItem(isEdit: boolean, formItem: any, parentField: any): void;
3487
+
3488
+ /**
3489
+ * 上移组件
3490
+ * @param isEdit
3491
+ * @param formItem
3492
+ * @param parentField
3493
+ */
3494
+ export declare function moveUpItem(isEdit: boolean, formItem: any, parentField: any): void;
3495
+
3303
3496
  /**
3304
3497
  * 节点信息
3305
3498
  */
@@ -3478,6 +3671,13 @@ starHorseTableCompRef: unknown;
3478
3671
 
3479
3672
  export declare function parseDateByType(val: any, type: string, needSecond?: boolean, split?: string): any;
3480
3673
 
3674
+ /**
3675
+ * 解析列表数据
3676
+ * @param item
3677
+ * @param val
3678
+ */
3679
+ export declare function parseListData(item: any, val: any): any;
3680
+
3481
3681
  export declare const passwordItem: DefineComponent<__VLS_PublicProps_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3482
3682
  selectItem: (...args: any[]) => void;
3483
3683
  selfFunc: (...args: any[]) => void;
@@ -3494,6 +3694,8 @@ isSearch: boolean;
3494
3694
  showFormItem: boolean;
3495
3695
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3496
3696
 
3697
+ export declare function paste(parentItem: any): void;
3698
+
3497
3699
  export declare const piniaInstance: Pinia;
3498
3700
 
3499
3701
  /**
@@ -3661,6 +3863,14 @@ export declare interface RelationDetail {
3661
3863
  */
3662
3864
  export declare function removeEmptyCondition(condition: SearchParams[]): SearchParams[];
3663
3865
 
3866
+ /**
3867
+ * 从舞台删除组件
3868
+ * @param isEdit
3869
+ * @param formItem
3870
+ * @param parentField
3871
+ */
3872
+ export declare function removeItem(isEdit: boolean, formItem: any, parentField: any): void;
3873
+
3664
3874
  /**
3665
3875
  * 表格序号
3666
3876
  * @param row
@@ -3807,6 +4017,14 @@ export declare type SelectOption = {
3807
4017
  children?: SelectOption[] | Ref<SelectOption[]>;
3808
4018
  };
3809
4019
 
4020
+ /**
4021
+ * 设置css 全局变量
4022
+ * @param name 变量名称
4023
+ * @param val 变量值
4024
+ * @param dom
4025
+ */
4026
+ export declare function setCssVar(name: string, val: any, dom?: HTMLElement): void;
4027
+
3810
4028
  export declare const ShDynamicForm: DefineComponent<ExtractPropTypes< {
3811
4029
  compUrl: {
3812
4030
  type: PropType<ApiUrls>;
@@ -3924,7 +4142,7 @@ type: ObjectConstructor;
3924
4142
  };
3925
4143
  size: {
3926
4144
  type: StringConstructor;
3927
- default: any;
4145
+ default: string;
3928
4146
  };
3929
4147
  source: {
3930
4148
  type: NumberConstructor;
@@ -3959,7 +4177,7 @@ type: ObjectConstructor;
3959
4177
  };
3960
4178
  size: {
3961
4179
  type: StringConstructor;
3962
- default: any;
4180
+ default: string;
3963
4181
  };
3964
4182
  source: {
3965
4183
  type: NumberConstructor;
@@ -3967,8 +4185,8 @@ default: number;
3967
4185
  };
3968
4186
  }>> & Readonly<{}>, {
3969
4187
  source: number;
3970
- size: string;
3971
4188
  batchName: string;
4189
+ size: string;
3972
4190
  staticColumn: string;
3973
4191
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3974
4192
 
@@ -4312,7 +4530,7 @@ required: true;
4312
4530
  };
4313
4531
  compSize: {
4314
4532
  type: StringConstructor;
4315
- default: any;
4533
+ default: string;
4316
4534
  };
4317
4535
  commonFormat: {
4318
4536
  type: FunctionConstructor;
@@ -4334,7 +4552,7 @@ required: true;
4334
4552
  };
4335
4553
  compSize: {
4336
4554
  type: StringConstructor;
4337
- default: any;
4555
+ default: string;
4338
4556
  };
4339
4557
  commonFormat: {
4340
4558
  type: FunctionConstructor;
@@ -4353,6 +4571,87 @@ export declare const StarHorseDialog: __VLS_WithTemplateSlots<typeof __VLS_compo
4353
4571
 
4354
4572
  export declare const StarHorseDraggable: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
4355
4573
 
4574
+ export declare const StarHorseEditor: DefineComponent<ExtractPropTypes< {
4575
+ funcName: {
4576
+ type: StringConstructor;
4577
+ default: string;
4578
+ };
4579
+ fieldName: {
4580
+ type: StringConstructor;
4581
+ default: string;
4582
+ };
4583
+ lang: {
4584
+ type: StringConstructor;
4585
+ default: any;
4586
+ };
4587
+ theme: {
4588
+ type: StringConstructor;
4589
+ default: string;
4590
+ };
4591
+ boxHeight: {
4592
+ type: StringConstructor;
4593
+ default: string;
4594
+ };
4595
+ btnList: {
4596
+ type: PropType<Array<any>>;
4597
+ default: () => any[];
4598
+ };
4599
+ helpMsg: {
4600
+ type: StringConstructor;
4601
+ };
4602
+ value: {
4603
+ type: PropType<string>;
4604
+ };
4605
+ }>, {
4606
+ editor: Ref<EditorView, EditorView>;
4607
+ setValue: (val: any) => void;
4608
+ setAutoCompletion: (dbName: string, datas: any) => void;
4609
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4610
+ "update:value": (value: string) => any;
4611
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
4612
+ funcName: {
4613
+ type: StringConstructor;
4614
+ default: string;
4615
+ };
4616
+ fieldName: {
4617
+ type: StringConstructor;
4618
+ default: string;
4619
+ };
4620
+ lang: {
4621
+ type: StringConstructor;
4622
+ default: any;
4623
+ };
4624
+ theme: {
4625
+ type: StringConstructor;
4626
+ default: string;
4627
+ };
4628
+ boxHeight: {
4629
+ type: StringConstructor;
4630
+ default: string;
4631
+ };
4632
+ btnList: {
4633
+ type: PropType<Array<any>>;
4634
+ default: () => any[];
4635
+ };
4636
+ helpMsg: {
4637
+ type: StringConstructor;
4638
+ };
4639
+ value: {
4640
+ type: PropType<string>;
4641
+ };
4642
+ }>> & Readonly<{
4643
+ "onUpdate:value"?: (value: string) => any;
4644
+ }>, {
4645
+ lang: string;
4646
+ funcName: string;
4647
+ fieldName: string;
4648
+ boxHeight: string;
4649
+ theme: string;
4650
+ btnList: any[];
4651
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
4652
+ codemirror: HTMLDivElement;
4653
+ }, HTMLDivElement>;
4654
+
4356
4655
  export declare const StarHorseForm: DefineComponent<ExtractPropTypes< {
4357
4656
  compUrl: {
4358
4657
  type: PropType<ApiUrls>;
@@ -4383,7 +4682,7 @@ type: ObjectConstructor;
4383
4682
  };
4384
4683
  formSize: {
4385
4684
  type: StringConstructor;
4386
- default: any;
4685
+ default: string;
4387
4686
  };
4388
4687
  labelPosition: {
4389
4688
  type: StringConstructor;
@@ -4466,7 +4765,7 @@ type: ObjectConstructor;
4466
4765
  };
4467
4766
  formSize: {
4468
4767
  type: StringConstructor;
4469
- default: any;
4768
+ default: string;
4470
4769
  };
4471
4770
  labelPosition: {
4472
4771
  type: StringConstructor;
@@ -4579,7 +4878,7 @@ default: string;
4579
4878
  };
4580
4879
  size: {
4581
4880
  type: StringConstructor;
4582
- default: any;
4881
+ default: string;
4583
4882
  };
4584
4883
  source: {
4585
4884
  type: NumberConstructor;
@@ -4648,7 +4947,7 @@ default: string;
4648
4947
  };
4649
4948
  size: {
4650
4949
  type: StringConstructor;
4651
- default: any;
4950
+ default: string;
4652
4951
  };
4653
4952
  source: {
4654
4953
  type: NumberConstructor;
@@ -4677,8 +4976,8 @@ onInited?: (...args: any[]) => any;
4677
4976
  }>, {
4678
4977
  source: number;
4679
4978
  title: string;
4680
- size: string;
4681
4979
  batchName: string;
4980
+ size: string;
4682
4981
  helpMsg: string;
4683
4982
  initRows: number;
4684
4983
  defaultValues: Record<string, any>;
@@ -4717,7 +5016,7 @@ type: ObjectConstructor;
4717
5016
  };
4718
5017
  formSize: {
4719
5018
  type: StringConstructor;
4720
- default: any;
5019
+ default: string;
4721
5020
  };
4722
5021
  labelPosition: {
4723
5022
  type: StringConstructor;
@@ -4823,7 +5122,7 @@ type: ObjectConstructor;
4823
5122
  };
4824
5123
  formSize: {
4825
5124
  type: StringConstructor;
4826
- default: any;
5125
+ default: string;
4827
5126
  };
4828
5127
  labelPosition: {
4829
5128
  type: StringConstructor;
@@ -4901,7 +5200,7 @@ default: number;
4901
5200
  };
4902
5201
  size: {
4903
5202
  type: StringConstructor;
4904
- default: any;
5203
+ default: string;
4905
5204
  };
4906
5205
  source: {
4907
5206
  type: NumberConstructor;
@@ -4928,7 +5227,7 @@ default: number;
4928
5227
  };
4929
5228
  size: {
4930
5229
  type: StringConstructor;
4931
- default: any;
5230
+ default: string;
4932
5231
  };
4933
5232
  source: {
4934
5233
  type: NumberConstructor;
@@ -5455,6 +5754,8 @@ dialogInput: boolean;
5455
5754
  mutComp: boolean;
5456
5755
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
5457
5756
 
5757
+ export declare const StarHorseSidebar: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
5758
+
5458
5759
  export declare const StarHorseStaticTable: DefineComponent<ExtractPropTypes< {
5459
5760
  primaryKey: {
5460
5761
  type: PropType<string | any>;
@@ -5470,7 +5771,7 @@ default: any;
5470
5771
  };
5471
5772
  compSize: {
5472
5773
  type: StringConstructor;
5473
- default: any;
5774
+ default: string;
5474
5775
  };
5475
5776
  dialogInput: {
5476
5777
  type: BooleanConstructor;
@@ -5516,7 +5817,7 @@ default: any;
5516
5817
  };
5517
5818
  compSize: {
5518
5819
  type: StringConstructor;
5519
- default: any;
5820
+ default: string;
5520
5821
  };
5521
5822
  dialogInput: {
5522
5823
  type: BooleanConstructor;
@@ -5701,7 +6002,7 @@ default: boolean;
5701
6002
  };
5702
6003
  compSize: {
5703
6004
  type: StringConstructor;
5704
- default: any;
6005
+ default: string;
5705
6006
  };
5706
6007
  source: {
5707
6008
  type: NumberConstructor;
@@ -5744,7 +6045,7 @@ default: boolean;
5744
6045
  };
5745
6046
  compSize: {
5746
6047
  type: StringConstructor;
5747
- default: any;
6048
+ default: string;
5748
6049
  };
5749
6050
  source: {
5750
6051
  type: NumberConstructor;
@@ -6363,6 +6664,66 @@ export declare interface SubFieldInfo {
6363
6664
  */
6364
6665
  export declare const success: (msg: string) => void;
6365
6666
 
6667
+ export declare const SvgLoader: DefineComponent<ExtractPropTypes< {
6668
+ path: {
6669
+ type: StringConstructor;
6670
+ required: true;
6671
+ };
6672
+ size: {
6673
+ type: StringConstructor;
6674
+ default: string;
6675
+ };
6676
+ cursor: {
6677
+ type: StringConstructor;
6678
+ default: string;
6679
+ };
6680
+ marginLeft: {
6681
+ type: StringConstructor;
6682
+ default: string;
6683
+ };
6684
+ marginRight: {
6685
+ type: StringConstructor;
6686
+ default: string;
6687
+ };
6688
+ color: {
6689
+ type: StringConstructor;
6690
+ default: string;
6691
+ };
6692
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
6693
+ path: {
6694
+ type: StringConstructor;
6695
+ required: true;
6696
+ };
6697
+ size: {
6698
+ type: StringConstructor;
6699
+ default: string;
6700
+ };
6701
+ cursor: {
6702
+ type: StringConstructor;
6703
+ default: string;
6704
+ };
6705
+ marginLeft: {
6706
+ type: StringConstructor;
6707
+ default: string;
6708
+ };
6709
+ marginRight: {
6710
+ type: StringConstructor;
6711
+ default: string;
6712
+ };
6713
+ color: {
6714
+ type: StringConstructor;
6715
+ default: string;
6716
+ };
6717
+ }>> & Readonly<{}>, {
6718
+ size: string;
6719
+ color: string;
6720
+ cursor: string;
6721
+ marginLeft: string;
6722
+ marginRight: string;
6723
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
6724
+ svgContainer: HTMLDivElement;
6725
+ }, HTMLDivElement>;
6726
+
6366
6727
  export declare const switchItem: DefineComponent<__VLS_PublicProps_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6367
6728
  selectItem: (...args: any[]) => void;
6368
6729
  selfFunc: (...args: any[]) => void;
@@ -6485,6 +6846,7 @@ export declare interface TabFieldInfo {
6485
6846
  * 批量表单属性,该属性对应的数据默认是其它表的数据,
6486
6847
  */
6487
6848
  batchFieldList?: Array<BatchFieldInfo>;
6849
+ preps?: Record<string, any>;
6488
6850
  }
6489
6851
 
6490
6852
  export declare const tableContainer: DefineComponent<ExtractPropTypes< {
@@ -7330,7 +7692,6 @@ setRefresh: () => void;
7330
7692
  setSubItemId: (subItemId: string) => void;
7331
7693
  setFormInfo: (formData: any) => void;
7332
7694
  setCompList: (comps: Array<any>) => void;
7333
- forceLoadCompNames: () => any[];
7334
7695
  loadCompNames: () => any;
7335
7696
  addComp: (comp: any) => void;
7336
7697
  setIsDragging: (flag: boolean) => void;
@@ -7852,7 +8213,6 @@ setRefresh: () => void;
7852
8213
  setSubItemId: (subItemId: string) => void;
7853
8214
  setFormInfo: (formData: any) => void;
7854
8215
  setCompList: (comps: Array<any>) => void;
7855
- forceLoadCompNames: () => any[];
7856
8216
  loadCompNames: () => any;
7857
8217
  addComp: (comp: any) => void;
7858
8218
  setIsDragging: (flag: boolean) => void;
@@ -8374,7 +8734,6 @@ setRefresh: () => void;
8374
8734
  setSubItemId: (subItemId: string) => void;
8375
8735
  setFormInfo: (formData: any) => void;
8376
8736
  setCompList: (comps: Array<any>) => void;
8377
- forceLoadCompNames: () => any[];
8378
8737
  loadCompNames: () => any;
8379
8738
  addComp: (comp: any) => void;
8380
8739
  setIsDragging: (flag: boolean) => void;
@@ -8393,7 +8752,7 @@ setBatchEditFieldVisible: (visible: boolean) => void;
8393
8752
  setPreviewVisible: (visible: boolean) => void;
8394
8753
  setShortKeyDisabled: (disabled: boolean) => void;
8395
8754
  getFieldDataIndex: () => number;
8396
- }, "setFormData" | "clearAll" | "setCurrentSubTabName" | "selectItemById" | "setAllFormDataList" | "setSelfFormDataList" | "setFormDataList" | "setContainerList" | "addSelfFormDataList" | "addContainerList" | "addFormDataList" | "addHistoryRecord" | "redo" | "undo" | "selectItem" | "setRefresh" | "setSubItemId" | "setFormInfo" | "setCompList" | "forceLoadCompNames" | "loadCompNames" | "addComp" | "setIsDragging" | "setIsEdit" | "setCurrentComp" | "setCurrentItemType" | "setParentCompType" | "setCurrentItemId" | "setCurrentFormPreps" | "setDraggingItem" | "removePromise" | "setComponentVisible" | "setBatchEditFieldVisible" | "setPreviewVisible" | "setShortKeyDisabled" | "getFieldDataIndex">>;
8755
+ }, "setFormData" | "clearAll" | "setCurrentSubTabName" | "selectItemById" | "setAllFormDataList" | "setSelfFormDataList" | "setFormDataList" | "setContainerList" | "addSelfFormDataList" | "addContainerList" | "addFormDataList" | "addHistoryRecord" | "redo" | "undo" | "selectItem" | "setRefresh" | "setSubItemId" | "setFormInfo" | "setCompList" | "loadCompNames" | "addComp" | "setIsDragging" | "setIsEdit" | "setCurrentComp" | "setCurrentItemType" | "setParentCompType" | "setCurrentItemId" | "setCurrentFormPreps" | "setDraggingItem" | "removePromise" | "setComponentVisible" | "setBatchEditFieldVisible" | "setPreviewVisible" | "setShortKeyDisabled" | "getFieldDataIndex">>;
8397
8756
 
8398
8757
  export declare const useDesignPageStore: StoreDefinition<"designPage", Pick<{
8399
8758
  nodeList: Ref< {
@@ -9404,6 +9763,15 @@ export declare const useZIndex: (zIndexOverrides?: Ref<number>) => {
9404
9763
  */
9405
9764
  export declare function uuid(): string;
9406
9765
 
9766
+ /**
9767
+ * 创建验证规则
9768
+ * @param item
9769
+ * @param dataForm
9770
+ */
9771
+ export declare function validMsg(item: any, dataForm: any): any[];
9772
+
9773
+ export declare const validRulesList: Array<SelectOption>;
9774
+
9407
9775
  export declare const viewMarkdownItem: DefineComponent<__VLS_PublicProps_39, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9408
9776
  selectItem: (...args: any[]) => void;
9409
9777
  selfFunc: (...args: any[]) => void;