hs-admin-ui 15.4.4 → 15.4.5
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/dist/types/src/utils/request/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/src/components/business/bcAutoComplete/bcAutoComplete.vue.d.ts +0 -57
- package/dist/types/src/components/business/bcAutoComplete/defaultData.d.ts +0 -9
- package/dist/types/src/components/business/bcAutoComplete/useAutoComplete.d.ts +0 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { axiosInterceptors } from "./request";
|
|
2
2
|
import { AxiosRequestConfig, Method } from "axios";
|
|
3
|
+
export { type AxiosRequestConfig, type Method };
|
|
3
4
|
export declare const request: <T = any, R = import("axios").AxiosResponse<T, any>, D = any>(config: AxiosRequestConfig<D>) => Promise<R>;
|
|
4
5
|
export { axiosInterceptors };
|
|
5
6
|
export declare const useRequest: (url: string, params?: any, method?: Method, config?: Omit<AxiosRequestConfig, "baseURL" | "url" | "method" | "params" | "data">) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { type Field } from "./defaultData";
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
qry_key: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
url: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
params: {
|
|
13
|
-
type: ObjectConstructor;
|
|
14
|
-
default: () => void;
|
|
15
|
-
};
|
|
16
|
-
type: {
|
|
17
|
-
type: PropType<Field>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
value_key: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
change: (...args: any[]) => void;
|
|
26
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
qry_key: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
url: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
params: {
|
|
36
|
-
type: ObjectConstructor;
|
|
37
|
-
default: () => void;
|
|
38
|
-
};
|
|
39
|
-
type: {
|
|
40
|
-
type: PropType<Field>;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
value_key: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
}>> & Readonly<{
|
|
48
|
-
onChange?: (...args: any[]) => any;
|
|
49
|
-
}>, {
|
|
50
|
-
type: Field;
|
|
51
|
-
params: Record<string, any>;
|
|
52
|
-
url: string;
|
|
53
|
-
qry_key: string;
|
|
54
|
-
value_key: string;
|
|
55
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
-
declare const _default: typeof __VLS_export;
|
|
57
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type Field = 'form' | 'table' | 'btn';
|
|
2
|
-
export type Field_TYPE = Record<'field_name' | 'field_code', string>;
|
|
3
|
-
export type FIELD_POOL_JSON = {
|
|
4
|
-
form: Field_TYPE[];
|
|
5
|
-
table: Field_TYPE[];
|
|
6
|
-
btn: Field_TYPE[];
|
|
7
|
-
};
|
|
8
|
-
declare const field_pool_json: FIELD_POOL_JSON;
|
|
9
|
-
export { field_pool_json };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import bcAutoComplete from "./bcAutoComplete.vue";
|
|
2
|
-
import { IFormData, ComponentAttr, ICustomData } from "../../../types";
|
|
3
|
-
export declare function useBcAutoComplete(props: ComponentAttr.Props<typeof bcAutoComplete>, emits: (event: "change", ...args: ICustomData.Data[]) => void): {
|
|
4
|
-
handleSelect: (item: Record<string, IFormData.Data>) => void;
|
|
5
|
-
querySearchAsync: (queryString: string, cb: (arg: IFormData.Data) => void) => Promise<void>;
|
|
6
|
-
};
|