warqadui 0.0.71 → 0.0.72

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 CHANGED
@@ -1140,7 +1140,13 @@ declare function LinkUser({ type: initialType }: {
1140
1140
  type?: string;
1141
1141
  }): react_jsx_runtime.JSX.Element;
1142
1142
 
1143
- declare function Users(): react_jsx_runtime.JSX.Element;
1143
+ declare function Users({ app }: {
1144
+ app?: string;
1145
+ }): react_jsx_runtime.JSX.Element;
1146
+
1147
+ declare function UserForm({ app }: {
1148
+ app?: string;
1149
+ }): react_jsx_runtime.JSX.Element;
1144
1150
 
1145
1151
  declare function ResetPasswordPage(): react_jsx_runtime.JSX.Element;
1146
1152
 
@@ -1207,9 +1213,23 @@ declare const resetPasswordSchema: z$1.ZodObject<{
1207
1213
  token: string;
1208
1214
  email?: string | undefined;
1209
1215
  }>;
1216
+ declare const createUserSchema: z$1.ZodObject<{
1217
+ email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
1218
+ phoneNumber: z$1.ZodOptional<z$1.ZodString>;
1219
+ role: z$1.ZodEnum<["admin"]>;
1220
+ }, "strip", z$1.ZodTypeAny, {
1221
+ role: "admin";
1222
+ email: string;
1223
+ phoneNumber?: string | undefined;
1224
+ }, {
1225
+ role: "admin";
1226
+ email: string;
1227
+ phoneNumber?: string | undefined;
1228
+ }>;
1210
1229
  type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
1211
1230
  type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
1212
1231
  type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
1213
1232
  type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
1233
+ type createUserSchemaType = z$1.infer<typeof createUserSchema>;
1214
1234
 
1215
- 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, ProfilePage, 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, UserProfile, Users, Views, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
1235
+ 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, ProfilePage, 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, UserForm, UserProfile, Users, Views, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, createUserSchema, type createUserSchemaType, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
package/dist/index.d.ts CHANGED
@@ -1140,7 +1140,13 @@ declare function LinkUser({ type: initialType }: {
1140
1140
  type?: string;
1141
1141
  }): react_jsx_runtime.JSX.Element;
1142
1142
 
1143
- declare function Users(): react_jsx_runtime.JSX.Element;
1143
+ declare function Users({ app }: {
1144
+ app?: string;
1145
+ }): react_jsx_runtime.JSX.Element;
1146
+
1147
+ declare function UserForm({ app }: {
1148
+ app?: string;
1149
+ }): react_jsx_runtime.JSX.Element;
1144
1150
 
1145
1151
  declare function ResetPasswordPage(): react_jsx_runtime.JSX.Element;
1146
1152
 
@@ -1207,9 +1213,23 @@ declare const resetPasswordSchema: z$1.ZodObject<{
1207
1213
  token: string;
1208
1214
  email?: string | undefined;
1209
1215
  }>;
1216
+ declare const createUserSchema: z$1.ZodObject<{
1217
+ email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
1218
+ phoneNumber: z$1.ZodOptional<z$1.ZodString>;
1219
+ role: z$1.ZodEnum<["admin"]>;
1220
+ }, "strip", z$1.ZodTypeAny, {
1221
+ role: "admin";
1222
+ email: string;
1223
+ phoneNumber?: string | undefined;
1224
+ }, {
1225
+ role: "admin";
1226
+ email: string;
1227
+ phoneNumber?: string | undefined;
1228
+ }>;
1210
1229
  type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
1211
1230
  type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
1212
1231
  type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
1213
1232
  type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
1233
+ type createUserSchemaType = z$1.infer<typeof createUserSchema>;
1214
1234
 
1215
- 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, ProfilePage, 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, UserProfile, Users, Views, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
1235
+ 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, ProfilePage, 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, UserForm, UserProfile, Users, Views, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, createUserSchema, type createUserSchemaType, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };