warqadui 0.0.107 → 0.0.109

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
@@ -383,7 +383,7 @@ declare const Enums: {
383
383
  journalTypes: readonly ["journal"];
384
384
  viaTypes: readonly ["direct", "via account"];
385
385
  actionTypes: readonly ["credit", "debit"];
386
- transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock"];
386
+ transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china"];
387
387
  stockTypes: readonly ["pack", "product", "pack to product"];
388
388
  };
389
389
 
@@ -1025,7 +1025,7 @@ declare const CategoryCard: React__default.FC<{
1025
1025
  declare const Views: {
1026
1026
  Transaction: ({ id, type, close, reverseable, }: {
1027
1027
  id: string;
1028
- type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | undefined;
1028
+ type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | undefined;
1029
1029
  close: () => void;
1030
1030
  reverseable?: {
1031
1031
  reload: () => void;
@@ -1990,4 +1990,50 @@ declare const PosStockAdjustment: ({ type }: {
1990
1990
  type: StockType;
1991
1991
  }) => react_jsx_runtime.JSX.Element;
1992
1992
 
1993
- export { AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, BrandField, BrandForm, Branding, type BrandingProps, Brands, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Categories, CategoryCard, CategoryField, CategoryForm, type CategoryItem, ClassicSpin, ClothendStockAdjustment, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm, type JournalSchemaType, Journals, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm, type PaymentSchemaType, Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProductField, ProductForm, Products, 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, PosStockAdjustment as StockAdjustmentForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletReport, WalletStatements, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, type apiConfig, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, expenseSchema, forexTransferSchema, generatePdf, journalSchema, linkUserSchema, type linkUserSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
1993
+ declare function ForexDubaiToChina(): react_jsx_runtime.JSX.Element;
1994
+
1995
+ declare function ForexDubaiToChinaForm(): react_jsx_runtime.JSX.Element;
1996
+
1997
+ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
1998
+ amount: z$1.ZodNumber;
1999
+ date: z$1.ZodEffects<z$1.ZodString, string, string>;
2000
+ viaAccount: z$1.ZodString;
2001
+ viaAccountObject: z$1.ZodOptional<z$1.ZodAny>;
2002
+ rmbToAedRate: z$1.ZodNumber;
2003
+ aedToUsdRate: z$1.ZodNumber;
2004
+ account: z$1.ZodString;
2005
+ accountObject: z$1.ZodOptional<z$1.ZodAny>;
2006
+ rmbToUsdRate: z$1.ZodNumber;
2007
+ fee: z$1.ZodNumber;
2008
+ note: z$1.ZodOptional<z$1.ZodString>;
2009
+ branch: z$1.ZodOptional<z$1.ZodString>;
2010
+ }, "strip", z$1.ZodTypeAny, {
2011
+ account: string;
2012
+ date: string;
2013
+ amount: number;
2014
+ viaAccount: string;
2015
+ fee: number;
2016
+ rmbToAedRate: number;
2017
+ aedToUsdRate: number;
2018
+ rmbToUsdRate: number;
2019
+ note?: string | undefined;
2020
+ branch?: string | undefined;
2021
+ viaAccountObject?: any;
2022
+ accountObject?: any;
2023
+ }, {
2024
+ account: string;
2025
+ date: string;
2026
+ amount: number;
2027
+ viaAccount: string;
2028
+ fee: number;
2029
+ rmbToAedRate: number;
2030
+ aedToUsdRate: number;
2031
+ rmbToUsdRate: number;
2032
+ note?: string | undefined;
2033
+ branch?: string | undefined;
2034
+ viaAccountObject?: any;
2035
+ accountObject?: any;
2036
+ }>;
2037
+ type ForexDubaiToChinaSchemaType = z$1.infer<typeof forexDubaiToChinaSchema>;
2038
+
2039
+ export { AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, BrandField, BrandForm, Branding, type BrandingProps, Brands, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Categories, CategoryCard, CategoryField, CategoryForm, type CategoryItem, ClassicSpin, ClothendStockAdjustment, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm, type JournalSchemaType, Journals, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm, type PaymentSchemaType, Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProductField, ProductForm, Products, 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, PosStockAdjustment as StockAdjustmentForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletReport, WalletStatements, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, type apiConfig, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, expenseSchema, forexDubaiToChinaSchema, forexTransferSchema, generatePdf, journalSchema, linkUserSchema, type linkUserSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
package/dist/index.d.ts CHANGED
@@ -383,7 +383,7 @@ declare const Enums: {
383
383
  journalTypes: readonly ["journal"];
384
384
  viaTypes: readonly ["direct", "via account"];
385
385
  actionTypes: readonly ["credit", "debit"];
386
- transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock"];
386
+ transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china"];
387
387
  stockTypes: readonly ["pack", "product", "pack to product"];
388
388
  };
389
389
 
@@ -1025,7 +1025,7 @@ declare const CategoryCard: React__default.FC<{
1025
1025
  declare const Views: {
1026
1026
  Transaction: ({ id, type, close, reverseable, }: {
1027
1027
  id: string;
1028
- type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | undefined;
1028
+ type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | undefined;
1029
1029
  close: () => void;
1030
1030
  reverseable?: {
1031
1031
  reload: () => void;
@@ -1990,4 +1990,50 @@ declare const PosStockAdjustment: ({ type }: {
1990
1990
  type: StockType;
1991
1991
  }) => react_jsx_runtime.JSX.Element;
1992
1992
 
1993
- export { AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, BrandField, BrandForm, Branding, type BrandingProps, Brands, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Categories, CategoryCard, CategoryField, CategoryForm, type CategoryItem, ClassicSpin, ClothendStockAdjustment, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm, type JournalSchemaType, Journals, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm, type PaymentSchemaType, Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProductField, ProductForm, Products, 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, PosStockAdjustment as StockAdjustmentForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletReport, WalletStatements, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, type apiConfig, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, expenseSchema, forexTransferSchema, generatePdf, journalSchema, linkUserSchema, type linkUserSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
1993
+ declare function ForexDubaiToChina(): react_jsx_runtime.JSX.Element;
1994
+
1995
+ declare function ForexDubaiToChinaForm(): react_jsx_runtime.JSX.Element;
1996
+
1997
+ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
1998
+ amount: z$1.ZodNumber;
1999
+ date: z$1.ZodEffects<z$1.ZodString, string, string>;
2000
+ viaAccount: z$1.ZodString;
2001
+ viaAccountObject: z$1.ZodOptional<z$1.ZodAny>;
2002
+ rmbToAedRate: z$1.ZodNumber;
2003
+ aedToUsdRate: z$1.ZodNumber;
2004
+ account: z$1.ZodString;
2005
+ accountObject: z$1.ZodOptional<z$1.ZodAny>;
2006
+ rmbToUsdRate: z$1.ZodNumber;
2007
+ fee: z$1.ZodNumber;
2008
+ note: z$1.ZodOptional<z$1.ZodString>;
2009
+ branch: z$1.ZodOptional<z$1.ZodString>;
2010
+ }, "strip", z$1.ZodTypeAny, {
2011
+ account: string;
2012
+ date: string;
2013
+ amount: number;
2014
+ viaAccount: string;
2015
+ fee: number;
2016
+ rmbToAedRate: number;
2017
+ aedToUsdRate: number;
2018
+ rmbToUsdRate: number;
2019
+ note?: string | undefined;
2020
+ branch?: string | undefined;
2021
+ viaAccountObject?: any;
2022
+ accountObject?: any;
2023
+ }, {
2024
+ account: string;
2025
+ date: string;
2026
+ amount: number;
2027
+ viaAccount: string;
2028
+ fee: number;
2029
+ rmbToAedRate: number;
2030
+ aedToUsdRate: number;
2031
+ rmbToUsdRate: number;
2032
+ note?: string | undefined;
2033
+ branch?: string | undefined;
2034
+ viaAccountObject?: any;
2035
+ accountObject?: any;
2036
+ }>;
2037
+ type ForexDubaiToChinaSchemaType = z$1.infer<typeof forexDubaiToChinaSchema>;
2038
+
2039
+ export { AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, BrandField, BrandForm, Branding, type BrandingProps, Brands, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Categories, CategoryCard, CategoryField, CategoryForm, type CategoryItem, ClassicSpin, ClothendStockAdjustment, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm, type JournalSchemaType, Journals, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm, type PaymentSchemaType, Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProductField, ProductForm, Products, 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, PosStockAdjustment as StockAdjustmentForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletReport, WalletStatements, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, type apiConfig, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, expenseSchema, forexDubaiToChinaSchema, forexTransferSchema, generatePdf, journalSchema, linkUserSchema, type linkUserSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };