warqadui 0.0.132 → 0.0.134
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 +15 -3
- package/dist/index.d.ts +15 -3
- package/dist/index.js +53617 -27152
- package/dist/index.mjs +37627 -9895
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -385,7 +385,7 @@ declare const Enums: {
|
|
|
385
385
|
journalTypes: readonly ["journal"];
|
|
386
386
|
viaTypes: readonly ["direct", "via account"];
|
|
387
387
|
actionTypes: readonly ["credit", "debit"];
|
|
388
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex"];
|
|
388
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense"];
|
|
389
389
|
stockTypes: readonly ["pack", "product"];
|
|
390
390
|
saleStockTypes: readonly ["pack", "product"];
|
|
391
391
|
sale: readonly ["cash", "credit"];
|
|
@@ -1049,7 +1049,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1049
1049
|
declare const Views: {
|
|
1050
1050
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1051
1051
|
id: string;
|
|
1052
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | undefined;
|
|
1052
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | undefined;
|
|
1053
1053
|
close: () => void;
|
|
1054
1054
|
reverseable?: {
|
|
1055
1055
|
reload: () => void;
|
|
@@ -1928,6 +1928,18 @@ declare const expenseSchema: z$1.ZodObject<{
|
|
|
1928
1928
|
}>;
|
|
1929
1929
|
type ExpenseSchemaType = z$1.infer<typeof expenseSchema>;
|
|
1930
1930
|
|
|
1931
|
+
declare function ForexExpenses({ url }: {
|
|
1932
|
+
url?: string;
|
|
1933
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1934
|
+
|
|
1935
|
+
declare function ForexExpenseForm({ id, close, reload, }: {
|
|
1936
|
+
id?: string;
|
|
1937
|
+
close: () => void;
|
|
1938
|
+
reload: () => void;
|
|
1939
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1940
|
+
|
|
1941
|
+
declare const ForexExpensesReport: () => react_jsx_runtime.JSX.Element;
|
|
1942
|
+
|
|
1931
1943
|
declare function Breadcrumbs(): react_jsx_runtime.JSX.Element;
|
|
1932
1944
|
|
|
1933
1945
|
interface ErrorPageProps {
|
|
@@ -2123,4 +2135,4 @@ declare const StockLevel: ({ value }: {
|
|
|
2123
2135
|
|
|
2124
2136
|
declare const ProfitAndLossReport: () => react_jsx_runtime.JSX.Element;
|
|
2125
2137
|
|
|
2126
|
-
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, ClothendStockTransfer, 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, ForexAccountReport, ForexAccountStatements, ForexAccounts, 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, ProfitAndLossReport, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SaleStockAdjustment, SaleStockForm, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, PosStockAdjustment as StockAdjustmentForm, StockLevel, PosStockTransfer as StockTransferForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, UserUpdate, 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, updateUserSchema, type updateUserSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|
|
2138
|
+
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, ClothendStockTransfer, 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, ForexAccountReport, ForexAccountStatements, ForexAccounts, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexExpenseForm, ForexExpenses, ForexExpensesReport, 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, ProfitAndLossReport, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SaleStockAdjustment, SaleStockForm, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, PosStockAdjustment as StockAdjustmentForm, StockLevel, PosStockTransfer as StockTransferForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, UserUpdate, 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, updateUserSchema, type updateUserSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -385,7 +385,7 @@ declare const Enums: {
|
|
|
385
385
|
journalTypes: readonly ["journal"];
|
|
386
386
|
viaTypes: readonly ["direct", "via account"];
|
|
387
387
|
actionTypes: readonly ["credit", "debit"];
|
|
388
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex"];
|
|
388
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense"];
|
|
389
389
|
stockTypes: readonly ["pack", "product"];
|
|
390
390
|
saleStockTypes: readonly ["pack", "product"];
|
|
391
391
|
sale: readonly ["cash", "credit"];
|
|
@@ -1049,7 +1049,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1049
1049
|
declare const Views: {
|
|
1050
1050
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1051
1051
|
id: string;
|
|
1052
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | undefined;
|
|
1052
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | undefined;
|
|
1053
1053
|
close: () => void;
|
|
1054
1054
|
reverseable?: {
|
|
1055
1055
|
reload: () => void;
|
|
@@ -1928,6 +1928,18 @@ declare const expenseSchema: z$1.ZodObject<{
|
|
|
1928
1928
|
}>;
|
|
1929
1929
|
type ExpenseSchemaType = z$1.infer<typeof expenseSchema>;
|
|
1930
1930
|
|
|
1931
|
+
declare function ForexExpenses({ url }: {
|
|
1932
|
+
url?: string;
|
|
1933
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1934
|
+
|
|
1935
|
+
declare function ForexExpenseForm({ id, close, reload, }: {
|
|
1936
|
+
id?: string;
|
|
1937
|
+
close: () => void;
|
|
1938
|
+
reload: () => void;
|
|
1939
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1940
|
+
|
|
1941
|
+
declare const ForexExpensesReport: () => react_jsx_runtime.JSX.Element;
|
|
1942
|
+
|
|
1931
1943
|
declare function Breadcrumbs(): react_jsx_runtime.JSX.Element;
|
|
1932
1944
|
|
|
1933
1945
|
interface ErrorPageProps {
|
|
@@ -2123,4 +2135,4 @@ declare const StockLevel: ({ value }: {
|
|
|
2123
2135
|
|
|
2124
2136
|
declare const ProfitAndLossReport: () => react_jsx_runtime.JSX.Element;
|
|
2125
2137
|
|
|
2126
|
-
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, ClothendStockTransfer, 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, ForexAccountReport, ForexAccountStatements, ForexAccounts, 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, ProfitAndLossReport, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SaleStockAdjustment, SaleStockForm, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, PosStockAdjustment as StockAdjustmentForm, StockLevel, PosStockTransfer as StockTransferForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, UserUpdate, 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, updateUserSchema, type updateUserSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|
|
2138
|
+
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, ClothendStockTransfer, 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, ForexAccountReport, ForexAccountStatements, ForexAccounts, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexExpenseForm, ForexExpenses, ForexExpensesReport, 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, ProfitAndLossReport, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SaleStockAdjustment, SaleStockForm, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, PosStockAdjustment as StockAdjustmentForm, StockLevel, PosStockTransfer as StockTransferForm, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, UserUpdate, 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, updateUserSchema, type updateUserSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|