@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.
Files changed (150) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/dist/components/autoSaveIndicator/index.d.mts.map +4 -1
  3. package/dist/components/breadcrumb/index.d.mts.map +6 -1
  4. package/dist/components/buttons/clone/index.d.mts.map +11 -1
  5. package/dist/components/buttons/create/index.d.mts.map +11 -1
  6. package/dist/components/buttons/delete/index.d.mts.map +10 -1
  7. package/dist/components/buttons/edit/index.d.mts.map +11 -1
  8. package/dist/components/buttons/export/index.d.mts.map +10 -1
  9. package/dist/components/buttons/import/index.d.mts.map +11 -1
  10. package/dist/components/buttons/index.d.mts.map +12 -1
  11. package/dist/components/buttons/list/index.d.mts.map +11 -1
  12. package/dist/components/buttons/refresh/index.d.mts.map +10 -1
  13. package/dist/components/buttons/save/index.d.mts.map +10 -1
  14. package/dist/components/buttons/show/index.d.mts.map +11 -1
  15. package/dist/components/buttons/types.d.mts.map +24 -1
  16. package/dist/components/crud/create/index.d.mts.map +10 -1
  17. package/dist/components/crud/edit/index.d.mts.map +10 -1
  18. package/dist/components/crud/index.d.mts.map +6 -1
  19. package/dist/components/crud/list/index.d.mts.map +10 -1
  20. package/dist/components/crud/show/index.d.mts.map +10 -1
  21. package/dist/components/crud/types.d.mts.map +10 -1
  22. package/dist/components/fields/boolean/index.d.mts.map +9 -1
  23. package/dist/components/fields/date/index.d.mts.map +9 -1
  24. package/dist/components/fields/email/index.d.mts.map +10 -1
  25. package/dist/components/fields/file/index.d.mts.map +9 -1
  26. package/dist/components/fields/image/index.d.mts.map +9 -1
  27. package/dist/components/fields/index.d.mts.map +12 -1
  28. package/dist/components/fields/markdown/index.d.mts.map +9 -1
  29. package/dist/components/fields/number/index.d.mts.map +9 -1
  30. package/dist/components/fields/tag/index.d.mts.map +9 -1
  31. package/dist/components/fields/text/index.d.mts.map +9 -1
  32. package/dist/components/fields/types.d.mts.map +20 -1
  33. package/dist/components/fields/url/index.d.mts.map +10 -1
  34. package/dist/components/index.d.mts.map +24 -1
  35. package/dist/components/layout/header/index.d.mts.map +4 -1
  36. package/dist/components/layout/index.d.mts.map +8 -1
  37. package/dist/components/layout/sider/index.d.mts.map +4 -1
  38. package/dist/components/layout/sider/styles.d.mts.map +3 -1
  39. package/dist/components/layout/title/index.d.mts.map +4 -1
  40. package/dist/components/layout/types.d.mts.map +3 -1
  41. package/dist/components/pageHeader/index.d.cts.map +1 -1
  42. package/dist/components/pageHeader/index.d.mts.map +5 -1
  43. package/dist/components/pageHeader/index.d.ts.map +1 -1
  44. package/dist/components/pages/auth/components/forgotPassword/index.d.mts.map +12 -1
  45. package/dist/components/pages/auth/components/index.d.mts.map +5 -1
  46. package/dist/components/pages/auth/components/login/index.d.mts.map +12 -1
  47. package/dist/components/pages/auth/components/register/index.d.mts.map +12 -1
  48. package/dist/components/pages/auth/components/styles.d.mts.map +7 -1
  49. package/dist/components/pages/auth/components/updatePassword/index.d.mts.map +12 -1
  50. package/dist/components/pages/auth/index.d.mts.map +14 -1
  51. package/dist/components/pages/error/index.d.mts.map +10 -1
  52. package/dist/components/pages/index.d.mts.map +7 -1
  53. package/dist/components/pages/login/index.d.mts.map +15 -1
  54. package/dist/components/pages/login/styles.d.mts.map +6 -1
  55. package/dist/components/pages/ready/index.d.mts.map +9 -1
  56. package/dist/components/pages/welcome/index.d.mts.map +7 -1
  57. package/dist/components/table/components/filterDropdown/index.d.mts.map +16 -1
  58. package/dist/components/table/components/index.d.mts.map +3 -1
  59. package/dist/components/table/index.d.mts.map +2 -1
  60. package/dist/components/themedLayout/header/index.d.mts.map +7 -1
  61. package/dist/components/themedLayout/index.d.mts.map +7 -1
  62. package/dist/components/themedLayout/sider/index.d.mts.map +7 -1
  63. package/dist/components/themedLayout/sider/styles.d.mts.map +3 -1
  64. package/dist/components/themedLayout/title/index.d.mts.map +7 -1
  65. package/dist/components/themedLayout/types.d.mts.map +3 -1
  66. package/dist/components/themedLayoutV2/header/index.d.mts.map +4 -1
  67. package/dist/components/themedLayoutV2/index.d.mts.map +4 -1
  68. package/dist/components/themedLayoutV2/sider/index.d.cts.map +1 -1
  69. package/dist/components/themedLayoutV2/sider/index.d.mts.map +4 -1
  70. package/dist/components/themedLayoutV2/sider/index.d.ts.map +1 -1
  71. package/dist/components/themedLayoutV2/sider/styles.d.mts.map +3 -1
  72. package/dist/components/themedLayoutV2/title/index.d.mts.map +4 -1
  73. package/dist/components/themedLayoutV2/types.d.mts.map +6 -1
  74. package/dist/components/undoableNotification/index.d.mts.map +10 -1
  75. package/dist/contexts/index.d.mts.map +2 -1
  76. package/dist/contexts/themedLayoutContext/IThemedLayoutContext.d.mts.map +7 -1
  77. package/dist/contexts/themedLayoutContext/index.d.mts.map +8 -1
  78. package/dist/definitions/filter-mappers/index.d.mts.map +29 -1
  79. package/dist/definitions/index.d.mts.map +5 -1
  80. package/dist/definitions/table/index.d.mts.map +13 -1
  81. package/dist/definitions/themes/index.d.mts.map +6 -1
  82. package/dist/definitions/upload/index.d.mts.map +4 -1
  83. package/dist/hooks/fields/index.d.mts.map +4 -1
  84. package/dist/hooks/fields/useCheckboxGroup/index.d.cts +1 -1
  85. package/dist/hooks/fields/useCheckboxGroup/index.d.cts.map +1 -1
  86. package/dist/hooks/fields/useCheckboxGroup/index.d.mts +1 -1
  87. package/dist/hooks/fields/useCheckboxGroup/index.d.mts.map +29 -1
  88. package/dist/hooks/fields/useCheckboxGroup/index.d.ts +1 -1
  89. package/dist/hooks/fields/useCheckboxGroup/index.d.ts.map +1 -1
  90. package/dist/hooks/fields/useRadioGroup/index.d.cts +1 -1
  91. package/dist/hooks/fields/useRadioGroup/index.d.cts.map +1 -1
  92. package/dist/hooks/fields/useRadioGroup/index.d.mts +1 -1
  93. package/dist/hooks/fields/useRadioGroup/index.d.mts.map +29 -1
  94. package/dist/hooks/fields/useRadioGroup/index.d.ts +1 -1
  95. package/dist/hooks/fields/useRadioGroup/index.d.ts.map +1 -1
  96. package/dist/hooks/fields/useSelect/index.d.mts.map +20 -1
  97. package/dist/hooks/form/index.d.mts.map +5 -1
  98. package/dist/hooks/form/useDrawerForm/index.d.mts.map +2 -1
  99. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.cts +1 -2
  100. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.cts.map +1 -1
  101. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.mts +1 -2
  102. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.mts.map +36 -1
  103. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts +1 -2
  104. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts.map +1 -1
  105. package/dist/hooks/form/useForm.d.cts +4 -3
  106. package/dist/hooks/form/useForm.d.cts.map +1 -1
  107. package/dist/hooks/form/useForm.d.mts +4 -3
  108. package/dist/hooks/form/useForm.d.mts.map +41 -1
  109. package/dist/hooks/form/useForm.d.ts +4 -3
  110. package/dist/hooks/form/useForm.d.ts.map +1 -1
  111. package/dist/hooks/form/useModalForm/index.d.mts.map +2 -1
  112. package/dist/hooks/form/useModalForm/useModalForm.d.mts.map +42 -1
  113. package/dist/hooks/form/useStepsForm/index.d.mts.map +2 -1
  114. package/dist/hooks/form/useStepsForm/useStepsForm.d.mts.map +35 -1
  115. package/dist/hooks/import/index.d.mts.map +18 -1
  116. package/dist/hooks/index.d.mts.map +10 -1
  117. package/dist/hooks/list/index.d.mts.map +2 -1
  118. package/dist/hooks/list/useSimpleList/index.d.mts.map +2 -1
  119. package/dist/hooks/list/useSimpleList/useSimpleList.d.mts.map +24 -1
  120. package/dist/hooks/modal/index.d.mts.map +2 -1
  121. package/dist/hooks/modal/useModal/index.d.mts.map +18 -1
  122. package/dist/hooks/table/index.d.mts.map +3 -1
  123. package/dist/hooks/table/useEditableTable/index.d.mts.map +2 -1
  124. package/dist/hooks/table/useEditableTable/useEditableTable.d.mts.map +40 -1
  125. package/dist/hooks/table/useTable/index.d.mts.map +2 -1
  126. package/dist/hooks/table/useTable/paginationLink.d.mts.map +8 -1
  127. package/dist/hooks/table/useTable/useTable.d.mts.map +24 -1
  128. package/dist/hooks/useFileUploadState/index.d.mts.map +7 -1
  129. package/dist/hooks/useSiderVisible/index.d.mts.map +11 -1
  130. package/dist/hooks/useThemedLayoutContext/index.d.mts.map +4 -1
  131. package/dist/index.cjs +1 -1
  132. package/dist/index.cjs.map +1 -1
  133. package/dist/index.d.mts.map +9 -1
  134. package/dist/index.mjs +1 -1
  135. package/dist/index.mjs.map +1 -1
  136. package/dist/interfaces/field.d.mts.map +4 -1
  137. package/dist/interfaces/index.d.mts.map +19 -1
  138. package/dist/interfaces/upload.d.mts.map +10 -1
  139. package/dist/providers/index.d.mts.map +2 -1
  140. package/dist/providers/notificationProvider/index.d.mts.map +8 -1
  141. package/package.json +4 -4
  142. package/src/components/autoSaveIndicator/index.tsx +7 -7
  143. package/src/components/layout/sider/index.tsx +2 -2
  144. package/src/components/pageHeader/index.tsx +12 -9
  145. package/src/components/themedLayout/sider/index.tsx +2 -2
  146. package/src/components/themedLayoutV2/sider/index.tsx +23 -19
  147. package/src/hooks/fields/useCheckboxGroup/index.ts +2 -0
  148. package/src/hooks/fields/useRadioGroup/index.ts +2 -0
  149. package/src/hooks/form/useDrawerForm/useDrawerForm.ts +1 -2
  150. package/src/hooks/form/useForm.ts +12 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,84 @@
1
1
  # @refinedev/antd
2
2
 
3
+ ## 5.41.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#6074](https://github.com/refinedev/refine/pull/6074) [`311dcdc454ee6914218a59198b5d423a4f8e5456`](https://github.com/refinedev/refine/commit/311dcdc454ee6914218a59198b5d423a4f8e5456) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fix: [`useDrawerForm`](https://refine.dev/docs/ui-integrations/ant-design/hooks/use-drawer-form/)'s `submit` and `form` props are not working (#6082).
8
+
9
+ - `submit` prop is removed from `useDrawerForm` hook. Instead, you can use `onFinish` prop to handle the form submission.
10
+ https://refine.dev/docs/guides-concepts/forms/#modifying-data-before-submission
11
+
12
+ - `form` prop is removed from `useDrawerForm` hook.
13
+ The purpose of `useDrawerForm` is to create a `form` instance. Because of that `form` instance cannot be passed as a prop.
14
+
15
+ - [#6071](https://github.com/refinedev/refine/pull/6071) [`853bef97ed7baf59e74c98fc54c0ed11624fb491`](https://github.com/refinedev/refine/commit/853bef97ed7baf59e74c98fc54c0ed11624fb491) Thanks [@Dominic-Preap](https://github.com/Dominic-Preap)! - feat: add `selectedOptionsOrder` in `useSelect`
16
+
17
+ Now with `selectedOptionsOrder`, you can sort `selectedOptions` at the top of list when use `useSelect` with `defaultValue`.
18
+
19
+ Resolves [#6061](https://github.com/refinedev/refine/issues/6061)
20
+
21
+ - [#6074](https://github.com/refinedev/refine/pull/6074) [`311dcdc454ee6914218a59198b5d423a4f8e5456`](https://github.com/refinedev/refine/commit/311dcdc454ee6914218a59198b5d423a4f8e5456) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fix: `useForm`'s `defaultFormValues` prop is not working (#5727).
22
+
23
+ From now on, `useForm`, `useDrawerForm`, and `useModalForm` hooks accept the `defaultFormValues` prop to pre-populate the form with data that needs to be displayed.
24
+
25
+ ```tsx
26
+ useForm({
27
+ defaultFormValues: {
28
+ title: "Hello World",
29
+ },
30
+ });
31
+ ```
32
+
33
+ Also, it can be provided as an async function to fetch the default values. The loading state can be tracked using the `defaultFormValuesLoading` state returned from the hook.
34
+
35
+ > 🚨 When `action` is "edit" or "clone" a race condition with `async defaultFormValues` may occur. In this case, the form values will be the result of the last completed operation.
36
+
37
+ ```tsx
38
+ const { defaultFormValuesLoading } = useForm({
39
+ defaultFormValues: async () => {
40
+ const response = await fetch("https://my-api.com/posts/1");
41
+ const data = await response.json();
42
+ return data;
43
+ },
44
+ });
45
+ ```
46
+
47
+ ### Patch Changes
48
+
49
+ - [#6021](https://github.com/refinedev/refine/pull/6021) [`55cd0662b1e3ff8f8410eba812e80130afe75d14`](https://github.com/refinedev/refine/commit/55cd0662b1e3ff8f8410eba812e80130afe75d14) Thanks [@JayBhensdadia](https://github.com/JayBhensdadia)! - fix: ensure Sider component handles various resource name formats correctly
50
+
51
+ Updated Sider component to correctly handle lowercase and camelcased resource names, enhancing usability and functionality.
52
+
53
+ Fixes #6004
54
+
55
+ - [#5984](https://github.com/refinedev/refine/pull/5984) [`658891c413b1fc83b75905919eabc94f08482e61`](https://github.com/refinedev/refine/commit/658891c413b1fc83b75905919eabc94f08482e61) Thanks [@ApsMJ23](https://github.com/ApsMJ23)! - fix(antd): use appropriate icons for RTL direction layouts
56
+
57
+ Previously CRUD components and `<ThemedSiderV2 />` component used hardcoded icons which doesn't fit well for RTL layouts. This PR uses Ant Design's `ConfigProvider` context to use `direction` to determine the appropriate icons for RTL layouts.
58
+
59
+ **Example**
60
+
61
+ ```tsx
62
+ import { ConfigProvider } from 'antd';
63
+ import { Refine } from '@refinedev/antd';
64
+
65
+ const App = () => (
66
+ <ConfigProvider direction="rtl">
67
+ <Refine
68
+ {/* ... */}
69
+ />
70
+ </ConfigProvider>
71
+ );
72
+ ```
73
+
74
+ When any CRUD component or `<ThemedSiderV2 />` component is rendered, the icons will be rendered with respect to the `direction` prop of `ConfigProvider`.
75
+
76
+ - [#6064](https://github.com/refinedev/refine/pull/6064) [`b516c18b828ba8823561d0fefc4afe02b45ce332`](https://github.com/refinedev/refine/commit/b516c18b828ba8823561d0fefc4afe02b45ce332) Thanks [@aliemir](https://github.com/aliemir)! - fix(auto-save-indicator): replace reserved `key` prop with `translationKey` in <Message /> components
77
+
78
+ `<AutoSaveIndicator />` components from UI libraries have been using a `<Message />` component internally that uses a `key` prop. Since `key` is a reserved prop in React, it was causing a warning in the console. This change replaces the `key` prop with `translationKey` to avoid the warning.
79
+
80
+ Resolves [#6067](https://github.com/refinedev/refine/issues/6067)
81
+
3
82
  ## 5.40.0
4
83
 
5
84
  ### Minor Changes
@@ -1 +1,4 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,KAAK,sBAAsB,EAG5B,MAAM,iBAAiB,CAAC;AASzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAgD9D,CAAC"}
1
+ import React from "react";
2
+ import { type AutoSaveIndicatorProps } from "@refinedev/core";
3
+ export declare const AutoSaveIndicator: React.FC<AutoSaveIndicatorProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAEL,KAAK,eAAe,IAAI,mBAAmB,EAC5C,MAAM,MAAM,CAAC;AAGd,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;AAEzE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAiEhD,CAAC"}
1
+ import React from "react";
2
+ import type { RefineBreadcrumbProps } from "@refinedev/ui-types";
3
+ import { type BreadcrumbProps as AntdBreadcrumbProps } from "antd";
4
+ export type BreadcrumbProps = RefineBreadcrumbProps<AntdBreadcrumbProps>;
5
+ export declare const Breadcrumb: React.FC<BreadcrumbProps>;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,11 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/clone/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgDlD,CAAC"}
1
+ import React from "react";
2
+ import type { CloneButtonProps } from "../types";
3
+ /**
4
+ * `<CloneButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button> component`}.
5
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#clone `clone`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation useNavigation} under the hood.
6
+ * It can be useful when redirecting the app to the create page with the record id route of resource.
7
+ *
8
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/clone-button} for more details.
9
+ */
10
+ export declare const CloneButton: React.FC<CloneButtonProps>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,11 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/create/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiDpD,CAAC"}
1
+ import React from "react";
2
+ import type { CreateButtonProps } from "../types";
3
+ /**
4
+ * <CreateButton> uses Ant Design's {@link https://ant.design/components/button/ `<Button> component`}.
5
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#create `create`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
6
+ * It can be useful to redirect the app to the create page route of resource}.
7
+ *
8
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/create-button} for more details.
9
+ */
10
+ export declare const CreateButton: React.FC<CreateButtonProps>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAyEpD,CAAC"}
1
+ import React from "react";
2
+ import type { DeleteButtonProps } from "../types";
3
+ /**
4
+ * `<DeleteButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} and {@link https://ant.design/components/button/ `<Popconfirm>`} components.
5
+ * When you try to delete something, a pop-up shows up and asks for confirmation. When confirmed it executes the `useDelete` method provided by your `dataProvider`.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/delete-button} for more details.
8
+ */
9
+ export declare const DeleteButton: React.FC<DeleteButtonProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,11 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgDhD,CAAC"}
1
+ import React from "react";
2
+ import type { EditButtonProps } from "../types";
3
+ /**
4
+ * `<EditButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
5
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#edit `edit`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
6
+ * It can be useful when redirecting the app to the edit page with the record id route of resource}.
7
+ *
8
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/edit-button} for more details.
9
+ */
10
+ export declare const EditButton: React.FC<EditButtonProps>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/export/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmBpD,CAAC"}
1
+ import React from "react";
2
+ import type { ExportButtonProps } from "../types";
3
+ /**
4
+ * `<ExportButton>` is an Ant Design {@link https://ant.design/components/button/ `<Button>`} with a default export icon and a default text with "Export".
5
+ * It only has presentational value.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/export-button} for more details.
8
+ */
9
+ export declare const ExportButton: React.FC<ExportButtonProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,11 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/import/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuBpD,CAAC"}
1
+ import React from "react";
2
+ import type { ImportButtonProps } from "../types";
3
+ /**
4
+ * `<ImportButton>` is compatible with the {@link https://refine.dev/docs/api-reference/antd/hooks/import/useImport `useImport`} hook and is meant to be used as it's upload button.
5
+ * It uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} and {@link https://ant.design/components/upload/ `<Upload>`} components.
6
+ * It wraps a `<Button>` component with an `<Upload>` component and accepts properties for `<Button>` and `<Upload>` components separately.
7
+ *
8
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/import-button} for more details.
9
+ */
10
+ export declare const ImportButton: React.FC<ImportButtonProps>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,12 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,cAAc,SAAS,CAAC"}
1
+ export { CreateButton } from "./create";
2
+ export { EditButton } from "./edit";
3
+ export { DeleteButton } from "./delete";
4
+ export { RefreshButton } from "./refresh";
5
+ export { ShowButton } from "./show";
6
+ export { ListButton } from "./list";
7
+ export { ExportButton } from "./export";
8
+ export { SaveButton } from "./save";
9
+ export { CloneButton } from "./clone";
10
+ export { ImportButton } from "./import";
11
+ export * from "./types";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,11 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8ChD,CAAC"}
1
+ import React from "react";
2
+ import type { ListButtonProps } from "../types";
3
+ /**
4
+ * `<ListButton>` is using Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
5
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#list `list`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
6
+ * It can be useful when redirecting the app to the list page route of resource}.
7
+ *
8
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/list-button} for more details.
9
+ */
10
+ export declare const ListButton: React.FC<ListButtonProps>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/refresh/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6BtD,CAAC"}
1
+ import React from "react";
2
+ import type { RefreshButtonProps } from "../types";
3
+ /**
4
+ * `<RefreshButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component
5
+ * to update the data shown on the page via the {@link https://refine.dev/docs/api-reference/core/hooks/invalidate/useInvalidate `useInvalidate`} hook.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/refresh-button} for more details.
8
+ */
9
+ export declare const RefreshButton: React.FC<RefreshButtonProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/save/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmBhD,CAAC"}
1
+ import React from "react";
2
+ import type { SaveButtonProps } from "../types";
3
+ /**
4
+ * `<SaveButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
5
+ * It uses it for presantation purposes only. Some of the hooks that refine has adds features to this button.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/save-button} for more details.
8
+ */
9
+ export declare const SaveButton: React.FC<SaveButtonProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,11 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgDhD,CAAC"}
1
+ import React from "react";
2
+ import type { ShowButtonProps } from "../types";
3
+ /**
4
+ * `<ShowButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
5
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#show `show`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
6
+ * It can be useful when redirecting the app to the show page with the record id route of resource.
7
+ *
8
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/show-button} for more details.
9
+ */
10
+ export declare const ShowButton: React.FC<ShowButtonProps>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,24 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACrD,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,WAAW,CAAC,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG;IACxD;;;OAGG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;OAGG;IACH,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,WAAW,CAAC,CAAC;AAEvE,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC"}
1
+ import type { ButtonProps, UploadProps } from "antd";
2
+ import type { RefineCloneButtonProps, RefineCreateButtonProps, RefineDeleteButtonProps, RefineEditButtonProps, RefineExportButtonProps, RefineImportButtonProps, RefineListButtonProps, RefineRefreshButtonProps, RefineSaveButtonProps, RefineShowButtonProps } from "@refinedev/ui-types";
3
+ export type ShowButtonProps = RefineShowButtonProps<ButtonProps>;
4
+ export type CloneButtonProps = RefineCloneButtonProps<ButtonProps>;
5
+ export type CreateButtonProps = RefineCreateButtonProps<ButtonProps>;
6
+ export type DeleteButtonProps = RefineDeleteButtonProps<ButtonProps>;
7
+ export type EditButtonProps = RefineEditButtonProps<ButtonProps>;
8
+ export type ExportButtonProps = RefineExportButtonProps<ButtonProps>;
9
+ export type ImportButtonProps = RefineImportButtonProps & {
10
+ /**
11
+ * Sets the button type
12
+ * @type [UploadProps](https://ant.design/components/upload/#API)
13
+ */
14
+ uploadProps: UploadProps;
15
+ /**
16
+ * Sets props of the button
17
+ * @type [ButtonProps](https://ant.design/components/button/#API)
18
+ */
19
+ buttonProps: ButtonProps;
20
+ };
21
+ export type ListButtonProps = RefineListButtonProps<ButtonProps>;
22
+ export type RefreshButtonProps = RefineRefreshButtonProps<ButtonProps>;
23
+ export type SaveButtonProps = RefineSaveButtonProps<ButtonProps>;
24
+ //# sourceMappingURL=types.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/create/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqHxC,CAAC"}
1
+ import React from "react";
2
+ import type { CreateProps } from "../types";
3
+ /**
4
+ * `<Create>` provides us a layout to display the page.
5
+ * It does not contain any logic but adds extra functionalities like action buttons and giving titles to the page.
6
+ *
7
+ * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/basic-views/create} for more details.
8
+ */
9
+ export declare const Create: React.FC<CreateProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/edit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6B1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+LpC,CAAC"}
1
+ import React from "react";
2
+ import type { EditProps } from "../types";
3
+ /**
4
+ * `<Edit>` provides us a layout for displaying the page.
5
+ * It does not contain any logic but adds extra functionalities like a refresh button.
6
+ *
7
+ * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/basic-views/edit} for more details.
8
+ */
9
+ export declare const Edit: React.FC<EditProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/crud/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,cAAc,SAAS,CAAC"}
1
+ export { List } from "./list";
2
+ export { Create } from "./create";
3
+ export { Edit } from "./edit";
4
+ export { Show } from "./show";
5
+ export * from "./types";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAwFpC,CAAC"}
1
+ import React from "react";
2
+ import type { ListProps } from "../types";
3
+ /**
4
+ * `<List>` provides us a layout for displaying the page.
5
+ * It does not contain any logic but adds extra functionalities like a refresh button.
6
+ *
7
+ * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/basic-views/list} for more details.
8
+ */
9
+ export declare const List: React.FC<ListProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA2KpC,CAAC"}
1
+ import React from "react";
2
+ import type { ShowProps } from "../types";
3
+ /**
4
+ * `<Show>` provides us a layout for displaying the page.
5
+ * It does not contain any logic but adds extra functionalities like a refresh button.
6
+ *
7
+ * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/basic-views/show} for more details.
8
+ */
9
+ export declare const Show: React.FC<ShowProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/crud/types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG,qBAAqB,CAC7C,eAAe,EACf,UAAU,EACV,UAAU,EACV,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,EAC7E,eAAe,EACf,SAAS,CACV,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,mBAAmB,CACzC,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,EAC7E,eAAe,EACf,SAAS,EACT,EAAE,EACF,kBAAkB,EAClB,eAAe,CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,mBAAmB,CACzC,iBAAiB,EACjB,UAAU,EACV,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,EAC7E,eAAe,EACf,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAC9E,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,mBAAmB,CACzC,UAAU,EACV,UAAU,EACV,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,EAC7E,eAAe,EACf,SAAS,EACT,EAAE,EACF,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,CAChB,CAAC"}
1
+ /// <reference types="react" />
2
+ import type { CardProps, SpaceProps } from "antd";
3
+ import type { CreateButtonProps, DeleteButtonProps, EditButtonProps, ListButtonProps, RefreshButtonProps, SaveButtonProps } from "../buttons/types";
4
+ import type { RefineCrudCreateProps, RefineCrudEditProps, RefineCrudListProps, RefineCrudShowProps } from "@refinedev/ui-types";
5
+ import type { PageHeaderProps } from "../pageHeader";
6
+ export type CreateProps = RefineCrudCreateProps<SaveButtonProps, SpaceProps, SpaceProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PageHeaderProps, CardProps>;
7
+ export type EditProps = RefineCrudEditProps<SaveButtonProps, DeleteButtonProps, SpaceProps, SpaceProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PageHeaderProps, CardProps, {}, RefreshButtonProps, ListButtonProps>;
8
+ export type ListProps = RefineCrudListProps<CreateButtonProps, SpaceProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PageHeaderProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
9
+ export type ShowProps = RefineCrudShowProps<SpaceProps, SpaceProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PageHeaderProps, CardProps, {}, EditButtonProps, DeleteButtonProps, RefreshButtonProps, ListButtonProps>;
10
+ //# sourceMappingURL=types.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/boolean/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAepD,CAAC"}
1
+ import React from "react";
2
+ import type { BooleanFieldProps } from "../types";
3
+ /**
4
+ * This field is used to display boolean values. It uses the {@link https://ant.design/components/tooltip/#header `<Tooltip>`} values from Ant Design.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/boolean} for more details.
7
+ */
8
+ export declare const BooleanField: React.FC<BooleanFieldProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/date/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiB9C,CAAC"}
1
+ import React from "react";
2
+ import type { DateFieldProps } from "../types";
3
+ /**
4
+ * This field is used to display dates. It uses {@link https://day.js.org/docs/en/display/format `Day.js`} to display date format.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/date} for more details.
7
+ */
8
+ export declare const DateField: React.FC<DateFieldProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/email/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAMhD,CAAC"}
1
+ import React from "react";
2
+ import type { EmailFieldProps } from "../types";
3
+ /**
4
+ * This field is used to display email values. It uses the {@link https://ant.design/components/typography/#FAQ `<Link>`} component
5
+ * of {@link https://ant.design/components/typography `<Typography>`} from Ant Design.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/email} for more details.
8
+ */
9
+ export declare const EmailField: React.FC<EmailFieldProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/file/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAU9C,CAAC"}
1
+ import React from "react";
2
+ import type { FileFieldProps } from "../types";
3
+ /**
4
+ * This field is used to display files and uses {@link https://ant.design/components/typography `<Typography.Link>`} from Ant Design.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/file} for more details.
7
+ */
8
+ export declare const FileField: React.FC<FileFieldProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/image/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAMhD,CAAC"}
1
+ import React from "react";
2
+ import type { ImageFieldProps } from "../types";
3
+ /**
4
+ * This field is used to display images and uses {@link https://ant.design/components/image/#header `<Image>`} from Ant Design.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/image} for more details.
7
+ */
8
+ export declare const ImageField: React.FC<ImageFieldProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,12 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/fields/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,cAAc,SAAS,CAAC"}
1
+ export { TextField } from "./text";
2
+ export { TagField } from "./tag";
3
+ export { EmailField } from "./email";
4
+ export { ImageField } from "./image";
5
+ export { BooleanField } from "./boolean";
6
+ export { DateField } from "./date";
7
+ export { FileField } from "./file";
8
+ export { UrlField } from "./url";
9
+ export { NumberField } from "./number";
10
+ export { MarkdownField } from "./markdown";
11
+ export * from "./types";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/markdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAW5D,CAAC"}
1
+ import React from "react";
2
+ import type { RefineFieldMarkdownProps } from "../types";
3
+ /**
4
+ * This field lets you display markdown content. It supports {@link https://github.github.com/gfm/ GitHub Flavored Markdown}.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/markdown} for more details.
7
+ */
8
+ export declare const MarkdownField: React.FC<RefineFieldMarkdownProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/number/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAelD,CAAC"}
1
+ import React from "react";
2
+ import type { NumberFieldProps } from "../types";
3
+ /**
4
+ * This field is used to display a number formatted according to the browser locale, right aligned. and uses {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl `Intl`} to display date format.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/number} for more details.
7
+ */
8
+ export declare const NumberField: React.FC<NumberFieldProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAE5C,CAAC"}
1
+ import React from "react";
2
+ import type { TagFieldProps } from "../types";
3
+ /**
4
+ * This field lets you display a value in a tag. It uses Ant Design's {@link https://ant.design/components/tag/ `<Tag>`} component.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/tag} for more details.
7
+ */
8
+ export declare const TagField: React.FC<TagFieldProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAE9C,CAAC"}
1
+ import React from "react";
2
+ import type { TextFieldProps } from "../types";
3
+ /**
4
+ * This field lets you show basic text. It uses Ant Design's {@link https://ant.design/components/typography/#Typography.Text `<Typography.Text>`} component.
5
+ *
6
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/text} for more details.
7
+ */
8
+ export declare const TextField: React.FC<TextFieldProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,20 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/fields/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,IAAI,4BAA4B,EACxD,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,CACrD,OAAO,EACP,oBAAoB,CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAE1E,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG,qBAAqB,CACjD,MAAM,GAAG,SAAS,EAClB,UAAU,EACV;IACE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CACF,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,4BAA4B,CACjE,MAAM,GAAG,SAAS,CACnB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;AAE7E,MAAM,MAAM,aAAa,GAAG,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAExE,MAAM,MAAM,aAAa,GAAG,mBAAmB,CAAC,MAAM,GAAG,SAAS,EAAE,SAAS,CAAC,CAAC"}
1
+ import type { ReactChild, ReactNode } from "react";
2
+ import type { ConfigType } from "dayjs";
3
+ import type { RefineFieldBooleanProps, RefineFieldDateProps, RefineFieldEmailProps, RefineFieldFileProps, RefineFieldImageProps, RefineFieldMarkdownProps as BaseRefineFieldMarkdownProps, RefineFieldNumberProps, RefineFieldTagProps, RefineFieldTextProps, RefineFieldUrlProps } from "@refinedev/ui-types";
4
+ import type { ImageProps, TagProps } from "antd";
5
+ import type { AbstractTooltipProps } from "antd/lib/tooltip";
6
+ import type { TextProps } from "antd/lib/typography/Text";
7
+ import type { LinkProps } from "antd/lib/typography/Link";
8
+ export type BooleanFieldProps = RefineFieldBooleanProps<unknown, AbstractTooltipProps>;
9
+ export type DateFieldProps = RefineFieldDateProps<ConfigType, TextProps>;
10
+ export type EmailFieldProps = RefineFieldEmailProps<ReactNode, LinkProps>;
11
+ export type FileFieldProps = RefineFieldFileProps<LinkProps>;
12
+ export type ImageFieldProps = RefineFieldImageProps<string | undefined, ImageProps, {
13
+ imageTitle?: string;
14
+ }>;
15
+ export type RefineFieldMarkdownProps = BaseRefineFieldMarkdownProps<string | undefined>;
16
+ export type NumberFieldProps = RefineFieldNumberProps<ReactChild, TextProps>;
17
+ export type TagFieldProps = RefineFieldTagProps<ReactNode, TagProps>;
18
+ export type TextFieldProps = RefineFieldTextProps<ReactNode, TextProps>;
19
+ export type UrlFieldProps = RefineFieldUrlProps<string | undefined, LinkProps>;
20
+ //# sourceMappingURL=types.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/url/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAU5C,CAAC"}
1
+ import React from "react";
2
+ import type { UrlFieldProps } from "../types";
3
+ /**
4
+ * This field lets you embed a link. It uses Ant Design's {@link https://ant.design/components/typography/ `<Typography.Link>`} component.
5
+ * You can pass a URL in its `value` property and you can show a text in its place by passing any `children`.
6
+ *
7
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/url} for more details.
8
+ */
9
+ export declare const UrlField: React.FC<UrlFieldProps>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,24 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,cAAc,sBAAsB,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,cAAc,wBAAwB,CAAC;AAEvC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC"}
1
+ export { Layout } from "./layout";
2
+ export { Header } from "./layout/header";
3
+ export { Sider } from "./layout/sider";
4
+ export { Title } from "./layout/title";
5
+ export * from "./layout/types";
6
+ export { ThemedLayout } from "./themedLayout";
7
+ export { ThemedHeader } from "./themedLayout/header";
8
+ export { ThemedSider } from "./themedLayout/sider";
9
+ export { ThemedTitle } from "./themedLayout/title";
10
+ export * from "./themedLayout/types";
11
+ export { ThemedLayoutV2 } from "./themedLayoutV2";
12
+ export { ThemedHeaderV2 } from "./themedLayoutV2/header";
13
+ export { ThemedSiderV2 } from "./themedLayoutV2/sider";
14
+ export { ThemedTitleV2 } from "./themedLayoutV2/title";
15
+ export * from "./themedLayoutV2/types";
16
+ export * from "./buttons";
17
+ export * from "./crud";
18
+ export * from "./fields";
19
+ export * from "./table";
20
+ export * from "./pages";
21
+ export * from "./breadcrumb";
22
+ export * from "./pageHeader";
23
+ export * from "./autoSaveIndicator";
24
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,4 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA4BpD,CAAC"}
1
+ import React from "react";
2
+ import type { RefineLayoutHeaderProps } from "../types";
3
+ export declare const Header: React.FC<RefineLayoutHeaderProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,8 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD;;;IAGI;AACJ,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiCpD,CAAC"}
1
+ import React from "react";
2
+ import type { RefineLayoutLayoutProps } from "./types";
3
+ /**
4
+ * @deprecated use `<ThemedLayout>` instead with 100% backward compatibility.
5
+ * @see https://refine.dev/docs/api-reference/antd/components/antd-themed-layout
6
+ **/
7
+ export declare const Layout: React.FC<RefineLayoutLayoutProps>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,4 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA4BxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAqPlD,CAAC"}
1
+ import React from "react";
2
+ import type { RefineLayoutSiderProps } from "../types";
3
+ export declare const Sider: React.FC<RefineLayoutSiderProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,3 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sider/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,kBAAkB,EAAE,aAMhC,CAAC"}
1
+ import type { CSSProperties } from "react";
2
+ export declare const drawerButtonStyles: CSSProperties;
3
+ //# sourceMappingURL=styles.d.ts.map