@refinedev/antd 5.39.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 +189 -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 +5 -5
  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,194 @@
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
+
82
+ ## 5.40.0
83
+
84
+ ### Minor Changes
85
+
86
+ - [`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046) Thanks [@BatuhanW](https://github.com/BatuhanW)! - feat: use global values by default for app title and app icon
87
+
88
+ Now `<Refine />` component accepts `options.title` prop that can be used to set app icon and app name globally. For `<ThemedLayoutV2 />` and `<AuthPage />` components, these values will be used by default. While users can use `options.title` to pass global values for app icon and app name, option to override through `<ThemedTitleV2 />` component is still available for users to override these values in specific use cases.
89
+
90
+ ```tsx
91
+ import { Refine } from "@refinedev/core";
92
+
93
+ const MyIcon = () => <svg>{/* ... */}</svg>;
94
+
95
+ const App = () => {
96
+ return (
97
+ <Refine
98
+ options={{
99
+ title: {
100
+ icon: <MyIcon />,
101
+ text: "Refine App",
102
+ },
103
+ }}
104
+ >
105
+ {/* ... */}
106
+ </Refine>
107
+ );
108
+ };
109
+ ```
110
+
111
+ Then, `<ThemedLayoutV2 />` and `<AuthPage />` components will display `<MyIcon />` and `"Refine App"` as app icon and app name respectively.
112
+
113
+ ### Patch Changes
114
+
115
+ - [`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046) Thanks [@BatuhanW](https://github.com/BatuhanW)! - lock the `ant-design/icons` version to `5.0.1`
116
+
117
+ - [`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046) Thanks [@BatuhanW](https://github.com/BatuhanW)! - chore: unpin `antd` version that was causing build issues
118
+
119
+ With `antd`'s `5.17.0` version, Next.js apps were stuck in the build process. To prevent this from breaking all Refine apps with Next.js, we've pinned the version to `5.16.5` as a workaround. Since then, the issue has been resolved by updating an internal dependency of `antd`, we no longer need to pin the version.
120
+
121
+ - [`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046) Thanks [@BatuhanW](https://github.com/BatuhanW)! - feat(antd): search form in useTable should work with syncWithLocation
122
+
123
+ Even though the form is managed by `useTable` hook from `@refinedev/antd`. It wasn't respecting the `syncWithLocation` prop to set values accordingly at initial render when registered fields are matching with the query params. Now it will look for matching fields and set values accordingly from synced filters.
124
+
125
+ - [`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046) Thanks [@BatuhanW](https://github.com/BatuhanW)! - fix: Filtering [`<Table />`](https://refine.dev/docs/ui-integrations/ant-design/hooks/use-table/) with [`<FilterDropdown />`](https://refine.dev/docs/ui-integrations/ant-design/components/filter-dropdown) and [`<DatePicker />`](https://ant.design/components/date-picker) doesn't work with `syncWithLocation`. #5933
126
+
127
+ feat: Added [`rangePickerFilterMapper`](https://refine.dev/docs/ui-integrations/ant-design/components/filter-dropdown/#rangepickerfiltermapper) utility function to convert `selectedKeys` to satisfy both the Refine and [`<DatePicker.RangePicker />`](https://ant.design/components/date-picker).
128
+
129
+ Usage example:
130
+
131
+ ```tsx
132
+ import { getDefaultFilter } from "@refinedev/core";
133
+ import {
134
+ DateField,
135
+ FilterDropdown,
136
+ rangePickerFilterMapper,
137
+ useTable,
138
+ } from "@refinedev/antd";
139
+ import { Table, DatePicker } from "antd";
140
+
141
+ export const Posts = () => {
142
+ const { tableProps, filters } = useTable({
143
+ filters: {
144
+ initial: [
145
+ {
146
+ field: "created_at",
147
+ value: ["2022-01-01", "2022-01-31"],
148
+ operator: "between",
149
+ },
150
+ ],
151
+ },
152
+ });
153
+
154
+ return (
155
+ <Table {...tableProps} rowKey="id">
156
+ <Table.Column dataIndex="id" title="ID" />
157
+ <Table.Column dataIndex="title" title="Title" />
158
+ <Table.Column
159
+ dataIndex="createdAt"
160
+ title="Created At"
161
+ filterDropdown={(props) => (
162
+ <FilterDropdown
163
+ {...props}
164
+ mapValue={(selectedKeys, event) => {
165
+ return rangePickerFilterMapper(selectedKeys, event);
166
+ }}
167
+ >
168
+ <DatePicker.RangePicker />
169
+ </FilterDropdown>
170
+ )}
171
+ defaultFilteredValue={getDefaultFilter(
172
+ "created_at",
173
+ filters,
174
+ "between",
175
+ )}
176
+ />
177
+ </Table>
178
+ );
179
+ };
180
+ ```
181
+
182
+ - [`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046) Thanks [@BatuhanW](https://github.com/BatuhanW)! - chore: added `type` qualifier to imports used as type only.
183
+
184
+ ```diff
185
+ - import { A } from "./example.ts";
186
+ + import type { A } from "./example.ts";
187
+ ```
188
+
189
+ - Updated dependencies [[`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046), [`6bd14228760d3e1e205ea9248e427f9afa2ec046`](https://github.com/refinedev/refine/commit/6bd14228760d3e1e205ea9248e427f9afa2ec046)]:
190
+ - @refinedev/ui-types@1.22.9
191
+
3
192
  ## 5.39.0
4
193
 
5
194
  ### 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