warqadui 0.0.126 → 0.0.130
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 +55 -21
- package/dist/index.d.ts +55 -21
- package/dist/index.js +38312 -19887
- package/dist/index.mjs +26676 -7488
- package/dist/styles.js +62 -49
- package/dist/styles.mjs +62 -49
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -183,6 +183,7 @@ interface ModalProps {
|
|
|
183
183
|
children: React__default.ReactNode;
|
|
184
184
|
isLoading?: boolean;
|
|
185
185
|
width?: number;
|
|
186
|
+
closeOnOverlayClick?: boolean;
|
|
186
187
|
}
|
|
187
188
|
declare const Modal: React__default.FC<ModalProps>;
|
|
188
189
|
|
|
@@ -278,6 +279,7 @@ type defaultStateT = {
|
|
|
278
279
|
content: React.ReactNode;
|
|
279
280
|
width: number;
|
|
280
281
|
data?: any;
|
|
282
|
+
closeOnOverlayClick?: boolean;
|
|
281
283
|
};
|
|
282
284
|
declare const useModal: (initialState?: boolean) => UseModalReturn;
|
|
283
285
|
|
|
@@ -383,11 +385,12 @@ declare const Enums: {
|
|
|
383
385
|
journalTypes: readonly ["journal"];
|
|
384
386
|
viaTypes: readonly ["direct", "via account"];
|
|
385
387
|
actionTypes: readonly ["credit", "debit"];
|
|
386
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china"];
|
|
388
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex"];
|
|
387
389
|
stockTypes: readonly ["pack", "product"];
|
|
388
390
|
saleStockTypes: readonly ["pack", "product"];
|
|
389
391
|
sale: readonly ["cash", "credit"];
|
|
390
392
|
stockTransferTypes: readonly ["pack", "product", "pack to product"];
|
|
393
|
+
forexTypes: readonly ["direct", "exchange"];
|
|
391
394
|
};
|
|
392
395
|
|
|
393
396
|
interface ThemeConfig {
|
|
@@ -407,6 +410,7 @@ type apiConfig = {
|
|
|
407
410
|
stockLevelReportApi?: string;
|
|
408
411
|
itemStockLevelReportApi?: string;
|
|
409
412
|
profitAndLossReportApi?: string;
|
|
413
|
+
forexAccountApi?: string;
|
|
410
414
|
};
|
|
411
415
|
type EnumsConfig = {
|
|
412
416
|
[K in keyof typeof Enums]: string[] | readonly string[];
|
|
@@ -666,8 +670,10 @@ interface SimpleTableProps<TData> {
|
|
|
666
670
|
emptyState?: React__default.ReactNode;
|
|
667
671
|
skeletonCount?: number;
|
|
668
672
|
fixed?: boolean;
|
|
673
|
+
onRowClick?: (row: TData) => void;
|
|
674
|
+
onRowDoubleClick?: (row: TData) => void;
|
|
669
675
|
}
|
|
670
|
-
declare function SimpleTable<TData>({ columns: userColumns, data, className, renderFooter: componentFooter, rowPadding, verticalLines: userVerticalLines, verclines, index, startIndex, isLoading, title, enableSearch, emptyState, skeletonCount, fixed, }: SimpleTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
676
|
+
declare function SimpleTable<TData>({ columns: userColumns, data, className, renderFooter: componentFooter, rowPadding, verticalLines: userVerticalLines, verclines, index, startIndex, isLoading, title, enableSearch, emptyState, skeletonCount, fixed, onRowClick, onRowDoubleClick, }: SimpleTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
671
677
|
|
|
672
678
|
interface SummaryColumn<T> {
|
|
673
679
|
title: React__default.ReactNode;
|
|
@@ -873,7 +879,7 @@ declare const useA4StatementView: ({ url, v, delay, params, startPage, }?: {
|
|
|
873
879
|
params?: Record<string, any>;
|
|
874
880
|
startPage?: number;
|
|
875
881
|
}) => {
|
|
876
|
-
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, tableTitle, startPage: componentStartPage, isLoading: externalLoading, fixed, }: {
|
|
882
|
+
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, tableTitle, startPage: componentStartPage, isLoading: externalLoading, fixed, onRowClick, onRowDoubleClick, }: {
|
|
877
883
|
tableTitle?: string;
|
|
878
884
|
columns?: SimpleTableColumn<any>[];
|
|
879
885
|
data?: any[];
|
|
@@ -889,11 +895,14 @@ declare const useA4StatementView: ({ url, v, delay, params, startPage, }?: {
|
|
|
889
895
|
startPage?: number;
|
|
890
896
|
isLoading?: boolean;
|
|
891
897
|
fixed?: boolean;
|
|
898
|
+
onRowClick?: (row: any) => void;
|
|
899
|
+
onRowDoubleClick?: (row: any) => void;
|
|
892
900
|
}) => react_jsx_runtime.JSX.Element;
|
|
893
901
|
data: any;
|
|
894
902
|
isLoading: boolean;
|
|
895
903
|
get: FetchFunction;
|
|
896
904
|
reactToPrintFn: react_to_print.UseReactToPrintFn;
|
|
905
|
+
reload: () => Promise<void>;
|
|
897
906
|
};
|
|
898
907
|
|
|
899
908
|
declare const useA4CategoryView: ({ url, v, delay, params, startPage, }?: {
|
|
@@ -1040,7 +1049,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1040
1049
|
declare const Views: {
|
|
1041
1050
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1042
1051
|
id: string;
|
|
1043
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | undefined;
|
|
1052
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | undefined;
|
|
1044
1053
|
close: () => void;
|
|
1045
1054
|
reverseable?: {
|
|
1046
1055
|
reload: () => void;
|
|
@@ -1258,6 +1267,11 @@ declare function Accounts({ v, url }: {
|
|
|
1258
1267
|
url?: string;
|
|
1259
1268
|
}): react_jsx_runtime.JSX.Element;
|
|
1260
1269
|
|
|
1270
|
+
declare function ForexAccounts({ v, url }: {
|
|
1271
|
+
v?: 1 | 2;
|
|
1272
|
+
url?: string;
|
|
1273
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1274
|
+
|
|
1261
1275
|
declare function AccountForm(): react_jsx_runtime.JSX.Element;
|
|
1262
1276
|
|
|
1263
1277
|
type AccountProps<T extends FieldValues> = {
|
|
@@ -1373,6 +1387,8 @@ declare const UserProfile: React__default.FC<UserProfileProps>;
|
|
|
1373
1387
|
|
|
1374
1388
|
declare const ProfilePage: () => react_jsx_runtime.JSX.Element;
|
|
1375
1389
|
|
|
1390
|
+
declare function UserUpdate(): react_jsx_runtime.JSX.Element;
|
|
1391
|
+
|
|
1376
1392
|
declare const useApp: () => {
|
|
1377
1393
|
navigate: react_router.NavigateFunction;
|
|
1378
1394
|
getQuery: (key?: string) => string | {
|
|
@@ -1432,21 +1448,35 @@ declare const resetPasswordSchema: z$1.ZodObject<{
|
|
|
1432
1448
|
declare const createUserSchema: z$1.ZodObject<{
|
|
1433
1449
|
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1434
1450
|
phoneNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
1451
|
+
name: z$1.ZodString;
|
|
1435
1452
|
role: z$1.ZodEnum<["admin"]>;
|
|
1436
1453
|
}, "strip", z$1.ZodTypeAny, {
|
|
1454
|
+
name: string;
|
|
1437
1455
|
role: "admin";
|
|
1438
1456
|
email: string;
|
|
1439
1457
|
phoneNumber?: string | undefined;
|
|
1440
1458
|
}, {
|
|
1459
|
+
name: string;
|
|
1441
1460
|
role: "admin";
|
|
1442
1461
|
email: string;
|
|
1443
1462
|
phoneNumber?: string | undefined;
|
|
1444
1463
|
}>;
|
|
1464
|
+
declare const updateUserSchema: z$1.ZodObject<{
|
|
1465
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
1466
|
+
phoneNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
1467
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1468
|
+
name?: string | undefined;
|
|
1469
|
+
phoneNumber?: string | undefined;
|
|
1470
|
+
}, {
|
|
1471
|
+
name?: string | undefined;
|
|
1472
|
+
phoneNumber?: string | undefined;
|
|
1473
|
+
}>;
|
|
1445
1474
|
type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
|
|
1446
1475
|
type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
|
|
1447
1476
|
type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
|
|
1448
1477
|
type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
|
|
1449
1478
|
type createUserSchemaType = z$1.infer<typeof createUserSchema>;
|
|
1479
|
+
type updateUserSchemaType = z$1.infer<typeof updateUserSchema>;
|
|
1450
1480
|
|
|
1451
1481
|
declare function Wallets({ v, url }: {
|
|
1452
1482
|
v?: 1 | 2;
|
|
@@ -1740,28 +1770,28 @@ declare const journalSchema: z$1.ZodObject<{
|
|
|
1740
1770
|
date: string;
|
|
1741
1771
|
description: string;
|
|
1742
1772
|
amount: number;
|
|
1743
|
-
journalVia: "direct" | "via account";
|
|
1744
1773
|
fee: number;
|
|
1774
|
+
journalVia: "direct" | "via account";
|
|
1745
1775
|
note?: string | undefined;
|
|
1746
1776
|
action?: "credit" | "debit" | undefined;
|
|
1777
|
+
rate?: number | undefined;
|
|
1747
1778
|
viaAccount?: string | undefined;
|
|
1748
1779
|
viaAccountObject?: any;
|
|
1749
1780
|
accountObject?: any;
|
|
1750
|
-
rate?: number | undefined;
|
|
1751
1781
|
exchangedAmount?: number | undefined;
|
|
1752
1782
|
}, {
|
|
1753
1783
|
account: string;
|
|
1754
1784
|
date: string;
|
|
1755
1785
|
description: string;
|
|
1756
1786
|
amount: number;
|
|
1757
|
-
journalVia: "direct" | "via account";
|
|
1758
1787
|
fee: number;
|
|
1788
|
+
journalVia: "direct" | "via account";
|
|
1759
1789
|
note?: string | undefined;
|
|
1760
1790
|
action?: "credit" | "debit" | undefined;
|
|
1791
|
+
rate?: number | undefined;
|
|
1761
1792
|
viaAccount?: string | undefined;
|
|
1762
1793
|
viaAccountObject?: any;
|
|
1763
1794
|
accountObject?: any;
|
|
1764
|
-
rate?: number | undefined;
|
|
1765
1795
|
exchangedAmount?: number | undefined;
|
|
1766
1796
|
}>;
|
|
1767
1797
|
type JournalSchemaType = z$1.infer<typeof journalSchema>;
|
|
@@ -1797,9 +1827,9 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1797
1827
|
wallet: string;
|
|
1798
1828
|
note?: string | undefined;
|
|
1799
1829
|
branch?: string | undefined;
|
|
1800
|
-
accountObject?: any;
|
|
1801
|
-
rate?: number | undefined;
|
|
1802
1830
|
fee?: number | undefined;
|
|
1831
|
+
rate?: number | undefined;
|
|
1832
|
+
accountObject?: any;
|
|
1803
1833
|
walletObject?: any;
|
|
1804
1834
|
}, {
|
|
1805
1835
|
account: string;
|
|
@@ -1810,9 +1840,9 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1810
1840
|
wallet: string;
|
|
1811
1841
|
note?: string | undefined;
|
|
1812
1842
|
branch?: string | undefined;
|
|
1813
|
-
accountObject?: any;
|
|
1814
|
-
rate?: number | undefined;
|
|
1815
1843
|
fee?: number | undefined;
|
|
1844
|
+
rate?: number | undefined;
|
|
1845
|
+
accountObject?: any;
|
|
1816
1846
|
walletObject?: any;
|
|
1817
1847
|
}>;
|
|
1818
1848
|
type PaymentSchemaType = z$1.infer<typeof paymentSchema>;
|
|
@@ -1841,8 +1871,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1841
1871
|
toWallet: string;
|
|
1842
1872
|
note?: string | undefined;
|
|
1843
1873
|
branch?: string | undefined;
|
|
1844
|
-
rate?: number | undefined;
|
|
1845
1874
|
fee?: number | undefined;
|
|
1875
|
+
rate?: number | undefined;
|
|
1846
1876
|
fromWalletObject?: any;
|
|
1847
1877
|
toWalletObject?: any;
|
|
1848
1878
|
}, {
|
|
@@ -1852,8 +1882,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1852
1882
|
toWallet: string;
|
|
1853
1883
|
note?: string | undefined;
|
|
1854
1884
|
branch?: string | undefined;
|
|
1855
|
-
rate?: number | undefined;
|
|
1856
1885
|
fee?: number | undefined;
|
|
1886
|
+
rate?: number | undefined;
|
|
1857
1887
|
fromWalletObject?: any;
|
|
1858
1888
|
toWalletObject?: any;
|
|
1859
1889
|
}>;
|
|
@@ -1982,9 +2012,9 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
1982
2012
|
wallet: string;
|
|
1983
2013
|
note?: string | undefined;
|
|
1984
2014
|
branch?: string | undefined;
|
|
1985
|
-
accountObject?: any;
|
|
1986
|
-
rate?: number | undefined;
|
|
1987
2015
|
fee?: number | undefined;
|
|
2016
|
+
rate?: number | undefined;
|
|
2017
|
+
accountObject?: any;
|
|
1988
2018
|
walletObject?: any;
|
|
1989
2019
|
}, {
|
|
1990
2020
|
account: string;
|
|
@@ -1994,9 +2024,9 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
1994
2024
|
wallet: string;
|
|
1995
2025
|
note?: string | undefined;
|
|
1996
2026
|
branch?: string | undefined;
|
|
1997
|
-
accountObject?: any;
|
|
1998
|
-
rate?: number | undefined;
|
|
1999
2027
|
fee?: number | undefined;
|
|
2028
|
+
rate?: number | undefined;
|
|
2029
|
+
accountObject?: any;
|
|
2000
2030
|
walletObject?: any;
|
|
2001
2031
|
}>;
|
|
2002
2032
|
type ForexTransferSchemaType = z$1.infer<typeof forexTransferSchema>;
|
|
@@ -2052,8 +2082,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2052
2082
|
account: string;
|
|
2053
2083
|
date: string;
|
|
2054
2084
|
amount: number;
|
|
2055
|
-
viaAccount: string;
|
|
2056
2085
|
fee: number;
|
|
2086
|
+
viaAccount: string;
|
|
2057
2087
|
rmbToAedRate: number;
|
|
2058
2088
|
aedToUsdRate: number;
|
|
2059
2089
|
rmbToUsdRate: number;
|
|
@@ -2065,8 +2095,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2065
2095
|
account: string;
|
|
2066
2096
|
date: string;
|
|
2067
2097
|
amount: number;
|
|
2068
|
-
viaAccount: string;
|
|
2069
2098
|
fee: number;
|
|
2099
|
+
viaAccount: string;
|
|
2070
2100
|
rmbToAedRate: number;
|
|
2071
2101
|
aedToUsdRate: number;
|
|
2072
2102
|
rmbToUsdRate: number;
|
|
@@ -2077,10 +2107,14 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2077
2107
|
}>;
|
|
2078
2108
|
type ForexDubaiToChinaSchemaType = z$1.infer<typeof forexDubaiToChinaSchema>;
|
|
2079
2109
|
|
|
2110
|
+
declare const ForexAccountReport: () => react_jsx_runtime.JSX.Element;
|
|
2111
|
+
|
|
2112
|
+
declare const ForexAccountStatements: () => react_jsx_runtime.JSX.Element;
|
|
2113
|
+
|
|
2080
2114
|
declare const StockLevel: ({ value }: {
|
|
2081
2115
|
value: boolean;
|
|
2082
2116
|
}) => react_jsx_runtime.JSX.Element;
|
|
2083
2117
|
|
|
2084
2118
|
declare const ProfitAndLossReport: () => react_jsx_runtime.JSX.Element;
|
|
2085
2119
|
|
|
2086
|
-
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, 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, 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 };
|
|
2120
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -183,6 +183,7 @@ interface ModalProps {
|
|
|
183
183
|
children: React__default.ReactNode;
|
|
184
184
|
isLoading?: boolean;
|
|
185
185
|
width?: number;
|
|
186
|
+
closeOnOverlayClick?: boolean;
|
|
186
187
|
}
|
|
187
188
|
declare const Modal: React__default.FC<ModalProps>;
|
|
188
189
|
|
|
@@ -278,6 +279,7 @@ type defaultStateT = {
|
|
|
278
279
|
content: React.ReactNode;
|
|
279
280
|
width: number;
|
|
280
281
|
data?: any;
|
|
282
|
+
closeOnOverlayClick?: boolean;
|
|
281
283
|
};
|
|
282
284
|
declare const useModal: (initialState?: boolean) => UseModalReturn;
|
|
283
285
|
|
|
@@ -383,11 +385,12 @@ declare const Enums: {
|
|
|
383
385
|
journalTypes: readonly ["journal"];
|
|
384
386
|
viaTypes: readonly ["direct", "via account"];
|
|
385
387
|
actionTypes: readonly ["credit", "debit"];
|
|
386
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china"];
|
|
388
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex"];
|
|
387
389
|
stockTypes: readonly ["pack", "product"];
|
|
388
390
|
saleStockTypes: readonly ["pack", "product"];
|
|
389
391
|
sale: readonly ["cash", "credit"];
|
|
390
392
|
stockTransferTypes: readonly ["pack", "product", "pack to product"];
|
|
393
|
+
forexTypes: readonly ["direct", "exchange"];
|
|
391
394
|
};
|
|
392
395
|
|
|
393
396
|
interface ThemeConfig {
|
|
@@ -407,6 +410,7 @@ type apiConfig = {
|
|
|
407
410
|
stockLevelReportApi?: string;
|
|
408
411
|
itemStockLevelReportApi?: string;
|
|
409
412
|
profitAndLossReportApi?: string;
|
|
413
|
+
forexAccountApi?: string;
|
|
410
414
|
};
|
|
411
415
|
type EnumsConfig = {
|
|
412
416
|
[K in keyof typeof Enums]: string[] | readonly string[];
|
|
@@ -666,8 +670,10 @@ interface SimpleTableProps<TData> {
|
|
|
666
670
|
emptyState?: React__default.ReactNode;
|
|
667
671
|
skeletonCount?: number;
|
|
668
672
|
fixed?: boolean;
|
|
673
|
+
onRowClick?: (row: TData) => void;
|
|
674
|
+
onRowDoubleClick?: (row: TData) => void;
|
|
669
675
|
}
|
|
670
|
-
declare function SimpleTable<TData>({ columns: userColumns, data, className, renderFooter: componentFooter, rowPadding, verticalLines: userVerticalLines, verclines, index, startIndex, isLoading, title, enableSearch, emptyState, skeletonCount, fixed, }: SimpleTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
676
|
+
declare function SimpleTable<TData>({ columns: userColumns, data, className, renderFooter: componentFooter, rowPadding, verticalLines: userVerticalLines, verclines, index, startIndex, isLoading, title, enableSearch, emptyState, skeletonCount, fixed, onRowClick, onRowDoubleClick, }: SimpleTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
671
677
|
|
|
672
678
|
interface SummaryColumn<T> {
|
|
673
679
|
title: React__default.ReactNode;
|
|
@@ -873,7 +879,7 @@ declare const useA4StatementView: ({ url, v, delay, params, startPage, }?: {
|
|
|
873
879
|
params?: Record<string, any>;
|
|
874
880
|
startPage?: number;
|
|
875
881
|
}) => {
|
|
876
|
-
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, tableTitle, startPage: componentStartPage, isLoading: externalLoading, fixed, }: {
|
|
882
|
+
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, tableTitle, startPage: componentStartPage, isLoading: externalLoading, fixed, onRowClick, onRowDoubleClick, }: {
|
|
877
883
|
tableTitle?: string;
|
|
878
884
|
columns?: SimpleTableColumn<any>[];
|
|
879
885
|
data?: any[];
|
|
@@ -889,11 +895,14 @@ declare const useA4StatementView: ({ url, v, delay, params, startPage, }?: {
|
|
|
889
895
|
startPage?: number;
|
|
890
896
|
isLoading?: boolean;
|
|
891
897
|
fixed?: boolean;
|
|
898
|
+
onRowClick?: (row: any) => void;
|
|
899
|
+
onRowDoubleClick?: (row: any) => void;
|
|
892
900
|
}) => react_jsx_runtime.JSX.Element;
|
|
893
901
|
data: any;
|
|
894
902
|
isLoading: boolean;
|
|
895
903
|
get: FetchFunction;
|
|
896
904
|
reactToPrintFn: react_to_print.UseReactToPrintFn;
|
|
905
|
+
reload: () => Promise<void>;
|
|
897
906
|
};
|
|
898
907
|
|
|
899
908
|
declare const useA4CategoryView: ({ url, v, delay, params, startPage, }?: {
|
|
@@ -1040,7 +1049,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1040
1049
|
declare const Views: {
|
|
1041
1050
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1042
1051
|
id: string;
|
|
1043
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | undefined;
|
|
1052
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | undefined;
|
|
1044
1053
|
close: () => void;
|
|
1045
1054
|
reverseable?: {
|
|
1046
1055
|
reload: () => void;
|
|
@@ -1258,6 +1267,11 @@ declare function Accounts({ v, url }: {
|
|
|
1258
1267
|
url?: string;
|
|
1259
1268
|
}): react_jsx_runtime.JSX.Element;
|
|
1260
1269
|
|
|
1270
|
+
declare function ForexAccounts({ v, url }: {
|
|
1271
|
+
v?: 1 | 2;
|
|
1272
|
+
url?: string;
|
|
1273
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1274
|
+
|
|
1261
1275
|
declare function AccountForm(): react_jsx_runtime.JSX.Element;
|
|
1262
1276
|
|
|
1263
1277
|
type AccountProps<T extends FieldValues> = {
|
|
@@ -1373,6 +1387,8 @@ declare const UserProfile: React__default.FC<UserProfileProps>;
|
|
|
1373
1387
|
|
|
1374
1388
|
declare const ProfilePage: () => react_jsx_runtime.JSX.Element;
|
|
1375
1389
|
|
|
1390
|
+
declare function UserUpdate(): react_jsx_runtime.JSX.Element;
|
|
1391
|
+
|
|
1376
1392
|
declare const useApp: () => {
|
|
1377
1393
|
navigate: react_router.NavigateFunction;
|
|
1378
1394
|
getQuery: (key?: string) => string | {
|
|
@@ -1432,21 +1448,35 @@ declare const resetPasswordSchema: z$1.ZodObject<{
|
|
|
1432
1448
|
declare const createUserSchema: z$1.ZodObject<{
|
|
1433
1449
|
email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
|
|
1434
1450
|
phoneNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
1451
|
+
name: z$1.ZodString;
|
|
1435
1452
|
role: z$1.ZodEnum<["admin"]>;
|
|
1436
1453
|
}, "strip", z$1.ZodTypeAny, {
|
|
1454
|
+
name: string;
|
|
1437
1455
|
role: "admin";
|
|
1438
1456
|
email: string;
|
|
1439
1457
|
phoneNumber?: string | undefined;
|
|
1440
1458
|
}, {
|
|
1459
|
+
name: string;
|
|
1441
1460
|
role: "admin";
|
|
1442
1461
|
email: string;
|
|
1443
1462
|
phoneNumber?: string | undefined;
|
|
1444
1463
|
}>;
|
|
1464
|
+
declare const updateUserSchema: z$1.ZodObject<{
|
|
1465
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
1466
|
+
phoneNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
1467
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1468
|
+
name?: string | undefined;
|
|
1469
|
+
phoneNumber?: string | undefined;
|
|
1470
|
+
}, {
|
|
1471
|
+
name?: string | undefined;
|
|
1472
|
+
phoneNumber?: string | undefined;
|
|
1473
|
+
}>;
|
|
1445
1474
|
type linkUserSchemaType = z$1.infer<typeof linkUserSchema>;
|
|
1446
1475
|
type verifyUserEmailSchemaType = z$1.infer<typeof verifyUserEmailSchema>;
|
|
1447
1476
|
type updateUserEmailSchemaType = z$1.infer<typeof updateUserEmailSchema>;
|
|
1448
1477
|
type resetPasswordSchemaType = z$1.infer<typeof resetPasswordSchema>;
|
|
1449
1478
|
type createUserSchemaType = z$1.infer<typeof createUserSchema>;
|
|
1479
|
+
type updateUserSchemaType = z$1.infer<typeof updateUserSchema>;
|
|
1450
1480
|
|
|
1451
1481
|
declare function Wallets({ v, url }: {
|
|
1452
1482
|
v?: 1 | 2;
|
|
@@ -1740,28 +1770,28 @@ declare const journalSchema: z$1.ZodObject<{
|
|
|
1740
1770
|
date: string;
|
|
1741
1771
|
description: string;
|
|
1742
1772
|
amount: number;
|
|
1743
|
-
journalVia: "direct" | "via account";
|
|
1744
1773
|
fee: number;
|
|
1774
|
+
journalVia: "direct" | "via account";
|
|
1745
1775
|
note?: string | undefined;
|
|
1746
1776
|
action?: "credit" | "debit" | undefined;
|
|
1777
|
+
rate?: number | undefined;
|
|
1747
1778
|
viaAccount?: string | undefined;
|
|
1748
1779
|
viaAccountObject?: any;
|
|
1749
1780
|
accountObject?: any;
|
|
1750
|
-
rate?: number | undefined;
|
|
1751
1781
|
exchangedAmount?: number | undefined;
|
|
1752
1782
|
}, {
|
|
1753
1783
|
account: string;
|
|
1754
1784
|
date: string;
|
|
1755
1785
|
description: string;
|
|
1756
1786
|
amount: number;
|
|
1757
|
-
journalVia: "direct" | "via account";
|
|
1758
1787
|
fee: number;
|
|
1788
|
+
journalVia: "direct" | "via account";
|
|
1759
1789
|
note?: string | undefined;
|
|
1760
1790
|
action?: "credit" | "debit" | undefined;
|
|
1791
|
+
rate?: number | undefined;
|
|
1761
1792
|
viaAccount?: string | undefined;
|
|
1762
1793
|
viaAccountObject?: any;
|
|
1763
1794
|
accountObject?: any;
|
|
1764
|
-
rate?: number | undefined;
|
|
1765
1795
|
exchangedAmount?: number | undefined;
|
|
1766
1796
|
}>;
|
|
1767
1797
|
type JournalSchemaType = z$1.infer<typeof journalSchema>;
|
|
@@ -1797,9 +1827,9 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1797
1827
|
wallet: string;
|
|
1798
1828
|
note?: string | undefined;
|
|
1799
1829
|
branch?: string | undefined;
|
|
1800
|
-
accountObject?: any;
|
|
1801
|
-
rate?: number | undefined;
|
|
1802
1830
|
fee?: number | undefined;
|
|
1831
|
+
rate?: number | undefined;
|
|
1832
|
+
accountObject?: any;
|
|
1803
1833
|
walletObject?: any;
|
|
1804
1834
|
}, {
|
|
1805
1835
|
account: string;
|
|
@@ -1810,9 +1840,9 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1810
1840
|
wallet: string;
|
|
1811
1841
|
note?: string | undefined;
|
|
1812
1842
|
branch?: string | undefined;
|
|
1813
|
-
accountObject?: any;
|
|
1814
|
-
rate?: number | undefined;
|
|
1815
1843
|
fee?: number | undefined;
|
|
1844
|
+
rate?: number | undefined;
|
|
1845
|
+
accountObject?: any;
|
|
1816
1846
|
walletObject?: any;
|
|
1817
1847
|
}>;
|
|
1818
1848
|
type PaymentSchemaType = z$1.infer<typeof paymentSchema>;
|
|
@@ -1841,8 +1871,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1841
1871
|
toWallet: string;
|
|
1842
1872
|
note?: string | undefined;
|
|
1843
1873
|
branch?: string | undefined;
|
|
1844
|
-
rate?: number | undefined;
|
|
1845
1874
|
fee?: number | undefined;
|
|
1875
|
+
rate?: number | undefined;
|
|
1846
1876
|
fromWalletObject?: any;
|
|
1847
1877
|
toWalletObject?: any;
|
|
1848
1878
|
}, {
|
|
@@ -1852,8 +1882,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1852
1882
|
toWallet: string;
|
|
1853
1883
|
note?: string | undefined;
|
|
1854
1884
|
branch?: string | undefined;
|
|
1855
|
-
rate?: number | undefined;
|
|
1856
1885
|
fee?: number | undefined;
|
|
1886
|
+
rate?: number | undefined;
|
|
1857
1887
|
fromWalletObject?: any;
|
|
1858
1888
|
toWalletObject?: any;
|
|
1859
1889
|
}>;
|
|
@@ -1982,9 +2012,9 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
1982
2012
|
wallet: string;
|
|
1983
2013
|
note?: string | undefined;
|
|
1984
2014
|
branch?: string | undefined;
|
|
1985
|
-
accountObject?: any;
|
|
1986
|
-
rate?: number | undefined;
|
|
1987
2015
|
fee?: number | undefined;
|
|
2016
|
+
rate?: number | undefined;
|
|
2017
|
+
accountObject?: any;
|
|
1988
2018
|
walletObject?: any;
|
|
1989
2019
|
}, {
|
|
1990
2020
|
account: string;
|
|
@@ -1994,9 +2024,9 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
1994
2024
|
wallet: string;
|
|
1995
2025
|
note?: string | undefined;
|
|
1996
2026
|
branch?: string | undefined;
|
|
1997
|
-
accountObject?: any;
|
|
1998
|
-
rate?: number | undefined;
|
|
1999
2027
|
fee?: number | undefined;
|
|
2028
|
+
rate?: number | undefined;
|
|
2029
|
+
accountObject?: any;
|
|
2000
2030
|
walletObject?: any;
|
|
2001
2031
|
}>;
|
|
2002
2032
|
type ForexTransferSchemaType = z$1.infer<typeof forexTransferSchema>;
|
|
@@ -2052,8 +2082,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2052
2082
|
account: string;
|
|
2053
2083
|
date: string;
|
|
2054
2084
|
amount: number;
|
|
2055
|
-
viaAccount: string;
|
|
2056
2085
|
fee: number;
|
|
2086
|
+
viaAccount: string;
|
|
2057
2087
|
rmbToAedRate: number;
|
|
2058
2088
|
aedToUsdRate: number;
|
|
2059
2089
|
rmbToUsdRate: number;
|
|
@@ -2065,8 +2095,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2065
2095
|
account: string;
|
|
2066
2096
|
date: string;
|
|
2067
2097
|
amount: number;
|
|
2068
|
-
viaAccount: string;
|
|
2069
2098
|
fee: number;
|
|
2099
|
+
viaAccount: string;
|
|
2070
2100
|
rmbToAedRate: number;
|
|
2071
2101
|
aedToUsdRate: number;
|
|
2072
2102
|
rmbToUsdRate: number;
|
|
@@ -2077,10 +2107,14 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2077
2107
|
}>;
|
|
2078
2108
|
type ForexDubaiToChinaSchemaType = z$1.infer<typeof forexDubaiToChinaSchema>;
|
|
2079
2109
|
|
|
2110
|
+
declare const ForexAccountReport: () => react_jsx_runtime.JSX.Element;
|
|
2111
|
+
|
|
2112
|
+
declare const ForexAccountStatements: () => react_jsx_runtime.JSX.Element;
|
|
2113
|
+
|
|
2080
2114
|
declare const StockLevel: ({ value }: {
|
|
2081
2115
|
value: boolean;
|
|
2082
2116
|
}) => react_jsx_runtime.JSX.Element;
|
|
2083
2117
|
|
|
2084
2118
|
declare const ProfitAndLossReport: () => react_jsx_runtime.JSX.Element;
|
|
2085
2119
|
|
|
2086
|
-
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, 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, 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 };
|
|
2120
|
+
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 };
|