@steroidsjs/core 3.0.6 → 3.0.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/actions/auth.d.ts +2 -2
- package/actions/list.d.ts +2 -2
- package/actions/router.d.ts +1 -3
- package/components/HttpComponent.d.ts +1 -1
- package/docs-autogen-result.json +127 -94
- package/en.json +3 -1
- package/hooks/useDataProvider.d.ts +1 -1
- package/hooks/useDataSelect.d.ts +1 -1
- package/hooks/useFile.d.ts +5 -5
- package/hooks/useForm.d.ts +2 -1
- package/index.d.ts +10 -0
- package/package.json +1 -1
- package/ui/form/Button/Button.d.ts +3 -3
- package/ui/form/DateField/DateField.d.ts +1 -1
- package/ui/form/Field/Field.d.ts +1 -1
- package/ui/form/FieldList/FieldList.d.ts +3 -3
- package/ui/form/FieldSet/FieldSet.d.ts +2 -2
- package/ui/form/FileField/FileField.d.ts +1 -1
- package/ui/form/FileField/FileField.js +4 -5
- package/ui/form/Form/Form.d.ts +4 -3
- package/ui/form/NumberField/NumberField.d.ts +4 -0
- package/ui/form/NumberField/NumberField.js +12 -3
- package/ui/form/NumberField/hooks/useInputTypeNumber.d.ts +1 -1
- package/ui/form/NumberField/hooks/useInputTypeNumber.js +11 -5
- package/ui/form/TimeField/TimeField.d.ts +1 -1
- package/ui/form/TimeRangeField/TimeRangeField.d.ts +1 -1
- package/ui/layout/Tooltip/Tooltip.d.ts +2 -2
- package/ui/list/List/List.d.ts +3 -3
- package/ui/nav/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/ui/nav/Controls/Controls.d.ts +1 -1
- package/ui/nav/Nav/Nav.d.ts +3 -3
package/actions/auth.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const AUTH_SET_DATA = "AUTH_SET_DATA";
|
|
|
4
4
|
export declare const AUTH_ADD_SOCIAL = "AUTH_ADD_SOCIAL";
|
|
5
5
|
export declare const init: (skipInitialized?: boolean) => (dispatch: any, getState: any) => any;
|
|
6
6
|
export declare const reInit: () => (dispatch: any, getState: any) => any;
|
|
7
|
-
export declare const login: (token: any, redirectPageId?: string | boolean, params?:
|
|
7
|
+
export declare const login: (token: any, redirectPageId?: string | boolean, params?: RouteParams) => (dispatch: any, getState: any, { http }: {
|
|
8
8
|
http: any;
|
|
9
9
|
}) => any;
|
|
10
10
|
export declare const addSocial: (social: any) => {
|
|
@@ -19,6 +19,6 @@ export declare const setData: (data: any) => {
|
|
|
19
19
|
type: string;
|
|
20
20
|
data: any;
|
|
21
21
|
};
|
|
22
|
-
export declare const logout: (routeId?: string | boolean, routeParams?:
|
|
22
|
+
export declare const logout: (routeId?: string | boolean, routeParams?: RouteParams) => (dispatch: any, getState: any, { http }: {
|
|
23
23
|
http: any;
|
|
24
24
|
}) => any;
|
package/actions/list.d.ts
CHANGED
|
@@ -132,13 +132,13 @@ export declare const listSetLayout: (listId: any, layoutName: any) => {
|
|
|
132
132
|
* @param listId
|
|
133
133
|
* @param query
|
|
134
134
|
*/
|
|
135
|
-
export declare const listFetch: (listId: string, query?: any) => (dispatch: any, getState: any, components: any) => any;
|
|
135
|
+
export declare const listFetch: (listId: string, query?: Record<string, any>) => (dispatch: any, getState: any, components: any) => any;
|
|
136
136
|
/**
|
|
137
137
|
* Lazy update query values and send request
|
|
138
138
|
* @param listId
|
|
139
139
|
* @param query
|
|
140
140
|
*/
|
|
141
|
-
export declare const listLazyFetch: (listId: string, query?: any) => (dispatch: any) => void;
|
|
141
|
+
export declare const listLazyFetch: (listId: string, query?: Record<string, any>) => (dispatch: any) => void;
|
|
142
142
|
/**
|
|
143
143
|
* Send request with same query
|
|
144
144
|
* @param listId
|
package/actions/router.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
type TParams = Record<string, any> | null;
|
|
2
1
|
export declare const ROUTER_INIT_ROUTES = "ROUTER_INIT_ROUTES";
|
|
3
2
|
export declare const ROUTER_SET_PARAMS = "ROUTER_SET_PARAMS";
|
|
4
3
|
export declare const ROUTER_SET_DATA = "ROUTER_SET_DATA";
|
|
@@ -10,8 +9,7 @@ export declare const initParams: (params: any) => {
|
|
|
10
9
|
type: string;
|
|
11
10
|
params: any;
|
|
12
11
|
};
|
|
13
|
-
export declare const goToRoute: (routeId: any, params?:
|
|
12
|
+
export declare const goToRoute: (routeId: any, params?: RouteParams, isReplace?: boolean) => (dispatch: any, getState: any, { store }: {
|
|
14
13
|
store: any;
|
|
15
14
|
}) => any;
|
|
16
15
|
export declare const goToParent: (level?: number) => (dispatch: any, getState: any) => any;
|
|
17
|
-
export {};
|