star-horse-lowcode 2.7.46 → 2.7.47
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/README.md +3 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +290 -296
- package/dist/types/index.d.ts +19 -26
- package/package.json +5 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -456,20 +456,6 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
456
456
|
};
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
-
/**
|
|
460
|
-
* 事件联动
|
|
461
|
-
*/
|
|
462
|
-
export declare interface ActionRelation {
|
|
463
|
-
/**
|
|
464
|
-
* 事件名
|
|
465
|
-
*/
|
|
466
|
-
eventName: string;
|
|
467
|
-
/**
|
|
468
|
-
* 事件方法
|
|
469
|
-
*/
|
|
470
|
-
actionMethod: Function;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
459
|
/**
|
|
474
460
|
* 公共Api接口
|
|
475
461
|
* @param appName 应用名称
|
|
@@ -2823,7 +2809,7 @@ export declare interface FieldInfo {
|
|
|
2823
2809
|
minWidth?: number;
|
|
2824
2810
|
/**
|
|
2825
2811
|
* 备选数据列表,目前仅支持下拉
|
|
2826
|
-
*
|
|
2812
|
+
* 废弃 在2.8.0 版本中删除,请根据具体业务在preps 中添加 values 或者data
|
|
2827
2813
|
*/
|
|
2828
2814
|
optionList?: SelectOption[] | Ref<SelectOption[]>;
|
|
2829
2815
|
/**
|
|
@@ -2875,20 +2861,14 @@ export declare interface FieldInfo {
|
|
|
2875
2861
|
*/
|
|
2876
2862
|
precision?: number;
|
|
2877
2863
|
/**
|
|
2878
|
-
*
|
|
2864
|
+
* 弹窗数据配置,
|
|
2865
|
+
* 废弃,请将所有弹窗配置都放在preps 中
|
|
2879
2866
|
*/
|
|
2880
2867
|
params?: CompParams;
|
|
2881
|
-
/**
|
|
2882
|
-
* 事件联动,鸡肋定义,后面会删除
|
|
2883
|
-
*/
|
|
2884
|
-
actionRelation?: ActionRelation;
|
|
2885
|
-
/**
|
|
2886
|
-
* 参数
|
|
2887
|
-
*/
|
|
2888
2868
|
/**
|
|
2889
2869
|
* 组件个性化属性
|
|
2890
2870
|
*/
|
|
2891
|
-
preps?:
|
|
2871
|
+
preps?: any | CompParams;
|
|
2892
2872
|
/**
|
|
2893
2873
|
* 查询表前缀
|
|
2894
2874
|
*/
|
|
@@ -2914,7 +2894,7 @@ export declare interface FieldInfo {
|
|
|
2914
2894
|
*/
|
|
2915
2895
|
searchVisible?: boolean;
|
|
2916
2896
|
/**
|
|
2917
|
-
*
|
|
2897
|
+
* 校验规则,废弃 在2.8.0 版本中删除 请在preps 中配置rules
|
|
2918
2898
|
*/
|
|
2919
2899
|
rules?: RuleType[] | any;
|
|
2920
2900
|
/**
|
|
@@ -2946,6 +2926,13 @@ export declare interface FieldMapping {
|
|
|
2946
2926
|
distField: string;
|
|
2947
2927
|
}
|
|
2948
2928
|
|
|
2929
|
+
/**
|
|
2930
|
+
* 给组件添加placeholder属性
|
|
2931
|
+
* @param item
|
|
2932
|
+
* @param itemType
|
|
2933
|
+
*/
|
|
2934
|
+
export declare function fieldPlaceholder(item: any, itemType: string): void;
|
|
2935
|
+
|
|
2949
2936
|
/**
|
|
2950
2937
|
* 解析表单字段映射
|
|
2951
2938
|
* @param fieldList
|
|
@@ -3398,6 +3385,12 @@ export declare function isJson(v: any): boolean;
|
|
|
3398
3385
|
*/
|
|
3399
3386
|
export declare function isPromise<T = any>(obj: any): obj is Promise<T>;
|
|
3400
3387
|
|
|
3388
|
+
/**
|
|
3389
|
+
* 校验组件
|
|
3390
|
+
* @param item
|
|
3391
|
+
*/
|
|
3392
|
+
export declare function itemCheck(item: any): string;
|
|
3393
|
+
|
|
3401
3394
|
/**
|
|
3402
3395
|
* 查询条件组装数据对象
|
|
3403
3396
|
*/
|
|
@@ -5024,6 +5017,7 @@ selectedData: (selectData: any) => any;
|
|
|
5024
5017
|
"onUpdate:modelValue"?: (modelValue: any) => any;
|
|
5025
5018
|
onSelectedData?: (selectData: any) => any;
|
|
5026
5019
|
}>, {
|
|
5020
|
+
placeholder: string;
|
|
5027
5021
|
displayName: string;
|
|
5028
5022
|
disabled: boolean;
|
|
5029
5023
|
compSize: string;
|
|
@@ -5031,7 +5025,6 @@ displayValue: string;
|
|
|
5031
5025
|
pageSize: number;
|
|
5032
5026
|
multiple: boolean;
|
|
5033
5027
|
checkStrictly: boolean;
|
|
5034
|
-
placeholder: string;
|
|
5035
5028
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
5036
5029
|
dataPickerRef: CreateComponentPublicInstanceWithMixins<Readonly<DataDropdownProps> & Readonly<{
|
|
5037
5030
|
"onUpdate:modelValue"?: (modelValue: any) => any;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "star-horse-lowcode",
|
|
3
3
|
"private": false,
|
|
4
4
|
"author": "l_1019@163.com",
|
|
5
|
-
"version": "2.7.
|
|
5
|
+
"version": "2.7.47",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
|
|
8
8
|
"keywords": [
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
49
49
|
"@rollup/plugin-inject": "^5.0.5",
|
|
50
50
|
"@tailwindcss/vite": "^4.1.10",
|
|
51
|
-
"@vitejs/plugin-vue-jsx": "^
|
|
51
|
+
"@vitejs/plugin-vue-jsx": "^5.0.0",
|
|
52
52
|
"@vueup/vue-quill": "^1.2.0",
|
|
53
53
|
"axios": "^1.10.0",
|
|
54
54
|
"element-plus": "^2.10.2",
|
|
@@ -88,14 +88,14 @@
|
|
|
88
88
|
"@types/prismjs": "^1.26.5",
|
|
89
89
|
"@types/sortablejs": "^1.15.8",
|
|
90
90
|
"@types/uuid": "^10.0.0",
|
|
91
|
-
"@vitejs/plugin-vue": "^
|
|
91
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
92
92
|
"sass-embedded": "^1.89.2",
|
|
93
93
|
"svg2ttf": "^6.0.3",
|
|
94
94
|
"terser": "^5.43.1",
|
|
95
95
|
"ttf2woff": "^3.0.0",
|
|
96
|
-
"vite": "^
|
|
96
|
+
"vite": "^7.0.0"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
|
99
|
-
"node": ">=20.
|
|
99
|
+
"node": ">=20.13.0"
|
|
100
100
|
}
|
|
101
101
|
}
|