star-horse-lowcode 3.1.6 → 3.1.7
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 +5 -1
- package/dist/api/star_horse_apis.d.ts +1 -1
- package/dist/api/star_horse_utils.d.ts +3 -2
- package/dist/api/system.d.ts +3 -3
- package/dist/assets/index.css +1 -1
- package/dist/components/formcomp/utils/ItemRelationEventUtils.d.ts +13 -3
- package/dist/components/types/ApiUrls.d.ts +20 -0
- package/dist/components/types/ItemPreps.d.ts +155 -2
- package/dist/components/types/PageFieldInfo.d.ts +8 -0
- package/dist/index.es.js +6 -6
- package/dist/store/FormDataCache.d.ts +252 -0
- package/dist/store/SelfOperation.d.ts +30 -0
- package/dist/store/StoreManager.d.ts +564 -0
- package/dist/types/api/star_horse_apis.d.ts +1 -1
- package/dist/types/api/star_horse_utils.d.ts +3 -2
- package/dist/types/api/system.d.ts +3 -3
- package/dist/types/components/formcomp/utils/ItemRelationEventUtils.d.ts +13 -3
- package/dist/types/components/types/ApiUrls.d.ts +20 -0
- package/dist/types/components/types/ItemPreps.d.ts +155 -2
- package/dist/types/components/types/PageFieldInfo.d.ts +8 -0
- package/dist/types/store/FormDataCache.d.ts +252 -0
- package/dist/types/store/SelfOperation.d.ts +30 -0
- package/dist/types/store/StoreManager.d.ts +564 -0
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ export declare function httpRequest(url: string, method: string, data: any): Pro
|
|
|
50
50
|
* @param url
|
|
51
51
|
* @param data
|
|
52
52
|
*/
|
|
53
|
-
export declare function uploadRequest(url: string, data:
|
|
53
|
+
export declare function uploadRequest(url: string, data: any): Promise<AxiosResponse<any, any, {}>>;
|
|
54
54
|
/**
|
|
55
55
|
* 加载Post 数据
|
|
56
56
|
* @param url 接口地址
|
|
@@ -144,15 +144,16 @@ export declare function batchFieldDefaultValues(datas: BatchFieldInfo, dataForm:
|
|
|
144
144
|
* 动态组件数据
|
|
145
145
|
* @param field 组件参数信息
|
|
146
146
|
* @param analysisUrl 是否解析Url
|
|
147
|
+
* @param proxyUrl 代理接口
|
|
147
148
|
*/
|
|
148
|
-
export declare function compDynamicData(field: any, analysisUrl?: false): Promise<any>;
|
|
149
|
+
export declare function compDynamicData(field: any, analysisUrl?: false, proxyUrl?: string): Promise<any>;
|
|
149
150
|
/**
|
|
150
151
|
*
|
|
151
152
|
* @param preps 组件参数信息
|
|
152
153
|
* @param queryInfo 查询条件
|
|
153
154
|
* @param proxyUrl 代理接口,为空时,默认使用/system-config/redirect/execute
|
|
154
155
|
*/
|
|
155
|
-
export declare function dynamicUrlOperation(preps: any, queryInfo?: SearchParams[], proxyUrl?: string): Promise<
|
|
156
|
+
export declare function dynamicUrlOperation(preps: any, queryInfo?: SearchParams[], proxyUrl?: string): Promise<any>;
|
|
156
157
|
/**
|
|
157
158
|
* 创建过滤器
|
|
158
159
|
* @param queryString 查询参数
|
package/dist/api/system.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DyCompField } from '../components/types/DyCompField';
|
|
2
|
-
import { RelationDetail } from '../components/types/ItemPreps';
|
|
3
2
|
import { SearchParams } from '../components/types/Params';
|
|
4
3
|
import { Ref } from 'vue';
|
|
4
|
+
import { ItemRelation } from '../components/types';
|
|
5
5
|
/**
|
|
6
6
|
* UUID
|
|
7
7
|
*/
|
|
@@ -74,5 +74,5 @@ export declare const useZIndex: (zIndexOverrides?: Ref<number>) => {
|
|
|
74
74
|
nextZIndex: () => number;
|
|
75
75
|
};
|
|
76
76
|
export declare const baseEvent: (eventName: string, recall?: Function) => (e: Event) => void;
|
|
77
|
-
export declare const baseRelationEvent: (props: any,
|
|
78
|
-
export declare function getDynamicEvents(props: any, recall: Function): Record<string, any>;
|
|
77
|
+
export declare const baseRelationEvent: (props: any, relation: ItemRelation, formData: any, actionName: string) => (e: Event) => void;
|
|
78
|
+
export declare function getDynamicEvents(props: any, recall: Function, formData: any): Record<string, any>;
|