@refinedev/antd 5.40.0 → 5.41.0
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/CHANGELOG.md +79 -0
- package/dist/components/autoSaveIndicator/index.d.mts.map +4 -1
- package/dist/components/breadcrumb/index.d.mts.map +6 -1
- package/dist/components/buttons/clone/index.d.mts.map +11 -1
- package/dist/components/buttons/create/index.d.mts.map +11 -1
- package/dist/components/buttons/delete/index.d.mts.map +10 -1
- package/dist/components/buttons/edit/index.d.mts.map +11 -1
- package/dist/components/buttons/export/index.d.mts.map +10 -1
- package/dist/components/buttons/import/index.d.mts.map +11 -1
- package/dist/components/buttons/index.d.mts.map +12 -1
- package/dist/components/buttons/list/index.d.mts.map +11 -1
- package/dist/components/buttons/refresh/index.d.mts.map +10 -1
- package/dist/components/buttons/save/index.d.mts.map +10 -1
- package/dist/components/buttons/show/index.d.mts.map +11 -1
- package/dist/components/buttons/types.d.mts.map +24 -1
- package/dist/components/crud/create/index.d.mts.map +10 -1
- package/dist/components/crud/edit/index.d.mts.map +10 -1
- package/dist/components/crud/index.d.mts.map +6 -1
- package/dist/components/crud/list/index.d.mts.map +10 -1
- package/dist/components/crud/show/index.d.mts.map +10 -1
- package/dist/components/crud/types.d.mts.map +10 -1
- package/dist/components/fields/boolean/index.d.mts.map +9 -1
- package/dist/components/fields/date/index.d.mts.map +9 -1
- package/dist/components/fields/email/index.d.mts.map +10 -1
- package/dist/components/fields/file/index.d.mts.map +9 -1
- package/dist/components/fields/image/index.d.mts.map +9 -1
- package/dist/components/fields/index.d.mts.map +12 -1
- package/dist/components/fields/markdown/index.d.mts.map +9 -1
- package/dist/components/fields/number/index.d.mts.map +9 -1
- package/dist/components/fields/tag/index.d.mts.map +9 -1
- package/dist/components/fields/text/index.d.mts.map +9 -1
- package/dist/components/fields/types.d.mts.map +20 -1
- package/dist/components/fields/url/index.d.mts.map +10 -1
- package/dist/components/index.d.mts.map +24 -1
- package/dist/components/layout/header/index.d.mts.map +4 -1
- package/dist/components/layout/index.d.mts.map +8 -1
- package/dist/components/layout/sider/index.d.mts.map +4 -1
- package/dist/components/layout/sider/styles.d.mts.map +3 -1
- package/dist/components/layout/title/index.d.mts.map +4 -1
- package/dist/components/layout/types.d.mts.map +3 -1
- package/dist/components/pageHeader/index.d.cts.map +1 -1
- package/dist/components/pageHeader/index.d.mts.map +5 -1
- package/dist/components/pageHeader/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.mts.map +12 -1
- package/dist/components/pages/auth/components/index.d.mts.map +5 -1
- package/dist/components/pages/auth/components/login/index.d.mts.map +12 -1
- package/dist/components/pages/auth/components/register/index.d.mts.map +12 -1
- package/dist/components/pages/auth/components/styles.d.mts.map +7 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.mts.map +12 -1
- package/dist/components/pages/auth/index.d.mts.map +14 -1
- package/dist/components/pages/error/index.d.mts.map +10 -1
- package/dist/components/pages/index.d.mts.map +7 -1
- package/dist/components/pages/login/index.d.mts.map +15 -1
- package/dist/components/pages/login/styles.d.mts.map +6 -1
- package/dist/components/pages/ready/index.d.mts.map +9 -1
- package/dist/components/pages/welcome/index.d.mts.map +7 -1
- package/dist/components/table/components/filterDropdown/index.d.mts.map +16 -1
- package/dist/components/table/components/index.d.mts.map +3 -1
- package/dist/components/table/index.d.mts.map +2 -1
- package/dist/components/themedLayout/header/index.d.mts.map +7 -1
- package/dist/components/themedLayout/index.d.mts.map +7 -1
- package/dist/components/themedLayout/sider/index.d.mts.map +7 -1
- package/dist/components/themedLayout/sider/styles.d.mts.map +3 -1
- package/dist/components/themedLayout/title/index.d.mts.map +7 -1
- package/dist/components/themedLayout/types.d.mts.map +3 -1
- package/dist/components/themedLayoutV2/header/index.d.mts.map +4 -1
- package/dist/components/themedLayoutV2/index.d.mts.map +4 -1
- package/dist/components/themedLayoutV2/sider/index.d.cts.map +1 -1
- package/dist/components/themedLayoutV2/sider/index.d.mts.map +4 -1
- package/dist/components/themedLayoutV2/sider/index.d.ts.map +1 -1
- package/dist/components/themedLayoutV2/sider/styles.d.mts.map +3 -1
- package/dist/components/themedLayoutV2/title/index.d.mts.map +4 -1
- package/dist/components/themedLayoutV2/types.d.mts.map +6 -1
- package/dist/components/undoableNotification/index.d.mts.map +10 -1
- package/dist/contexts/index.d.mts.map +2 -1
- package/dist/contexts/themedLayoutContext/IThemedLayoutContext.d.mts.map +7 -1
- package/dist/contexts/themedLayoutContext/index.d.mts.map +8 -1
- package/dist/definitions/filter-mappers/index.d.mts.map +29 -1
- package/dist/definitions/index.d.mts.map +5 -1
- package/dist/definitions/table/index.d.mts.map +13 -1
- package/dist/definitions/themes/index.d.mts.map +6 -1
- package/dist/definitions/upload/index.d.mts.map +4 -1
- package/dist/hooks/fields/index.d.mts.map +4 -1
- package/dist/hooks/fields/useCheckboxGroup/index.d.cts +1 -1
- package/dist/hooks/fields/useCheckboxGroup/index.d.cts.map +1 -1
- package/dist/hooks/fields/useCheckboxGroup/index.d.mts +1 -1
- package/dist/hooks/fields/useCheckboxGroup/index.d.mts.map +29 -1
- package/dist/hooks/fields/useCheckboxGroup/index.d.ts +1 -1
- package/dist/hooks/fields/useCheckboxGroup/index.d.ts.map +1 -1
- package/dist/hooks/fields/useRadioGroup/index.d.cts +1 -1
- package/dist/hooks/fields/useRadioGroup/index.d.cts.map +1 -1
- package/dist/hooks/fields/useRadioGroup/index.d.mts +1 -1
- package/dist/hooks/fields/useRadioGroup/index.d.mts.map +29 -1
- package/dist/hooks/fields/useRadioGroup/index.d.ts +1 -1
- package/dist/hooks/fields/useRadioGroup/index.d.ts.map +1 -1
- package/dist/hooks/fields/useSelect/index.d.mts.map +20 -1
- package/dist/hooks/form/index.d.mts.map +5 -1
- package/dist/hooks/form/useDrawerForm/index.d.mts.map +2 -1
- package/dist/hooks/form/useDrawerForm/useDrawerForm.d.cts +1 -2
- package/dist/hooks/form/useDrawerForm/useDrawerForm.d.cts.map +1 -1
- package/dist/hooks/form/useDrawerForm/useDrawerForm.d.mts +1 -2
- package/dist/hooks/form/useDrawerForm/useDrawerForm.d.mts.map +36 -1
- package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts +1 -2
- package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts.map +1 -1
- package/dist/hooks/form/useForm.d.cts +4 -3
- package/dist/hooks/form/useForm.d.cts.map +1 -1
- package/dist/hooks/form/useForm.d.mts +4 -3
- package/dist/hooks/form/useForm.d.mts.map +41 -1
- package/dist/hooks/form/useForm.d.ts +4 -3
- package/dist/hooks/form/useForm.d.ts.map +1 -1
- package/dist/hooks/form/useModalForm/index.d.mts.map +2 -1
- package/dist/hooks/form/useModalForm/useModalForm.d.mts.map +42 -1
- package/dist/hooks/form/useStepsForm/index.d.mts.map +2 -1
- package/dist/hooks/form/useStepsForm/useStepsForm.d.mts.map +35 -1
- package/dist/hooks/import/index.d.mts.map +18 -1
- package/dist/hooks/index.d.mts.map +10 -1
- package/dist/hooks/list/index.d.mts.map +2 -1
- package/dist/hooks/list/useSimpleList/index.d.mts.map +2 -1
- package/dist/hooks/list/useSimpleList/useSimpleList.d.mts.map +24 -1
- package/dist/hooks/modal/index.d.mts.map +2 -1
- package/dist/hooks/modal/useModal/index.d.mts.map +18 -1
- package/dist/hooks/table/index.d.mts.map +3 -1
- package/dist/hooks/table/useEditableTable/index.d.mts.map +2 -1
- package/dist/hooks/table/useEditableTable/useEditableTable.d.mts.map +40 -1
- package/dist/hooks/table/useTable/index.d.mts.map +2 -1
- package/dist/hooks/table/useTable/paginationLink.d.mts.map +8 -1
- package/dist/hooks/table/useTable/useTable.d.mts.map +24 -1
- package/dist/hooks/useFileUploadState/index.d.mts.map +7 -1
- package/dist/hooks/useSiderVisible/index.d.mts.map +11 -1
- package/dist/hooks/useThemedLayoutContext/index.d.mts.map +4 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts.map +9 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/field.d.mts.map +4 -1
- package/dist/interfaces/index.d.mts.map +19 -1
- package/dist/interfaces/upload.d.mts.map +10 -1
- package/dist/providers/index.d.mts.map +2 -1
- package/dist/providers/notificationProvider/index.d.mts.map +8 -1
- package/package.json +4 -4
- package/src/components/autoSaveIndicator/index.tsx +7 -7
- package/src/components/layout/sider/index.tsx +2 -2
- package/src/components/pageHeader/index.tsx +12 -9
- package/src/components/themedLayout/sider/index.tsx +2 -2
- package/src/components/themedLayoutV2/sider/index.tsx +23 -19
- package/src/hooks/fields/useCheckboxGroup/index.ts +2 -0
- package/src/hooks/fields/useRadioGroup/index.ts +2 -0
- package/src/hooks/form/useDrawerForm/useDrawerForm.ts +1 -2
- package/src/hooks/form/useForm.ts +12 -3
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { type TitleProps } from "@refinedev/core";
|
3
|
+
export declare const Title: React.FC<TitleProps>;
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,3 @@
|
|
1
|
-
{
|
1
|
+
import type { RefineLayoutSiderProps, RefineLayoutHeaderProps, RefineLayoutLayoutProps } from "@refinedev/ui-types";
|
2
|
+
export type { RefineLayoutSiderProps, RefineLayoutHeaderProps, RefineLayoutLayoutProps, };
|
3
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pageHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pageHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAc,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,KAAK,eAAe,IAAI,mBAAmB,EAC5C,MAAM,wBAAwB,CAAC;AAKhC,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,mBAAmB,CAkD9C,CAAC"}
|
@@ -1 +1,5 @@
|
|
1
|
-
{"
|
1
|
+
import { type FC } from "react";
|
2
|
+
import { type PageHeaderProps as AntdPageHeaderProps } from "@ant-design/pro-layout";
|
3
|
+
export type PageHeaderProps = AntdPageHeaderProps;
|
4
|
+
export declare const PageHeader: FC<AntdPageHeaderProps>;
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pageHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pageHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAc,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,KAAK,eAAe,IAAI,mBAAmB,EAC5C,MAAM,wBAAwB,CAAC;AAKhC,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,mBAAmB,CAkD9C,CAAC"}
|
@@ -1 +1,12 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { type ForgotPasswordPageProps } from "@refinedev/core";
|
3
|
+
import { type LayoutProps, type CardProps, type FormProps } from "antd";
|
4
|
+
type ResetPassworProps = ForgotPasswordPageProps<LayoutProps, CardProps, FormProps>;
|
5
|
+
/**
|
6
|
+
* **refine** has forgot password page form which is served on `/forgot-password` route when the `authProvider` configuration is provided.
|
7
|
+
*
|
8
|
+
* @see {@link https://refine.dev/docs/ui-frameworks/antd/components/antd-auth-page/#forgot-password} for more details.
|
9
|
+
*/
|
10
|
+
export declare const ForgotPasswordPage: React.FC<ResetPassworProps>;
|
11
|
+
export {};
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,5 @@
|
|
1
|
-
{"
|
1
|
+
export { LoginPage } from "./login";
|
2
|
+
export { RegisterPage } from "./register";
|
3
|
+
export { ForgotPasswordPage } from "./forgotPassword";
|
4
|
+
export { UpdatePasswordPage } from "./updatePassword";
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,12 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { type LoginPageProps } from "@refinedev/core";
|
3
|
+
import { type CardProps, type LayoutProps, type FormProps } from "antd";
|
4
|
+
type LoginProps = LoginPageProps<LayoutProps, CardProps, FormProps>;
|
5
|
+
/**
|
6
|
+
* **refine** has a default login page form which is served on `/login` route when the `authProvider` configuration is provided.
|
7
|
+
*
|
8
|
+
* @see {@link https://refine.dev/docs/ui-frameworks/antd/components/antd-auth-page/#login} for more details.
|
9
|
+
*/
|
10
|
+
export declare const LoginPage: React.FC<LoginProps>;
|
11
|
+
export {};
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,12 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { type RegisterPageProps } from "@refinedev/core";
|
3
|
+
import { type LayoutProps, type CardProps, type FormProps } from "antd";
|
4
|
+
type RegisterProps = RegisterPageProps<LayoutProps, CardProps, FormProps>;
|
5
|
+
/**
|
6
|
+
* **refine** has register page form which is served on `/register` route when the `authProvider` configuration is provided.
|
7
|
+
*
|
8
|
+
* @see {@link https://refine.dev/docs/ui-frameworks/antd/components/antd-auth-page/#register} for more details.
|
9
|
+
*/
|
10
|
+
export declare const RegisterPage: React.FC<RegisterProps>;
|
11
|
+
export {};
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{"
|
1
|
+
import type { CSSProperties } from "react";
|
2
|
+
export declare const layoutStyles: CSSProperties;
|
3
|
+
export declare const containerStyles: CSSProperties;
|
4
|
+
export declare const headStyles: CSSProperties;
|
5
|
+
export declare const bodyStyles: CSSProperties;
|
6
|
+
export declare const titleStyles: CSSProperties;
|
7
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1,12 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { type UpdatePasswordPageProps } from "@refinedev/core";
|
3
|
+
import { type LayoutProps, type CardProps, type FormProps } from "antd";
|
4
|
+
type UpdatePasswordProps = UpdatePasswordPageProps<LayoutProps, CardProps, FormProps>;
|
5
|
+
/**
|
6
|
+
* **refine** has update password page form which is served on `/update-password` route when the `authProvider` configuration is provided.
|
7
|
+
*
|
8
|
+
* @see {@link https://refine.dev/docs/ui-frameworks/antd/components/antd-auth-page/#update-password} for more details.
|
9
|
+
*/
|
10
|
+
export declare const UpdatePasswordPage: React.FC<UpdatePasswordProps>;
|
11
|
+
export {};
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,14 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { CardProps, FormProps, LayoutProps } from "antd";
|
3
|
+
import type { AuthPageProps } from "@refinedev/core";
|
4
|
+
export type AuthProps = AuthPageProps<LayoutProps, CardProps, FormProps> & {
|
5
|
+
renderContent?: (content: React.ReactNode, title: React.ReactNode) => React.ReactNode;
|
6
|
+
title?: React.ReactNode;
|
7
|
+
};
|
8
|
+
/**
|
9
|
+
* **refine** has a default auth page form served on the `/login` route when the `authProvider` configuration is provided.
|
10
|
+
*
|
11
|
+
* @see {@link https://refine.dev/docs/api-reference/antd/components/antd-auth-page/} for more details.
|
12
|
+
*/
|
13
|
+
export declare const AuthPage: React.FC<AuthProps>;
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,10 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineErrorPageProps } from "@refinedev/ui-types";
|
3
|
+
/**
|
4
|
+
* When the app is navigated to a non-existent route, refine shows a default error page.
|
5
|
+
* A custom error component can be used for this error page.
|
6
|
+
*
|
7
|
+
* @see {@link https://refine.dev/docs/packages/documentation/routers/} for more details.
|
8
|
+
*/
|
9
|
+
export declare const ErrorComponent: React.FC<RefineErrorPageProps>;
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{"
|
1
|
+
export { ErrorComponent } from "./error";
|
2
|
+
export { LoginPage } from "./login";
|
3
|
+
export { ReadyPage } from "./ready";
|
4
|
+
export { WelcomePage } from "./welcome";
|
5
|
+
export { AuthPage } from "./auth";
|
6
|
+
export type { AuthProps } from "./auth";
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,15 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { type LoginPageProps } from "@refinedev/core";
|
3
|
+
export interface ILoginForm {
|
4
|
+
username: string;
|
5
|
+
password: string;
|
6
|
+
remember: boolean;
|
7
|
+
}
|
8
|
+
/**
|
9
|
+
* @deprecated LoginPage is deprecated. Use AuthPage instead. @see {@link https://refine.dev/docs/api-reference/antd/components/antd-auth-page} for more details.
|
10
|
+
* **refine** has a default login page form which is served on `/login` route when the `authProvider` configuration is provided.
|
11
|
+
*
|
12
|
+
* @see {@link https://refine.dev/docs/api-reference/core/components/refine-config/#loginpage} for more details.
|
13
|
+
*/
|
14
|
+
export declare const LoginPage: React.FC<LoginPageProps>;
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{"
|
1
|
+
import type { CSSProperties } from "react";
|
2
|
+
export declare const layoutStyles: CSSProperties;
|
3
|
+
export declare const containerStyles: CSSProperties;
|
4
|
+
export declare const titleStyles: CSSProperties;
|
5
|
+
export declare const imageContainer: CSSProperties;
|
6
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1,9 @@
|
|
1
|
-
|
1
|
+
import * as React from "react";
|
2
|
+
import type { RefineReadyPageProps } from "@refinedev/ui-types";
|
3
|
+
/**
|
4
|
+
* **refine** shows a default ready page on root route when no `resources` is passed to the `<Refine>` component as a property.
|
5
|
+
*
|
6
|
+
* @deprecated `ReadyPage` is deprecated and will be removed in the next major release.
|
7
|
+
*/
|
8
|
+
export declare const ReadyPage: React.FC<RefineReadyPageProps>;
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
/**
|
3
|
+
* It is a page that welcomes you after the configuration is completed.
|
4
|
+
* @deprecated `WelcomePage` is deprecated. Use `WelcomePage` from `@refinedev/core` instead.
|
5
|
+
*/
|
6
|
+
export declare const WelcomePage: React.FC;
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,16 @@
|
|
1
|
-
{"
|
1
|
+
import React, { type ReactNode } from "react";
|
2
|
+
import { type TableColumnProps } from "antd";
|
3
|
+
type AntdFilterDropdownProps = React.ComponentProps<Exclude<TableColumnProps<any>["filterDropdown"], ReactNode>>;
|
4
|
+
export type MapValueEvent = "onChange" | "value";
|
5
|
+
export type FilterDropdownProps = AntdFilterDropdownProps & {
|
6
|
+
mapValue?: (selectedKeys: React.Key[], event: MapValueEvent) => any;
|
7
|
+
children: JSX.Element;
|
8
|
+
};
|
9
|
+
/**
|
10
|
+
* `<FilterDropdown>` is a helper component for {@link https://ant.design/components/table/#components-table-demo-custom-filter-panel filter dropdowns in Ant Design `<Table>` components.}
|
11
|
+
*
|
12
|
+
* @see {@link https://refine.dev/docs/ui-frameworks/antd/components/filter-dropdown} for more details.
|
13
|
+
*/
|
14
|
+
export declare const FilterDropdown: React.FC<FilterDropdownProps>;
|
15
|
+
export {};
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,3 @@
|
|
1
|
-
{"
|
1
|
+
export { FilterDropdown } from "./filterDropdown";
|
2
|
+
export type { FilterDropdownProps, MapValueEvent } from "./filterDropdown";
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
export * from "./components";
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineThemedLayoutHeaderProps } from "../types";
|
3
|
+
/**
|
4
|
+
* @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
|
5
|
+
*/
|
6
|
+
export declare const ThemedHeader: React.FC<RefineThemedLayoutHeaderProps>;
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineThemedLayoutProps } from "./types";
|
3
|
+
/**
|
4
|
+
* @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
|
5
|
+
*/
|
6
|
+
export declare const ThemedLayout: React.FC<RefineThemedLayoutProps>;
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineThemedLayoutSiderProps } from "../types";
|
3
|
+
/**
|
4
|
+
* @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
|
5
|
+
*/
|
6
|
+
export declare const ThemedSider: React.FC<RefineThemedLayoutSiderProps>;
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,3 @@
|
|
1
|
-
{"
|
1
|
+
import type { CSSProperties } from "react";
|
2
|
+
export declare const drawerButtonStyles: CSSProperties;
|
3
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineLayoutThemedTitleProps } from "../types";
|
3
|
+
/**
|
4
|
+
* @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
|
5
|
+
*/
|
6
|
+
export declare const ThemedTitle: React.FC<RefineLayoutThemedTitleProps>;
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,3 @@
|
|
1
|
-
{
|
1
|
+
import type { RefineThemedLayoutSiderProps, RefineThemedLayoutHeaderProps, RefineThemedLayoutProps, RefineLayoutThemedTitleProps } from "@refinedev/ui-types";
|
2
|
+
export type { RefineLayoutThemedTitleProps, RefineThemedLayoutSiderProps, RefineThemedLayoutHeaderProps, RefineThemedLayoutProps, };
|
3
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineThemedLayoutV2HeaderProps } from "../types";
|
3
|
+
export declare const ThemedHeaderV2: React.FC<RefineThemedLayoutV2HeaderProps>;
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineThemedLayoutV2Props } from "./types";
|
3
|
+
export declare const ThemedLayoutV2: React.FC<RefineThemedLayoutV2Props>;
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAoC1C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAI/D,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA4TlE,CAAC"}
|
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineThemedLayoutV2SiderProps } from "../types";
|
3
|
+
export declare const ThemedSiderV2: React.FC<RefineThemedLayoutV2SiderProps>;
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAoC1C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAI/D,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA4TlE,CAAC"}
|
@@ -1 +1,3 @@
|
|
1
|
-
{"
|
1
|
+
import type { CSSProperties } from "react";
|
2
|
+
export declare const drawerButtonStyles: CSSProperties;
|
3
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { RefineLayoutThemedTitleProps } from "../types";
|
3
|
+
export declare const ThemedTitleV2: React.FC<RefineLayoutThemedTitleProps>;
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
import type { RefineThemedLayoutV2SiderProps as BaseRefineThemedLayoutV2SiderProps, RefineThemedLayoutV2HeaderProps, RefineThemedLayoutV2Props, RefineLayoutThemedTitleProps } from "@refinedev/ui-types";
|
2
|
+
type RefineThemedLayoutV2SiderProps = BaseRefineThemedLayoutV2SiderProps & {
|
3
|
+
fixed?: boolean;
|
4
|
+
};
|
5
|
+
export type { RefineLayoutThemedTitleProps, RefineThemedLayoutV2SiderProps, RefineThemedLayoutV2HeaderProps, RefineThemedLayoutV2Props, };
|
6
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +1,10 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
|
+
import type { OpenNotificationParams } from "@refinedev/core";
|
3
|
+
export type UndoableNotificationProps = {
|
4
|
+
notificationKey: OpenNotificationParams["key"];
|
5
|
+
message: OpenNotificationParams["message"];
|
6
|
+
cancelMutation: OpenNotificationParams["cancelMutation"];
|
7
|
+
undoableTimeout: OpenNotificationParams["undoableTimeout"];
|
8
|
+
};
|
9
|
+
export declare const UndoableNotification: React.FC<UndoableNotificationProps>;
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,2 @@
|
|
1
|
-
{
|
1
|
+
export { ThemedLayoutContext, ThemedLayoutContextProvider, } from "./themedLayoutContext";
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
export interface IThemedLayoutContext {
|
2
|
+
siderCollapsed: boolean;
|
3
|
+
setSiderCollapsed: (visible: boolean) => void;
|
4
|
+
mobileSiderOpen: boolean;
|
5
|
+
setMobileSiderOpen: (visible: boolean) => void;
|
6
|
+
}
|
7
|
+
//# sourceMappingURL=IThemedLayoutContext.d.ts.map
|
@@ -1 +1,8 @@
|
|
1
|
-
{"
|
1
|
+
import React, { type ReactNode } from "react";
|
2
|
+
import type { IThemedLayoutContext } from "./IThemedLayoutContext";
|
3
|
+
export declare const ThemedLayoutContext: React.Context<IThemedLayoutContext>;
|
4
|
+
export declare const ThemedLayoutContextProvider: React.FC<{
|
5
|
+
children: ReactNode;
|
6
|
+
initialSiderCollapsed?: boolean;
|
7
|
+
}>;
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,29 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { FilterDropdownProps, MapValueEvent } from "@components/table/components";
|
3
|
+
import dayjs from "dayjs";
|
4
|
+
/**
|
5
|
+
* It is a mapper function for the <DatePicker.RangePicker /> filter.
|
6
|
+
* when the `event` is:
|
7
|
+
* - `"value"`: It converts the `selectedKeys` to Dayjs objects to be used in the `<DatePicker.RangePicker />` component.
|
8
|
+
* - `"onChange"`, It converts the Dayjs objects to ISO 8601 string format to be used in the Refine(data-provider, syncWithLocation etc.) filter.
|
9
|
+
* @see {@link https://refine.dev/docs/ui-integrations/ant-design/components/filter-dropdown/#rangepickerfiltermapper} for more details.
|
10
|
+
* @example
|
11
|
+
* ```tsx
|
12
|
+
* <Table.Column
|
13
|
+
* dataIndex="createdAt"
|
14
|
+
* title="Date & Time"
|
15
|
+
* filterDropdown={(props) => (
|
16
|
+
* <FilterDropdown
|
17
|
+
* {...props}
|
18
|
+
* mapValue={(selectedKeys, event) => {
|
19
|
+
* return rangePickerFilterMapper(selectedKeys, event);
|
20
|
+
* }}
|
21
|
+
* >
|
22
|
+
* <DatePicker.RangePicker />
|
23
|
+
* </FilterDropdown>
|
24
|
+
* )}
|
25
|
+
* />
|
26
|
+
* ```
|
27
|
+
*/
|
28
|
+
export declare const rangePickerFilterMapper: (selectedKeys: FilterDropdownProps["selectedKeys"], event: MapValueEvent) => import("react").Key[] | (number | bigint | dayjs.Dayjs)[];
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,5 @@
|
|
1
|
-
|
1
|
+
export * from "./table";
|
2
|
+
export * from "./upload";
|
3
|
+
export * from "./themes";
|
4
|
+
export * from "./filter-mappers";
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,13 @@
|
|
1
|
-
{
|
1
|
+
import { type CrudFilters, type CrudOperators, type CrudSorting, type CrudFilter } from "@refinedev/core";
|
2
|
+
import type { TableProps } from "antd";
|
3
|
+
export type FilterValue = Parameters<NonNullable<TableProps["onChange"]>>[1][string];
|
4
|
+
export type SortOrder = NonNullable<TableProps["sortDirections"]>[number];
|
5
|
+
export type SorterResult = Exclude<Parameters<NonNullable<TableProps["onChange"]>>[2], any[]>;
|
6
|
+
export declare const getDefaultSortOrder: (columnName: string, sorter?: CrudSorting) => SortOrder | undefined;
|
7
|
+
/**
|
8
|
+
* @deprecated getDefaultFilter moved to `@refinedev/core`. Use from `@refinedev/core`
|
9
|
+
*/
|
10
|
+
export declare const getDefaultFilter: (columnName: string, filters?: CrudFilters, operatorType?: CrudOperators) => CrudFilter["value"] | undefined;
|
11
|
+
export declare const mapAntdSorterToCrudSorting: (sorter: SorterResult | SorterResult[]) => CrudSorting;
|
12
|
+
export declare const mapAntdFilterToCrudFilter: (tableFilters: Record<string, FilterValue | (string | number | boolean) | (string | number | boolean)[] | null>, prevFilters: CrudFilters, initialFilters?: CrudFilters) => CrudFilters;
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{"
|
1
|
+
import type { ThemeConfig } from "antd";
|
2
|
+
type ThemeNames = "Blue" | "Purple" | "Magenta" | "Red" | "Orange" | "Yellow" | "Green";
|
3
|
+
type RefineThemes = Record<ThemeNames, ThemeConfig>;
|
4
|
+
export declare const RefineThemes: RefineThemes;
|
5
|
+
export {};
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,4 @@
|
|
1
|
-
{
|
1
|
+
import type { UploadFile, UploadChangeParam } from "antd/lib/upload/interface";
|
2
|
+
export declare const getValueFromEvent: (event: UploadChangeParam) => UploadFile[];
|
3
|
+
export declare function file2Base64(file: UploadFile): Promise<string>;
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
export * from "./useSelect";
|
2
|
+
export * from "./useCheckboxGroup";
|
3
|
+
export * from "./useRadioGroup";
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -24,6 +24,6 @@ type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQ
|
|
24
24
|
* @typeParam TData - Result data returned by the `select` function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TQueryFnData`
|
25
25
|
*
|
26
26
|
*/
|
27
|
-
export declare const useCheckboxGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseCheckboxGroupProps<TQueryFnData, TError, TData>) => UseCheckboxGroupReturnType<TData, TOption>;
|
27
|
+
export declare const useCheckboxGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, selectedOptionsOrder, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseCheckboxGroupProps<TQueryFnData, TError, TData>) => UseCheckboxGroupReturnType<TData, TOption>;
|
28
28
|
export {};
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useCheckboxGroup/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EACL,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,OAAO,EAEZ,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,0BAA0B,CACpC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACrC;IACF,kBAAkB,EAAE,IAAI,CACtB,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,EAC3C,SAAS,CACV,GAAG;QACF,OAAO,EAAE,OAAO,EAAE,CAAC;KACpB,CAAC;IACF,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,IAAI,CAC5D,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,EAC3C,cAAc,CACf,GAAG;IACF;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,gBAAgB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useCheckboxGroup/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EACL,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,OAAO,EAEZ,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,0BAA0B,CACpC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACrC;IACF,kBAAkB,EAAE,IAAI,CACtB,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,EAC3C,SAAS,CACV,GAAG;QACF,OAAO,EAAE,OAAO,EAAE,CAAC;KACpB,CAAC;IACF,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,IAAI,CAC5D,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,EAC3C,cAAc,CACf,GAAG;IACF;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,gBAAgB,wXAuB1B,sBACD,YAAY,EACZ,MAAM,EACN,KAAK,CACN,KAAG,2BAA2B,KAAK,EAAE,OAAO,CAgC5C,CAAC"}
|
@@ -24,6 +24,6 @@ type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQ
|
|
24
24
|
* @typeParam TData - Result data returned by the `select` function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TQueryFnData`
|
25
25
|
*
|
26
26
|
*/
|
27
|
-
export declare const useCheckboxGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseCheckboxGroupProps<TQueryFnData, TError, TData>) => UseCheckboxGroupReturnType<TData, TOption>;
|
27
|
+
export declare const useCheckboxGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, selectedOptionsOrder, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseCheckboxGroupProps<TQueryFnData, TError, TData>) => UseCheckboxGroupReturnType<TData, TOption>;
|
28
28
|
export {};
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1,29 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { QueryObserverResult } from "@tanstack/react-query";
|
3
|
+
import type { Checkbox } from "antd";
|
4
|
+
import { type BaseRecord, type GetListResponse, type HttpError, type UseSelectProps, type BaseKey, type BaseOption } from "@refinedev/core";
|
5
|
+
export type UseCheckboxGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
|
6
|
+
checkboxGroupProps: Omit<React.ComponentProps<typeof Checkbox.Group>, "options"> & {
|
7
|
+
options: TOption[];
|
8
|
+
};
|
9
|
+
queryResult: QueryObserverResult<GetListResponse<TData>>;
|
10
|
+
};
|
11
|
+
type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
|
12
|
+
/**
|
13
|
+
* Sets the default value
|
14
|
+
*/
|
15
|
+
defaultValue?: BaseKey[];
|
16
|
+
};
|
17
|
+
/**
|
18
|
+
* `useCheckboxGroup` hook allows you to manage an Ant Design {@link https://ant.design/components/checkbox/#components-checkbox-demo-group Checkbox.Group} component when records in a resource needs to be used as checkbox options.
|
19
|
+
*
|
20
|
+
* @see {@link https://refine.dev/docs/api-reference/antd/hooks/field/useCheckboxGroup/} for more details
|
21
|
+
*
|
22
|
+
* @typeParam TQueryFnData - Result data returned by the query function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
|
23
|
+
* @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#httperror `HttpError`}
|
24
|
+
* @typeParam TData - Result data returned by the `select` function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TQueryFnData`
|
25
|
+
*
|
26
|
+
*/
|
27
|
+
export declare const useCheckboxGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, selectedOptionsOrder, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseCheckboxGroupProps<TQueryFnData, TError, TData>) => UseCheckboxGroupReturnType<TData, TOption>;
|
28
|
+
export {};
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -24,6 +24,6 @@ type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQ
|
|
24
24
|
* @typeParam TData - Result data returned by the `select` function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TQueryFnData`
|
25
25
|
*
|
26
26
|
*/
|
27
|
-
export declare const useCheckboxGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseCheckboxGroupProps<TQueryFnData, TError, TData>) => UseCheckboxGroupReturnType<TData, TOption>;
|
27
|
+
export declare const useCheckboxGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, selectedOptionsOrder, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseCheckboxGroupProps<TQueryFnData, TError, TData>) => UseCheckboxGroupReturnType<TData, TOption>;
|
28
28
|
export {};
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useCheckboxGroup/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EACL,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,OAAO,EAEZ,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,0BAA0B,CACpC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACrC;IACF,kBAAkB,EAAE,IAAI,CACtB,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,EAC3C,SAAS,CACV,GAAG;QACF,OAAO,EAAE,OAAO,EAAE,CAAC;KACpB,CAAC;IACF,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,IAAI,CAC5D,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,EAC3C,cAAc,CACf,GAAG;IACF;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,gBAAgB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useCheckboxGroup/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EACL,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,OAAO,EAEZ,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,0BAA0B,CACpC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACrC;IACF,kBAAkB,EAAE,IAAI,CACtB,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,EAC3C,SAAS,CACV,GAAG;QACF,OAAO,EAAE,OAAO,EAAE,CAAC;KACpB,CAAC;IACF,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,IAAI,CAC5D,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,EAC3C,cAAc,CACf,GAAG;IACF;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,gBAAgB,wXAuB1B,sBACD,YAAY,EACZ,MAAM,EACN,KAAK,CACN,KAAG,2BAA2B,KAAK,EAAE,OAAO,CAgC5C,CAAC"}
|
@@ -24,6 +24,6 @@ type UseRadioGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQuer
|
|
24
24
|
* @typeParam TData - Result data returned by the `select` function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TQueryFnData`
|
25
25
|
*
|
26
26
|
*/
|
27
|
-
export declare const useRadioGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseRadioGroupProps<TQueryFnData, TError, TData>) => UseRadioGroupReturnType<TData, TOption>;
|
27
|
+
export declare const useRadioGroup: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TData extends BaseRecord = TQueryFnData, TOption extends BaseOption = BaseOption>({ resource, sort, sorters, filters, optionLabel, optionValue, queryOptions, fetchSize, pagination, liveMode, defaultValue, selectedOptionsOrder, onLiveEvent, liveParams, meta, metaData, dataProviderName, }: UseRadioGroupProps<TQueryFnData, TError, TData>) => UseRadioGroupReturnType<TData, TOption>;
|
28
28
|
export {};
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|