warqadui 0.0.70 → 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
@@ -1123,20 +1123,14 @@ declare const createAccountSchema: z$1.ZodObject<{
1123
1123
  email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodOptional<z$1.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>;
1124
1124
  phoneNumber: z$1.ZodOptional<z$1.ZodString>;
1125
1125
  sex: z$1.ZodEnum<["male", "female"]>;
1126
- owner: z$1.ZodString;
1127
- host: z$1.ZodString;
1128
1126
  }, "strip", z$1.ZodTypeAny, {
1129
1127
  name: string;
1130
1128
  sex: "male" | "female";
1131
- owner: string;
1132
- host: string;
1133
1129
  email?: string | undefined;
1134
1130
  phoneNumber?: string | undefined;
1135
1131
  }, {
1136
1132
  name: string;
1137
1133
  sex: "male" | "female";
1138
- owner: string;
1139
- host: string;
1140
1134
  email?: string | undefined;
1141
1135
  phoneNumber?: string | undefined;
1142
1136
  }>;
@@ -1146,7 +1140,13 @@ declare function LinkUser({ type: initialType }: {
1146
1140
  type?: string;
1147
1141
  }): react_jsx_runtime.JSX.Element;
1148
1142
 
1149
- 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;
1150
1150
 
1151
1151
  declare function ResetPasswordPage(): react_jsx_runtime.JSX.Element;
1152
1152
 
@@ -1213,9 +1213,23 @@ declare const resetPasswordSchema: z$1.ZodObject<{
1213
1213
  token: string;
1214
1214
  email?: string | undefined;
1215
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
+ }>;
1216
1229
  type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
1217
1230
  type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
1218
1231
  type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
1219
1232
  type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
1233
+ type createUserSchemaType = z$1.infer<typeof createUserSchema>;
1220
1234
 
1221
- 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
@@ -1123,20 +1123,14 @@ declare const createAccountSchema: z$1.ZodObject<{
1123
1123
  email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodOptional<z$1.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>;
1124
1124
  phoneNumber: z$1.ZodOptional<z$1.ZodString>;
1125
1125
  sex: z$1.ZodEnum<["male", "female"]>;
1126
- owner: z$1.ZodString;
1127
- host: z$1.ZodString;
1128
1126
  }, "strip", z$1.ZodTypeAny, {
1129
1127
  name: string;
1130
1128
  sex: "male" | "female";
1131
- owner: string;
1132
- host: string;
1133
1129
  email?: string | undefined;
1134
1130
  phoneNumber?: string | undefined;
1135
1131
  }, {
1136
1132
  name: string;
1137
1133
  sex: "male" | "female";
1138
- owner: string;
1139
- host: string;
1140
1134
  email?: string | undefined;
1141
1135
  phoneNumber?: string | undefined;
1142
1136
  }>;
@@ -1146,7 +1140,13 @@ declare function LinkUser({ type: initialType }: {
1146
1140
  type?: string;
1147
1141
  }): react_jsx_runtime.JSX.Element;
1148
1142
 
1149
- 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;
1150
1150
 
1151
1151
  declare function ResetPasswordPage(): react_jsx_runtime.JSX.Element;
1152
1152
 
@@ -1213,9 +1213,23 @@ declare const resetPasswordSchema: z$1.ZodObject<{
1213
1213
  token: string;
1214
1214
  email?: string | undefined;
1215
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
+ }>;
1216
1229
  type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
1217
1230
  type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
1218
1231
  type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
1219
1232
  type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
1233
+ type createUserSchemaType = z$1.infer<typeof createUserSchema>;
1220
1234
 
1221
- 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 };