warqadui 0.0.63 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +156 -4
- package/dist/index.d.ts +156 -4
- package/dist/index.js +4853 -1048
- package/dist/index.mjs +4800 -1000
- package/dist/styles.js +160 -6
- package/dist/styles.mjs +160 -6
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -5,6 +5,7 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
5
5
|
import { FieldValues, Path, UseFormReturn } from 'react-hook-form';
|
|
6
6
|
import { ColumnDef, SortingState, ColumnFiltersState, RowData } from '@tanstack/react-table';
|
|
7
7
|
import * as z from 'zod';
|
|
8
|
+
import { z as z$1 } from 'zod';
|
|
8
9
|
import * as react_to_print from 'react-to-print';
|
|
9
10
|
import { UploadFile } from 'antd';
|
|
10
11
|
import * as zustand from 'zustand';
|
|
@@ -127,9 +128,11 @@ declare const CodeBlock: React__default.FC<CodeBlockProps>;
|
|
|
127
128
|
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
128
129
|
children: React__default.ReactNode;
|
|
129
130
|
variant?: "default" | "flat" | "glass";
|
|
131
|
+
isLoading?: boolean;
|
|
132
|
+
loadingText?: string;
|
|
130
133
|
}
|
|
131
134
|
declare const Card: {
|
|
132
|
-
({ children, className, variant, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
135
|
+
({ children, className, variant, isLoading, loadingText, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
133
136
|
Header: ({ children, className, }: {
|
|
134
137
|
children: React__default.ReactNode;
|
|
135
138
|
className?: string;
|
|
@@ -182,6 +185,73 @@ interface ModalProps {
|
|
|
182
185
|
}
|
|
183
186
|
declare const Modal: React__default.FC<ModalProps>;
|
|
184
187
|
|
|
188
|
+
interface ConfirmModalProps {
|
|
189
|
+
/**
|
|
190
|
+
* The trigger component that will open the modal when clicked.
|
|
191
|
+
*/
|
|
192
|
+
children: React__default.ReactNode;
|
|
193
|
+
/**
|
|
194
|
+
* Title shown at the top of the modal.
|
|
195
|
+
*/
|
|
196
|
+
title: string;
|
|
197
|
+
/**
|
|
198
|
+
* Detailed message describing the action being confirmed.
|
|
199
|
+
*/
|
|
200
|
+
description: string;
|
|
201
|
+
/**
|
|
202
|
+
* The word the user must type to enable the confirm button.
|
|
203
|
+
* @default "delete"
|
|
204
|
+
*/
|
|
205
|
+
confirmationWord?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Callback fired when the cancel button is clicked or the modal is closed.
|
|
208
|
+
*/
|
|
209
|
+
onCancel?: () => void | Promise<void>;
|
|
210
|
+
/**
|
|
211
|
+
* Async function called when the user confirms.
|
|
212
|
+
* If it resolves, the modal closes automatically (unless it explicitly returns false).
|
|
213
|
+
* If it rejects, the modal stays open.
|
|
214
|
+
*/
|
|
215
|
+
onSubmit: () => Promise<void | boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* Label for the confirm button.
|
|
218
|
+
* @default "Confirm"
|
|
219
|
+
*/
|
|
220
|
+
confirmButtonText?: string;
|
|
221
|
+
/**
|
|
222
|
+
* Label for the cancel button.
|
|
223
|
+
* @default "Cancel"
|
|
224
|
+
*/
|
|
225
|
+
cancelButtonText?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Visual variant of the confirm button.
|
|
228
|
+
* @default "danger"
|
|
229
|
+
*/
|
|
230
|
+
variant?: "danger" | "primary" | "warning";
|
|
231
|
+
/**
|
|
232
|
+
* Width of the modal in pixels.
|
|
233
|
+
* @default 500
|
|
234
|
+
*/
|
|
235
|
+
width?: number;
|
|
236
|
+
/**
|
|
237
|
+
* Optional controlled open state.
|
|
238
|
+
*/
|
|
239
|
+
isOpen?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Optional controlled close handler.
|
|
242
|
+
*/
|
|
243
|
+
onClose?: () => void;
|
|
244
|
+
/**
|
|
245
|
+
* Optional loading state.
|
|
246
|
+
*/
|
|
247
|
+
isLoading?: boolean;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* A reusable confirmation modal component that wraps any element and triggers
|
|
251
|
+
* a confirmation dialog with a required word input (e.g. for destructive actions).
|
|
252
|
+
*/
|
|
253
|
+
declare const ConfirmModal: React__default.FC<ConfirmModalProps>;
|
|
254
|
+
|
|
185
255
|
interface PageHeaderProps {
|
|
186
256
|
title: string;
|
|
187
257
|
description?: string;
|
|
@@ -608,10 +678,11 @@ declare const useLogin: (props: UseLoginProps) => {
|
|
|
608
678
|
};
|
|
609
679
|
|
|
610
680
|
interface DropdownItem {
|
|
611
|
-
label:
|
|
681
|
+
label: React__default.ReactNode;
|
|
612
682
|
icon?: React__default.ReactNode;
|
|
613
683
|
onClick?: () => void | Promise<void>;
|
|
614
684
|
disabled?: boolean;
|
|
685
|
+
loading?: boolean;
|
|
615
686
|
className?: string;
|
|
616
687
|
variant?: "default" | "danger";
|
|
617
688
|
}
|
|
@@ -773,7 +844,7 @@ declare const useTransaction: ({ url, v, delay, params, dateFilter, }: {
|
|
|
773
844
|
data: any;
|
|
774
845
|
isLoading: boolean;
|
|
775
846
|
get: FetchFunction;
|
|
776
|
-
reload: () =>
|
|
847
|
+
reload: () => Promise<any>;
|
|
777
848
|
error: string | null;
|
|
778
849
|
date: String | null | undefined;
|
|
779
850
|
};
|
|
@@ -1039,4 +1110,85 @@ declare const useAuth: () => {
|
|
|
1039
1110
|
can: (key: string) => boolean;
|
|
1040
1111
|
};
|
|
1041
1112
|
|
|
1042
|
-
|
|
1113
|
+
declare function Accounts({ v, url }: {
|
|
1114
|
+
v?: 1 | 2;
|
|
1115
|
+
url?: string;
|
|
1116
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1117
|
+
|
|
1118
|
+
declare function AccountForm(): react_jsx_runtime.JSX.Element;
|
|
1119
|
+
|
|
1120
|
+
declare const createAccountSchema: z$1.ZodObject<{
|
|
1121
|
+
name: z$1.ZodString;
|
|
1122
|
+
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodOptional<z$1.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>;
|
|
1123
|
+
phoneNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
1124
|
+
sex: z$1.ZodEnum<["male", "female"]>;
|
|
1125
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1126
|
+
name: string;
|
|
1127
|
+
sex: "male" | "female";
|
|
1128
|
+
email?: string | undefined;
|
|
1129
|
+
phoneNumber?: string | undefined;
|
|
1130
|
+
}, {
|
|
1131
|
+
name: string;
|
|
1132
|
+
sex: "male" | "female";
|
|
1133
|
+
email?: string | undefined;
|
|
1134
|
+
phoneNumber?: string | undefined;
|
|
1135
|
+
}>;
|
|
1136
|
+
type CreateAccountSchemaType = z$1.infer<typeof createAccountSchema>;
|
|
1137
|
+
|
|
1138
|
+
declare function LinkUser({ type: initialType }: {
|
|
1139
|
+
type?: string;
|
|
1140
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1141
|
+
|
|
1142
|
+
declare function Users(): react_jsx_runtime.JSX.Element;
|
|
1143
|
+
|
|
1144
|
+
declare function ResetPasswordPage(): react_jsx_runtime.JSX.Element;
|
|
1145
|
+
|
|
1146
|
+
declare const linkUserSchema: z$1.ZodObject<{
|
|
1147
|
+
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1148
|
+
name: z$1.ZodString;
|
|
1149
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1150
|
+
name: string;
|
|
1151
|
+
email: string;
|
|
1152
|
+
}, {
|
|
1153
|
+
name: string;
|
|
1154
|
+
email: string;
|
|
1155
|
+
}>;
|
|
1156
|
+
declare const verifyUserEmailSchema: z$1.ZodObject<{
|
|
1157
|
+
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1158
|
+
token: z$1.ZodString;
|
|
1159
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1160
|
+
email: string;
|
|
1161
|
+
token: string;
|
|
1162
|
+
}, {
|
|
1163
|
+
email: string;
|
|
1164
|
+
token: string;
|
|
1165
|
+
}>;
|
|
1166
|
+
declare const updateUserEmailSchema: z$1.ZodObject<{
|
|
1167
|
+
currentEmail: z$1.ZodOptional<z$1.ZodString>;
|
|
1168
|
+
newEmail: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1169
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1170
|
+
newEmail: string;
|
|
1171
|
+
currentEmail?: string | undefined;
|
|
1172
|
+
}, {
|
|
1173
|
+
newEmail: string;
|
|
1174
|
+
currentEmail?: string | undefined;
|
|
1175
|
+
}>;
|
|
1176
|
+
declare const resetPasswordSchema: z$1.ZodObject<{
|
|
1177
|
+
email: z$1.ZodOptional<z$1.ZodString>;
|
|
1178
|
+
token: z$1.ZodString;
|
|
1179
|
+
password: z$1.ZodString;
|
|
1180
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1181
|
+
password: string;
|
|
1182
|
+
token: string;
|
|
1183
|
+
email?: string | undefined;
|
|
1184
|
+
}, {
|
|
1185
|
+
password: string;
|
|
1186
|
+
token: string;
|
|
1187
|
+
email?: string | undefined;
|
|
1188
|
+
}>;
|
|
1189
|
+
type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
|
|
1190
|
+
type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
|
|
1191
|
+
type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
|
|
1192
|
+
type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
|
|
1193
|
+
|
|
1194
|
+
export { AccountForm, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, Branding, type BrandingProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CategoryCard, type CategoryItem, ClassicSpin, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type FetchFunction, type FetchProps, Fields, Guard, InfoGrid, Input, type InputProps, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, type NavItem, type NavItems, type Option, OverlaySpin, PageA4, PageHeader, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProfileCard, type ProfileCardProps, ProfileDropdown, type ProfileDropdownItem, type ProfileDropdownProps, ProfileView, type ProfileViewInfoItem, type ProfileViewProps, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, type StorageManager, type StoreConfig, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, Users, Views, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
5
5
|
import { FieldValues, Path, UseFormReturn } from 'react-hook-form';
|
|
6
6
|
import { ColumnDef, SortingState, ColumnFiltersState, RowData } from '@tanstack/react-table';
|
|
7
7
|
import * as z from 'zod';
|
|
8
|
+
import { z as z$1 } from 'zod';
|
|
8
9
|
import * as react_to_print from 'react-to-print';
|
|
9
10
|
import { UploadFile } from 'antd';
|
|
10
11
|
import * as zustand from 'zustand';
|
|
@@ -127,9 +128,11 @@ declare const CodeBlock: React__default.FC<CodeBlockProps>;
|
|
|
127
128
|
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
128
129
|
children: React__default.ReactNode;
|
|
129
130
|
variant?: "default" | "flat" | "glass";
|
|
131
|
+
isLoading?: boolean;
|
|
132
|
+
loadingText?: string;
|
|
130
133
|
}
|
|
131
134
|
declare const Card: {
|
|
132
|
-
({ children, className, variant, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
135
|
+
({ children, className, variant, isLoading, loadingText, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
133
136
|
Header: ({ children, className, }: {
|
|
134
137
|
children: React__default.ReactNode;
|
|
135
138
|
className?: string;
|
|
@@ -182,6 +185,73 @@ interface ModalProps {
|
|
|
182
185
|
}
|
|
183
186
|
declare const Modal: React__default.FC<ModalProps>;
|
|
184
187
|
|
|
188
|
+
interface ConfirmModalProps {
|
|
189
|
+
/**
|
|
190
|
+
* The trigger component that will open the modal when clicked.
|
|
191
|
+
*/
|
|
192
|
+
children: React__default.ReactNode;
|
|
193
|
+
/**
|
|
194
|
+
* Title shown at the top of the modal.
|
|
195
|
+
*/
|
|
196
|
+
title: string;
|
|
197
|
+
/**
|
|
198
|
+
* Detailed message describing the action being confirmed.
|
|
199
|
+
*/
|
|
200
|
+
description: string;
|
|
201
|
+
/**
|
|
202
|
+
* The word the user must type to enable the confirm button.
|
|
203
|
+
* @default "delete"
|
|
204
|
+
*/
|
|
205
|
+
confirmationWord?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Callback fired when the cancel button is clicked or the modal is closed.
|
|
208
|
+
*/
|
|
209
|
+
onCancel?: () => void | Promise<void>;
|
|
210
|
+
/**
|
|
211
|
+
* Async function called when the user confirms.
|
|
212
|
+
* If it resolves, the modal closes automatically (unless it explicitly returns false).
|
|
213
|
+
* If it rejects, the modal stays open.
|
|
214
|
+
*/
|
|
215
|
+
onSubmit: () => Promise<void | boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* Label for the confirm button.
|
|
218
|
+
* @default "Confirm"
|
|
219
|
+
*/
|
|
220
|
+
confirmButtonText?: string;
|
|
221
|
+
/**
|
|
222
|
+
* Label for the cancel button.
|
|
223
|
+
* @default "Cancel"
|
|
224
|
+
*/
|
|
225
|
+
cancelButtonText?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Visual variant of the confirm button.
|
|
228
|
+
* @default "danger"
|
|
229
|
+
*/
|
|
230
|
+
variant?: "danger" | "primary" | "warning";
|
|
231
|
+
/**
|
|
232
|
+
* Width of the modal in pixels.
|
|
233
|
+
* @default 500
|
|
234
|
+
*/
|
|
235
|
+
width?: number;
|
|
236
|
+
/**
|
|
237
|
+
* Optional controlled open state.
|
|
238
|
+
*/
|
|
239
|
+
isOpen?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Optional controlled close handler.
|
|
242
|
+
*/
|
|
243
|
+
onClose?: () => void;
|
|
244
|
+
/**
|
|
245
|
+
* Optional loading state.
|
|
246
|
+
*/
|
|
247
|
+
isLoading?: boolean;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* A reusable confirmation modal component that wraps any element and triggers
|
|
251
|
+
* a confirmation dialog with a required word input (e.g. for destructive actions).
|
|
252
|
+
*/
|
|
253
|
+
declare const ConfirmModal: React__default.FC<ConfirmModalProps>;
|
|
254
|
+
|
|
185
255
|
interface PageHeaderProps {
|
|
186
256
|
title: string;
|
|
187
257
|
description?: string;
|
|
@@ -608,10 +678,11 @@ declare const useLogin: (props: UseLoginProps) => {
|
|
|
608
678
|
};
|
|
609
679
|
|
|
610
680
|
interface DropdownItem {
|
|
611
|
-
label:
|
|
681
|
+
label: React__default.ReactNode;
|
|
612
682
|
icon?: React__default.ReactNode;
|
|
613
683
|
onClick?: () => void | Promise<void>;
|
|
614
684
|
disabled?: boolean;
|
|
685
|
+
loading?: boolean;
|
|
615
686
|
className?: string;
|
|
616
687
|
variant?: "default" | "danger";
|
|
617
688
|
}
|
|
@@ -773,7 +844,7 @@ declare const useTransaction: ({ url, v, delay, params, dateFilter, }: {
|
|
|
773
844
|
data: any;
|
|
774
845
|
isLoading: boolean;
|
|
775
846
|
get: FetchFunction;
|
|
776
|
-
reload: () =>
|
|
847
|
+
reload: () => Promise<any>;
|
|
777
848
|
error: string | null;
|
|
778
849
|
date: String | null | undefined;
|
|
779
850
|
};
|
|
@@ -1039,4 +1110,85 @@ declare const useAuth: () => {
|
|
|
1039
1110
|
can: (key: string) => boolean;
|
|
1040
1111
|
};
|
|
1041
1112
|
|
|
1042
|
-
|
|
1113
|
+
declare function Accounts({ v, url }: {
|
|
1114
|
+
v?: 1 | 2;
|
|
1115
|
+
url?: string;
|
|
1116
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1117
|
+
|
|
1118
|
+
declare function AccountForm(): react_jsx_runtime.JSX.Element;
|
|
1119
|
+
|
|
1120
|
+
declare const createAccountSchema: z$1.ZodObject<{
|
|
1121
|
+
name: z$1.ZodString;
|
|
1122
|
+
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodOptional<z$1.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>;
|
|
1123
|
+
phoneNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
1124
|
+
sex: z$1.ZodEnum<["male", "female"]>;
|
|
1125
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1126
|
+
name: string;
|
|
1127
|
+
sex: "male" | "female";
|
|
1128
|
+
email?: string | undefined;
|
|
1129
|
+
phoneNumber?: string | undefined;
|
|
1130
|
+
}, {
|
|
1131
|
+
name: string;
|
|
1132
|
+
sex: "male" | "female";
|
|
1133
|
+
email?: string | undefined;
|
|
1134
|
+
phoneNumber?: string | undefined;
|
|
1135
|
+
}>;
|
|
1136
|
+
type CreateAccountSchemaType = z$1.infer<typeof createAccountSchema>;
|
|
1137
|
+
|
|
1138
|
+
declare function LinkUser({ type: initialType }: {
|
|
1139
|
+
type?: string;
|
|
1140
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1141
|
+
|
|
1142
|
+
declare function Users(): react_jsx_runtime.JSX.Element;
|
|
1143
|
+
|
|
1144
|
+
declare function ResetPasswordPage(): react_jsx_runtime.JSX.Element;
|
|
1145
|
+
|
|
1146
|
+
declare const linkUserSchema: z$1.ZodObject<{
|
|
1147
|
+
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1148
|
+
name: z$1.ZodString;
|
|
1149
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1150
|
+
name: string;
|
|
1151
|
+
email: string;
|
|
1152
|
+
}, {
|
|
1153
|
+
name: string;
|
|
1154
|
+
email: string;
|
|
1155
|
+
}>;
|
|
1156
|
+
declare const verifyUserEmailSchema: z$1.ZodObject<{
|
|
1157
|
+
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1158
|
+
token: z$1.ZodString;
|
|
1159
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1160
|
+
email: string;
|
|
1161
|
+
token: string;
|
|
1162
|
+
}, {
|
|
1163
|
+
email: string;
|
|
1164
|
+
token: string;
|
|
1165
|
+
}>;
|
|
1166
|
+
declare const updateUserEmailSchema: z$1.ZodObject<{
|
|
1167
|
+
currentEmail: z$1.ZodOptional<z$1.ZodString>;
|
|
1168
|
+
newEmail: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1169
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1170
|
+
newEmail: string;
|
|
1171
|
+
currentEmail?: string | undefined;
|
|
1172
|
+
}, {
|
|
1173
|
+
newEmail: string;
|
|
1174
|
+
currentEmail?: string | undefined;
|
|
1175
|
+
}>;
|
|
1176
|
+
declare const resetPasswordSchema: z$1.ZodObject<{
|
|
1177
|
+
email: z$1.ZodOptional<z$1.ZodString>;
|
|
1178
|
+
token: z$1.ZodString;
|
|
1179
|
+
password: z$1.ZodString;
|
|
1180
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1181
|
+
password: string;
|
|
1182
|
+
token: string;
|
|
1183
|
+
email?: string | undefined;
|
|
1184
|
+
}, {
|
|
1185
|
+
password: string;
|
|
1186
|
+
token: string;
|
|
1187
|
+
email?: string | undefined;
|
|
1188
|
+
}>;
|
|
1189
|
+
type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
|
|
1190
|
+
type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
|
|
1191
|
+
type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
|
|
1192
|
+
type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
|
|
1193
|
+
|
|
1194
|
+
export { AccountForm, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, Branding, type BrandingProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CategoryCard, type CategoryItem, ClassicSpin, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type FetchFunction, type FetchProps, Fields, Guard, InfoGrid, Input, type InputProps, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, type NavItem, type NavItems, type Option, OverlaySpin, PageA4, PageHeader, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProfileCard, type ProfileCardProps, ProfileDropdown, type ProfileDropdownItem, type ProfileDropdownProps, ProfileView, type ProfileViewInfoItem, type ProfileViewProps, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, type StorageManager, type StoreConfig, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, Users, Views, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
|