warqadui 0.0.169 → 0.0.171
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 +58 -23
- package/dist/index.d.ts +58 -23
- package/dist/index.js +150678 -106971
- package/dist/index.mjs +63621 -17254
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -392,7 +392,7 @@ declare const Enums: {
|
|
|
392
392
|
journalTypes: readonly ["journal"];
|
|
393
393
|
viaTypes: readonly ["direct", "via account"];
|
|
394
394
|
actionTypes: readonly ["credit", "debit"];
|
|
395
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease"];
|
|
395
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease", "expense account"];
|
|
396
396
|
stockTypes: readonly ["pack", "product"];
|
|
397
397
|
saleStockTypes: readonly ["pack", "product"];
|
|
398
398
|
sale: readonly ["cash", "credit"];
|
|
@@ -406,6 +406,7 @@ declare const Enums: {
|
|
|
406
406
|
messageTypes: readonly ["whatsapp"];
|
|
407
407
|
leaseTypes: readonly ["sale", "rent"];
|
|
408
408
|
leaseAction: readonly ["journal", "payment"];
|
|
409
|
+
expenseAccount: readonly ["branch", "account"];
|
|
409
410
|
};
|
|
410
411
|
|
|
411
412
|
interface ThemeConfig {
|
|
@@ -1097,7 +1098,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1097
1098
|
declare const Views: {
|
|
1098
1099
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1099
1100
|
id: string;
|
|
1100
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | undefined;
|
|
1101
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | "expense account" | undefined;
|
|
1101
1102
|
close: () => void;
|
|
1102
1103
|
reverseable?: {
|
|
1103
1104
|
reload: () => void;
|
|
@@ -1434,6 +1435,7 @@ declare const createAccountSchema: z$1.ZodObject<{
|
|
|
1434
1435
|
}>>;
|
|
1435
1436
|
}, "strip", z$1.ZodTypeAny, {
|
|
1436
1437
|
name: string;
|
|
1438
|
+
branch?: string | undefined;
|
|
1437
1439
|
sex?: "male" | "female" | undefined;
|
|
1438
1440
|
email?: string | undefined;
|
|
1439
1441
|
document?: {
|
|
@@ -1446,10 +1448,10 @@ declare const createAccountSchema: z$1.ZodObject<{
|
|
|
1446
1448
|
} | undefined;
|
|
1447
1449
|
currency?: string | undefined;
|
|
1448
1450
|
phoneNumber?: string | undefined;
|
|
1449
|
-
branch?: string | undefined;
|
|
1450
1451
|
documentType?: "none" | "id" | "passport" | "license" | undefined;
|
|
1451
1452
|
}, {
|
|
1452
1453
|
name: string;
|
|
1454
|
+
branch?: string | undefined;
|
|
1453
1455
|
sex?: "male" | "female" | undefined;
|
|
1454
1456
|
email?: string | undefined;
|
|
1455
1457
|
document?: {
|
|
@@ -1462,7 +1464,6 @@ declare const createAccountSchema: z$1.ZodObject<{
|
|
|
1462
1464
|
} | undefined;
|
|
1463
1465
|
currency?: string | undefined;
|
|
1464
1466
|
phoneNumber?: string | undefined;
|
|
1465
|
-
branch?: string | undefined;
|
|
1466
1467
|
documentType?: "none" | "id" | "passport" | "license" | undefined;
|
|
1467
1468
|
}>;
|
|
1468
1469
|
type CreateAccountSchemaType = z$1.infer<typeof createAccountSchema>;
|
|
@@ -1842,15 +1843,15 @@ declare const createPackSchema: z$1.ZodObject<{
|
|
|
1842
1843
|
type CreatePackSchemaType = z$1.infer<typeof createPackSchema>;
|
|
1843
1844
|
type PackProductItemSchemaType = z$1.infer<typeof packProductItemSchema>;
|
|
1844
1845
|
|
|
1845
|
-
declare function Journals({ url, journalType, }: {
|
|
1846
|
+
declare function Journals$1({ url, journalType, }: {
|
|
1846
1847
|
url?: string;
|
|
1847
1848
|
journalType?: string;
|
|
1848
1849
|
}): react_jsx_runtime.JSX.Element;
|
|
1849
1850
|
|
|
1850
|
-
type accountType = (typeof Enums.accountTypes)[number] | "all";
|
|
1851
|
-
declare function JournalForm({ isFee, accountType, }: {
|
|
1851
|
+
type accountType$1 = (typeof Enums.accountTypes)[number] | "all";
|
|
1852
|
+
declare function JournalForm$1({ isFee, accountType, }: {
|
|
1852
1853
|
isFee?: boolean;
|
|
1853
|
-
accountType?: accountType;
|
|
1854
|
+
accountType?: accountType$1;
|
|
1854
1855
|
}): react_jsx_runtime.JSX.Element;
|
|
1855
1856
|
|
|
1856
1857
|
declare const journalSchema: z$1.ZodObject<{
|
|
@@ -1898,12 +1899,12 @@ declare const journalSchema: z$1.ZodObject<{
|
|
|
1898
1899
|
}>;
|
|
1899
1900
|
type JournalSchemaType = z$1.infer<typeof journalSchema>;
|
|
1900
1901
|
|
|
1901
|
-
declare function Payments({ url, paymentType, }: {
|
|
1902
|
+
declare function Payments$1({ url, paymentType, }: {
|
|
1902
1903
|
url?: string;
|
|
1903
1904
|
paymentType?: string;
|
|
1904
1905
|
}): react_jsx_runtime.JSX.Element;
|
|
1905
1906
|
|
|
1906
|
-
declare function PaymentForm({ accountType, }: {
|
|
1907
|
+
declare function PaymentForm$1({ accountType, }: {
|
|
1907
1908
|
accountType?: (typeof Enums.accountTypes)[number] | "all";
|
|
1908
1909
|
}): react_jsx_runtime.JSX.Element;
|
|
1909
1910
|
|
|
@@ -1927,8 +1928,8 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1927
1928
|
amount: number;
|
|
1928
1929
|
action: "credit" | "debit";
|
|
1929
1930
|
wallet: string;
|
|
1930
|
-
note?: string | undefined;
|
|
1931
1931
|
branch?: string | undefined;
|
|
1932
|
+
note?: string | undefined;
|
|
1932
1933
|
fee?: number | undefined;
|
|
1933
1934
|
rate?: number | undefined;
|
|
1934
1935
|
accountObject?: any;
|
|
@@ -1940,8 +1941,8 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1940
1941
|
amount: number;
|
|
1941
1942
|
action: "credit" | "debit";
|
|
1942
1943
|
wallet: string;
|
|
1943
|
-
note?: string | undefined;
|
|
1944
1944
|
branch?: string | undefined;
|
|
1945
|
+
note?: string | undefined;
|
|
1945
1946
|
fee?: number | undefined;
|
|
1946
1947
|
rate?: number | undefined;
|
|
1947
1948
|
accountObject?: any;
|
|
@@ -1971,8 +1972,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1971
1972
|
amount: number;
|
|
1972
1973
|
fromWallet: string;
|
|
1973
1974
|
toWallet: string;
|
|
1974
|
-
note?: string | undefined;
|
|
1975
1975
|
branch?: string | undefined;
|
|
1976
|
+
note?: string | undefined;
|
|
1976
1977
|
fee?: number | undefined;
|
|
1977
1978
|
rate?: number | undefined;
|
|
1978
1979
|
fromWalletObject?: any;
|
|
@@ -1982,8 +1983,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1982
1983
|
amount: number;
|
|
1983
1984
|
fromWallet: string;
|
|
1984
1985
|
toWallet: string;
|
|
1985
|
-
note?: string | undefined;
|
|
1986
1986
|
branch?: string | undefined;
|
|
1987
|
+
note?: string | undefined;
|
|
1987
1988
|
fee?: number | undefined;
|
|
1988
1989
|
rate?: number | undefined;
|
|
1989
1990
|
fromWalletObject?: any;
|
|
@@ -2010,16 +2011,16 @@ declare const expenseSchema: z$1.ZodObject<{
|
|
|
2010
2011
|
description: string;
|
|
2011
2012
|
amount: number;
|
|
2012
2013
|
wallet: string;
|
|
2013
|
-
note?: string | undefined;
|
|
2014
2014
|
branch?: string | undefined;
|
|
2015
|
+
note?: string | undefined;
|
|
2015
2016
|
walletObject?: any;
|
|
2016
2017
|
}, {
|
|
2017
2018
|
date: string;
|
|
2018
2019
|
description: string;
|
|
2019
2020
|
amount: number;
|
|
2020
2021
|
wallet: string;
|
|
2021
|
-
note?: string | undefined;
|
|
2022
2022
|
branch?: string | undefined;
|
|
2023
|
+
note?: string | undefined;
|
|
2023
2024
|
walletObject?: any;
|
|
2024
2025
|
}>;
|
|
2025
2026
|
type ExpenseSchemaType = z$1.infer<typeof expenseSchema>;
|
|
@@ -2085,8 +2086,8 @@ declare const walletAdjustmentSchema: z$1.ZodObject<{
|
|
|
2085
2086
|
amount: number;
|
|
2086
2087
|
action: "credit" | "debit";
|
|
2087
2088
|
wallet: string;
|
|
2088
|
-
note?: string | undefined;
|
|
2089
2089
|
branch?: string | undefined;
|
|
2090
|
+
note?: string | undefined;
|
|
2090
2091
|
walletObject?: any;
|
|
2091
2092
|
}, {
|
|
2092
2093
|
date: string;
|
|
@@ -2094,8 +2095,8 @@ declare const walletAdjustmentSchema: z$1.ZodObject<{
|
|
|
2094
2095
|
amount: number;
|
|
2095
2096
|
action: "credit" | "debit";
|
|
2096
2097
|
wallet: string;
|
|
2097
|
-
note?: string | undefined;
|
|
2098
2098
|
branch?: string | undefined;
|
|
2099
|
+
note?: string | undefined;
|
|
2099
2100
|
walletObject?: any;
|
|
2100
2101
|
}>;
|
|
2101
2102
|
type WalletAdjustmentSchemaType = z$1.infer<typeof walletAdjustmentSchema>;
|
|
@@ -2124,8 +2125,8 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
2124
2125
|
description: string;
|
|
2125
2126
|
amount: number;
|
|
2126
2127
|
wallet: string;
|
|
2127
|
-
note?: string | undefined;
|
|
2128
2128
|
branch?: string | undefined;
|
|
2129
|
+
note?: string | undefined;
|
|
2129
2130
|
fee?: number | undefined;
|
|
2130
2131
|
rate?: number | undefined;
|
|
2131
2132
|
accountObject?: any;
|
|
@@ -2136,8 +2137,8 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
2136
2137
|
description: string;
|
|
2137
2138
|
amount: number;
|
|
2138
2139
|
wallet: string;
|
|
2139
|
-
note?: string | undefined;
|
|
2140
2140
|
branch?: string | undefined;
|
|
2141
|
+
note?: string | undefined;
|
|
2141
2142
|
fee?: number | undefined;
|
|
2142
2143
|
rate?: number | undefined;
|
|
2143
2144
|
accountObject?: any;
|
|
@@ -2201,8 +2202,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2201
2202
|
rmbToAedRate: number;
|
|
2202
2203
|
aedToUsdRate: number;
|
|
2203
2204
|
rmbToUsdRate: number;
|
|
2204
|
-
note?: string | undefined;
|
|
2205
2205
|
branch?: string | undefined;
|
|
2206
|
+
note?: string | undefined;
|
|
2206
2207
|
viaAccountObject?: any;
|
|
2207
2208
|
accountObject?: any;
|
|
2208
2209
|
}, {
|
|
@@ -2214,8 +2215,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2214
2215
|
rmbToAedRate: number;
|
|
2215
2216
|
aedToUsdRate: number;
|
|
2216
2217
|
rmbToUsdRate: number;
|
|
2217
|
-
note?: string | undefined;
|
|
2218
2218
|
branch?: string | undefined;
|
|
2219
|
+
note?: string | undefined;
|
|
2219
2220
|
viaAccountObject?: any;
|
|
2220
2221
|
accountObject?: any;
|
|
2221
2222
|
}>;
|
|
@@ -2338,4 +2339,38 @@ declare const Lease: {
|
|
|
2338
2339
|
EndLeaseForm: typeof EndLeaseForm;
|
|
2339
2340
|
};
|
|
2340
2341
|
|
|
2341
|
-
|
|
2342
|
+
declare function ExpenseAccount({ url }: {
|
|
2343
|
+
url?: string;
|
|
2344
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2345
|
+
|
|
2346
|
+
declare function ExpenseAccountForm(): react_jsx_runtime.JSX.Element;
|
|
2347
|
+
|
|
2348
|
+
type accountType = (typeof Enums.accountTypes)[number] | "all";
|
|
2349
|
+
declare function JournalForm({ accountType }: {
|
|
2350
|
+
accountType?: accountType;
|
|
2351
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2352
|
+
|
|
2353
|
+
declare function Journals({ url, journalType, }: {
|
|
2354
|
+
url?: string;
|
|
2355
|
+
journalType?: string;
|
|
2356
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2357
|
+
|
|
2358
|
+
declare function PaymentForm({ accountType, }: {
|
|
2359
|
+
accountType?: (typeof Enums.accountTypes)[number] | "all";
|
|
2360
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2361
|
+
|
|
2362
|
+
declare function Payments({ url, paymentType, }: {
|
|
2363
|
+
url?: string;
|
|
2364
|
+
paymentType?: string;
|
|
2365
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2366
|
+
|
|
2367
|
+
declare const CurrencyTransactions: {
|
|
2368
|
+
JournalForm: typeof JournalForm;
|
|
2369
|
+
Journals: typeof Journals;
|
|
2370
|
+
PaymentForm: typeof PaymentForm;
|
|
2371
|
+
Payments: typeof Payments;
|
|
2372
|
+
ExpenseAccount: typeof ExpenseAccount;
|
|
2373
|
+
ExpenseAccountForm: typeof ExpenseAccountForm;
|
|
2374
|
+
};
|
|
2375
|
+
|
|
2376
|
+
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, CurrencyTransactions, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, DateSalesReport, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, Floors, ForexAccountReport, ForexAccountStatements, ForexAccounts, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexExpenseForm, ForexExpenses, ForexExpensesReport, ForexTransactions, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm$1 as JournalForm, type JournalSchemaType, Journals$1 as Journals, Lease, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Messages, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm$1 as PaymentForm, type PaymentSchemaType, Payments$1 as 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, TodayForexTransaction, UnProtectedRoute, Units, 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, useWarqadSocket, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -392,7 +392,7 @@ declare const Enums: {
|
|
|
392
392
|
journalTypes: readonly ["journal"];
|
|
393
393
|
viaTypes: readonly ["direct", "via account"];
|
|
394
394
|
actionTypes: readonly ["credit", "debit"];
|
|
395
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease"];
|
|
395
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease", "expense account"];
|
|
396
396
|
stockTypes: readonly ["pack", "product"];
|
|
397
397
|
saleStockTypes: readonly ["pack", "product"];
|
|
398
398
|
sale: readonly ["cash", "credit"];
|
|
@@ -406,6 +406,7 @@ declare const Enums: {
|
|
|
406
406
|
messageTypes: readonly ["whatsapp"];
|
|
407
407
|
leaseTypes: readonly ["sale", "rent"];
|
|
408
408
|
leaseAction: readonly ["journal", "payment"];
|
|
409
|
+
expenseAccount: readonly ["branch", "account"];
|
|
409
410
|
};
|
|
410
411
|
|
|
411
412
|
interface ThemeConfig {
|
|
@@ -1097,7 +1098,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1097
1098
|
declare const Views: {
|
|
1098
1099
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1099
1100
|
id: string;
|
|
1100
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | undefined;
|
|
1101
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | "expense account" | undefined;
|
|
1101
1102
|
close: () => void;
|
|
1102
1103
|
reverseable?: {
|
|
1103
1104
|
reload: () => void;
|
|
@@ -1434,6 +1435,7 @@ declare const createAccountSchema: z$1.ZodObject<{
|
|
|
1434
1435
|
}>>;
|
|
1435
1436
|
}, "strip", z$1.ZodTypeAny, {
|
|
1436
1437
|
name: string;
|
|
1438
|
+
branch?: string | undefined;
|
|
1437
1439
|
sex?: "male" | "female" | undefined;
|
|
1438
1440
|
email?: string | undefined;
|
|
1439
1441
|
document?: {
|
|
@@ -1446,10 +1448,10 @@ declare const createAccountSchema: z$1.ZodObject<{
|
|
|
1446
1448
|
} | undefined;
|
|
1447
1449
|
currency?: string | undefined;
|
|
1448
1450
|
phoneNumber?: string | undefined;
|
|
1449
|
-
branch?: string | undefined;
|
|
1450
1451
|
documentType?: "none" | "id" | "passport" | "license" | undefined;
|
|
1451
1452
|
}, {
|
|
1452
1453
|
name: string;
|
|
1454
|
+
branch?: string | undefined;
|
|
1453
1455
|
sex?: "male" | "female" | undefined;
|
|
1454
1456
|
email?: string | undefined;
|
|
1455
1457
|
document?: {
|
|
@@ -1462,7 +1464,6 @@ declare const createAccountSchema: z$1.ZodObject<{
|
|
|
1462
1464
|
} | undefined;
|
|
1463
1465
|
currency?: string | undefined;
|
|
1464
1466
|
phoneNumber?: string | undefined;
|
|
1465
|
-
branch?: string | undefined;
|
|
1466
1467
|
documentType?: "none" | "id" | "passport" | "license" | undefined;
|
|
1467
1468
|
}>;
|
|
1468
1469
|
type CreateAccountSchemaType = z$1.infer<typeof createAccountSchema>;
|
|
@@ -1842,15 +1843,15 @@ declare const createPackSchema: z$1.ZodObject<{
|
|
|
1842
1843
|
type CreatePackSchemaType = z$1.infer<typeof createPackSchema>;
|
|
1843
1844
|
type PackProductItemSchemaType = z$1.infer<typeof packProductItemSchema>;
|
|
1844
1845
|
|
|
1845
|
-
declare function Journals({ url, journalType, }: {
|
|
1846
|
+
declare function Journals$1({ url, journalType, }: {
|
|
1846
1847
|
url?: string;
|
|
1847
1848
|
journalType?: string;
|
|
1848
1849
|
}): react_jsx_runtime.JSX.Element;
|
|
1849
1850
|
|
|
1850
|
-
type accountType = (typeof Enums.accountTypes)[number] | "all";
|
|
1851
|
-
declare function JournalForm({ isFee, accountType, }: {
|
|
1851
|
+
type accountType$1 = (typeof Enums.accountTypes)[number] | "all";
|
|
1852
|
+
declare function JournalForm$1({ isFee, accountType, }: {
|
|
1852
1853
|
isFee?: boolean;
|
|
1853
|
-
accountType?: accountType;
|
|
1854
|
+
accountType?: accountType$1;
|
|
1854
1855
|
}): react_jsx_runtime.JSX.Element;
|
|
1855
1856
|
|
|
1856
1857
|
declare const journalSchema: z$1.ZodObject<{
|
|
@@ -1898,12 +1899,12 @@ declare const journalSchema: z$1.ZodObject<{
|
|
|
1898
1899
|
}>;
|
|
1899
1900
|
type JournalSchemaType = z$1.infer<typeof journalSchema>;
|
|
1900
1901
|
|
|
1901
|
-
declare function Payments({ url, paymentType, }: {
|
|
1902
|
+
declare function Payments$1({ url, paymentType, }: {
|
|
1902
1903
|
url?: string;
|
|
1903
1904
|
paymentType?: string;
|
|
1904
1905
|
}): react_jsx_runtime.JSX.Element;
|
|
1905
1906
|
|
|
1906
|
-
declare function PaymentForm({ accountType, }: {
|
|
1907
|
+
declare function PaymentForm$1({ accountType, }: {
|
|
1907
1908
|
accountType?: (typeof Enums.accountTypes)[number] | "all";
|
|
1908
1909
|
}): react_jsx_runtime.JSX.Element;
|
|
1909
1910
|
|
|
@@ -1927,8 +1928,8 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1927
1928
|
amount: number;
|
|
1928
1929
|
action: "credit" | "debit";
|
|
1929
1930
|
wallet: string;
|
|
1930
|
-
note?: string | undefined;
|
|
1931
1931
|
branch?: string | undefined;
|
|
1932
|
+
note?: string | undefined;
|
|
1932
1933
|
fee?: number | undefined;
|
|
1933
1934
|
rate?: number | undefined;
|
|
1934
1935
|
accountObject?: any;
|
|
@@ -1940,8 +1941,8 @@ declare const paymentSchema: z$1.ZodObject<{
|
|
|
1940
1941
|
amount: number;
|
|
1941
1942
|
action: "credit" | "debit";
|
|
1942
1943
|
wallet: string;
|
|
1943
|
-
note?: string | undefined;
|
|
1944
1944
|
branch?: string | undefined;
|
|
1945
|
+
note?: string | undefined;
|
|
1945
1946
|
fee?: number | undefined;
|
|
1946
1947
|
rate?: number | undefined;
|
|
1947
1948
|
accountObject?: any;
|
|
@@ -1971,8 +1972,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1971
1972
|
amount: number;
|
|
1972
1973
|
fromWallet: string;
|
|
1973
1974
|
toWallet: string;
|
|
1974
|
-
note?: string | undefined;
|
|
1975
1975
|
branch?: string | undefined;
|
|
1976
|
+
note?: string | undefined;
|
|
1976
1977
|
fee?: number | undefined;
|
|
1977
1978
|
rate?: number | undefined;
|
|
1978
1979
|
fromWalletObject?: any;
|
|
@@ -1982,8 +1983,8 @@ declare const moneyTransferSchema: z$1.ZodObject<{
|
|
|
1982
1983
|
amount: number;
|
|
1983
1984
|
fromWallet: string;
|
|
1984
1985
|
toWallet: string;
|
|
1985
|
-
note?: string | undefined;
|
|
1986
1986
|
branch?: string | undefined;
|
|
1987
|
+
note?: string | undefined;
|
|
1987
1988
|
fee?: number | undefined;
|
|
1988
1989
|
rate?: number | undefined;
|
|
1989
1990
|
fromWalletObject?: any;
|
|
@@ -2010,16 +2011,16 @@ declare const expenseSchema: z$1.ZodObject<{
|
|
|
2010
2011
|
description: string;
|
|
2011
2012
|
amount: number;
|
|
2012
2013
|
wallet: string;
|
|
2013
|
-
note?: string | undefined;
|
|
2014
2014
|
branch?: string | undefined;
|
|
2015
|
+
note?: string | undefined;
|
|
2015
2016
|
walletObject?: any;
|
|
2016
2017
|
}, {
|
|
2017
2018
|
date: string;
|
|
2018
2019
|
description: string;
|
|
2019
2020
|
amount: number;
|
|
2020
2021
|
wallet: string;
|
|
2021
|
-
note?: string | undefined;
|
|
2022
2022
|
branch?: string | undefined;
|
|
2023
|
+
note?: string | undefined;
|
|
2023
2024
|
walletObject?: any;
|
|
2024
2025
|
}>;
|
|
2025
2026
|
type ExpenseSchemaType = z$1.infer<typeof expenseSchema>;
|
|
@@ -2085,8 +2086,8 @@ declare const walletAdjustmentSchema: z$1.ZodObject<{
|
|
|
2085
2086
|
amount: number;
|
|
2086
2087
|
action: "credit" | "debit";
|
|
2087
2088
|
wallet: string;
|
|
2088
|
-
note?: string | undefined;
|
|
2089
2089
|
branch?: string | undefined;
|
|
2090
|
+
note?: string | undefined;
|
|
2090
2091
|
walletObject?: any;
|
|
2091
2092
|
}, {
|
|
2092
2093
|
date: string;
|
|
@@ -2094,8 +2095,8 @@ declare const walletAdjustmentSchema: z$1.ZodObject<{
|
|
|
2094
2095
|
amount: number;
|
|
2095
2096
|
action: "credit" | "debit";
|
|
2096
2097
|
wallet: string;
|
|
2097
|
-
note?: string | undefined;
|
|
2098
2098
|
branch?: string | undefined;
|
|
2099
|
+
note?: string | undefined;
|
|
2099
2100
|
walletObject?: any;
|
|
2100
2101
|
}>;
|
|
2101
2102
|
type WalletAdjustmentSchemaType = z$1.infer<typeof walletAdjustmentSchema>;
|
|
@@ -2124,8 +2125,8 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
2124
2125
|
description: string;
|
|
2125
2126
|
amount: number;
|
|
2126
2127
|
wallet: string;
|
|
2127
|
-
note?: string | undefined;
|
|
2128
2128
|
branch?: string | undefined;
|
|
2129
|
+
note?: string | undefined;
|
|
2129
2130
|
fee?: number | undefined;
|
|
2130
2131
|
rate?: number | undefined;
|
|
2131
2132
|
accountObject?: any;
|
|
@@ -2136,8 +2137,8 @@ declare const forexTransferSchema: z$1.ZodObject<{
|
|
|
2136
2137
|
description: string;
|
|
2137
2138
|
amount: number;
|
|
2138
2139
|
wallet: string;
|
|
2139
|
-
note?: string | undefined;
|
|
2140
2140
|
branch?: string | undefined;
|
|
2141
|
+
note?: string | undefined;
|
|
2141
2142
|
fee?: number | undefined;
|
|
2142
2143
|
rate?: number | undefined;
|
|
2143
2144
|
accountObject?: any;
|
|
@@ -2201,8 +2202,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2201
2202
|
rmbToAedRate: number;
|
|
2202
2203
|
aedToUsdRate: number;
|
|
2203
2204
|
rmbToUsdRate: number;
|
|
2204
|
-
note?: string | undefined;
|
|
2205
2205
|
branch?: string | undefined;
|
|
2206
|
+
note?: string | undefined;
|
|
2206
2207
|
viaAccountObject?: any;
|
|
2207
2208
|
accountObject?: any;
|
|
2208
2209
|
}, {
|
|
@@ -2214,8 +2215,8 @@ declare const forexDubaiToChinaSchema: z$1.ZodObject<{
|
|
|
2214
2215
|
rmbToAedRate: number;
|
|
2215
2216
|
aedToUsdRate: number;
|
|
2216
2217
|
rmbToUsdRate: number;
|
|
2217
|
-
note?: string | undefined;
|
|
2218
2218
|
branch?: string | undefined;
|
|
2219
|
+
note?: string | undefined;
|
|
2219
2220
|
viaAccountObject?: any;
|
|
2220
2221
|
accountObject?: any;
|
|
2221
2222
|
}>;
|
|
@@ -2338,4 +2339,38 @@ declare const Lease: {
|
|
|
2338
2339
|
EndLeaseForm: typeof EndLeaseForm;
|
|
2339
2340
|
};
|
|
2340
2341
|
|
|
2341
|
-
|
|
2342
|
+
declare function ExpenseAccount({ url }: {
|
|
2343
|
+
url?: string;
|
|
2344
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2345
|
+
|
|
2346
|
+
declare function ExpenseAccountForm(): react_jsx_runtime.JSX.Element;
|
|
2347
|
+
|
|
2348
|
+
type accountType = (typeof Enums.accountTypes)[number] | "all";
|
|
2349
|
+
declare function JournalForm({ accountType }: {
|
|
2350
|
+
accountType?: accountType;
|
|
2351
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2352
|
+
|
|
2353
|
+
declare function Journals({ url, journalType, }: {
|
|
2354
|
+
url?: string;
|
|
2355
|
+
journalType?: string;
|
|
2356
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2357
|
+
|
|
2358
|
+
declare function PaymentForm({ accountType, }: {
|
|
2359
|
+
accountType?: (typeof Enums.accountTypes)[number] | "all";
|
|
2360
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2361
|
+
|
|
2362
|
+
declare function Payments({ url, paymentType, }: {
|
|
2363
|
+
url?: string;
|
|
2364
|
+
paymentType?: string;
|
|
2365
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2366
|
+
|
|
2367
|
+
declare const CurrencyTransactions: {
|
|
2368
|
+
JournalForm: typeof JournalForm;
|
|
2369
|
+
Journals: typeof Journals;
|
|
2370
|
+
PaymentForm: typeof PaymentForm;
|
|
2371
|
+
Payments: typeof Payments;
|
|
2372
|
+
ExpenseAccount: typeof ExpenseAccount;
|
|
2373
|
+
ExpenseAccountForm: typeof ExpenseAccountForm;
|
|
2374
|
+
};
|
|
2375
|
+
|
|
2376
|
+
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, CurrencyTransactions, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, DateSalesReport, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, Floors, ForexAccountReport, ForexAccountStatements, ForexAccounts, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexExpenseForm, ForexExpenses, ForexExpensesReport, ForexTransactions, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm$1 as JournalForm, type JournalSchemaType, Journals$1 as Journals, Lease, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Messages, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm$1 as PaymentForm, type PaymentSchemaType, Payments$1 as 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, TodayForexTransaction, UnProtectedRoute, Units, 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, useWarqadSocket, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|