warqadui 0.0.103 → 0.0.105
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 +60 -11
- package/dist/index.d.ts +60 -11
- package/dist/index.js +1399 -711
- package/dist/index.mjs +1390 -696
- package/dist/styles.js +30 -0
- package/dist/styles.mjs +30 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -378,12 +378,12 @@ declare const Enums: {
|
|
|
378
378
|
verificationTypes: readonly ["email_verification", "password_reset"];
|
|
379
379
|
auditActions: readonly ["create", "update", "delete", "login", "logout"];
|
|
380
380
|
walletTypes: readonly ["bank", "cash", "mobile"];
|
|
381
|
-
currencies: readonly ["USD", "TZS", "KES", "
|
|
381
|
+
currencies: readonly ["USD", "TZS", "KES", "RMB"];
|
|
382
382
|
packTypes: readonly ["pressure", "bag", "boxes"];
|
|
383
383
|
journalTypes: readonly ["journal"];
|
|
384
384
|
viaTypes: readonly ["direct", "via account"];
|
|
385
385
|
actionTypes: readonly ["credit", "debit"];
|
|
386
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment"];
|
|
386
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer"];
|
|
387
387
|
};
|
|
388
388
|
|
|
389
389
|
interface ThemeConfig {
|
|
@@ -546,6 +546,7 @@ interface DataTableProps<TData, TValue> {
|
|
|
546
546
|
searchPlaceholder?: string;
|
|
547
547
|
className?: string;
|
|
548
548
|
verticalLines?: boolean;
|
|
549
|
+
verclines?: boolean;
|
|
549
550
|
rowPadding?: string;
|
|
550
551
|
index?: boolean;
|
|
551
552
|
renderSubComponent?: (props: {
|
|
@@ -570,7 +571,7 @@ interface DataTableProps<TData, TValue> {
|
|
|
570
571
|
filterables?: boolean;
|
|
571
572
|
emptyState?: React__default.ReactNode;
|
|
572
573
|
}
|
|
573
|
-
declare function DataTable<TData, TValue>({ columns: userColumns, data, isLoading, pageRows, searchPlaceholder, className, verticalLines, rowPadding, index, renderSubComponent, hasSubComponent, // default to true
|
|
574
|
+
declare function DataTable<TData, TValue>({ columns: userColumns, data, isLoading, pageRows, searchPlaceholder, className, verticalLines: userVerticalLines, verclines, rowPadding, index, renderSubComponent, hasSubComponent, // default to true
|
|
574
575
|
defaultExpanded, onChange, selectable, filterables, emptyState, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
575
576
|
|
|
576
577
|
declare module "@tanstack/react-table" {
|
|
@@ -604,6 +605,7 @@ interface PostTableProps<TData> {
|
|
|
604
605
|
isLoading?: boolean;
|
|
605
606
|
className?: string;
|
|
606
607
|
verticalLines?: boolean;
|
|
608
|
+
verclines?: boolean;
|
|
607
609
|
rowPadding?: string;
|
|
608
610
|
index?: boolean;
|
|
609
611
|
renderAddButton?: (entryData: Partial<TData>, handleSaveField: () => void, isSaving: boolean) => React__default.ReactNode;
|
|
@@ -618,7 +620,7 @@ interface PostTableProps<TData> {
|
|
|
618
620
|
onEdit?: (row: TData) => void;
|
|
619
621
|
onDelete?: (row: TData) => void;
|
|
620
622
|
}
|
|
621
|
-
declare function PostTable<TData extends Record<string, any>>({ columns: userColumns, data: controlledData, onChange, isLoading, className, verticalLines, rowPadding, index, renderAddButton, renderSubComponent, hasSubComponent, // default to true if renderSubComponent is provided
|
|
623
|
+
declare function PostTable<TData extends Record<string, any>>({ columns: userColumns, data: controlledData, onChange, isLoading, className, verticalLines: userVerticalLines, verclines, rowPadding, index, renderAddButton, renderSubComponent, hasSubComponent, // default to true if renderSubComponent is provided
|
|
622
624
|
defaultExpanded, submitLoading, onCancel, onEdit, onDelete, }: PostTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
623
625
|
|
|
624
626
|
type SimpleTableColumn<TData> = ColumnDef<TData, any> & {
|
|
@@ -639,6 +641,7 @@ interface SimpleTableProps<TData> {
|
|
|
639
641
|
renderFooter?: () => React__default.ReactNode;
|
|
640
642
|
rowPadding?: string;
|
|
641
643
|
verticalLines?: boolean;
|
|
644
|
+
verclines?: boolean;
|
|
642
645
|
index?: boolean;
|
|
643
646
|
startIndex?: number;
|
|
644
647
|
isLoading?: boolean;
|
|
@@ -648,7 +651,7 @@ interface SimpleTableProps<TData> {
|
|
|
648
651
|
skeletonCount?: number;
|
|
649
652
|
fixed?: boolean;
|
|
650
653
|
}
|
|
651
|
-
declare function SimpleTable<TData>({ columns: userColumns, data, className, renderFooter: componentFooter, rowPadding, verticalLines, index, startIndex, isLoading, title, enableSearch, emptyState, skeletonCount, fixed, }: SimpleTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
654
|
+
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;
|
|
652
655
|
|
|
653
656
|
interface SummaryColumn<T> {
|
|
654
657
|
title: React__default.ReactNode;
|
|
@@ -662,8 +665,9 @@ interface SummaryTableProps<T> {
|
|
|
662
665
|
data: T[];
|
|
663
666
|
className?: string;
|
|
664
667
|
isLoading?: boolean;
|
|
668
|
+
verclines?: boolean;
|
|
665
669
|
}
|
|
666
|
-
declare function SummaryTable<T>({ title, columns, data, className, isLoading, }: SummaryTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
670
|
+
declare function SummaryTable<T>({ title, columns, data, className, isLoading, verclines, }: SummaryTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
667
671
|
|
|
668
672
|
interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
669
673
|
variant?: "primary" | "danger" | "warning" | "success";
|
|
@@ -1011,7 +1015,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1011
1015
|
declare const Views: {
|
|
1012
1016
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1013
1017
|
id: string;
|
|
1014
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | undefined;
|
|
1018
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | undefined;
|
|
1015
1019
|
close: () => void;
|
|
1016
1020
|
reverseable?: {
|
|
1017
1021
|
reload: () => void;
|
|
@@ -1445,19 +1449,19 @@ declare const WalletField: {
|
|
|
1445
1449
|
declare const createWalletSchema: z$1.ZodObject<{
|
|
1446
1450
|
name: z$1.ZodString;
|
|
1447
1451
|
type: z$1.ZodEnum<["bank", "cash", "mobile"]>;
|
|
1448
|
-
currency: z$1.ZodEnum<["USD", "TZS", "KES", "
|
|
1452
|
+
currency: z$1.ZodEnum<["USD", "TZS", "KES", "RMB"]>;
|
|
1449
1453
|
accountNo: z$1.ZodOptional<z$1.ZodString>;
|
|
1450
1454
|
branch: z$1.ZodOptional<z$1.ZodString>;
|
|
1451
1455
|
}, "strip", z$1.ZodTypeAny, {
|
|
1452
1456
|
name: string;
|
|
1453
1457
|
type: "bank" | "cash" | "mobile";
|
|
1454
|
-
currency: "USD" | "TZS" | "KES" | "
|
|
1458
|
+
currency: "USD" | "TZS" | "KES" | "RMB";
|
|
1455
1459
|
branch?: string | undefined;
|
|
1456
1460
|
accountNo?: string | undefined;
|
|
1457
1461
|
}, {
|
|
1458
1462
|
name: string;
|
|
1459
1463
|
type: "bank" | "cash" | "mobile";
|
|
1460
|
-
currency: "USD" | "TZS" | "KES" | "
|
|
1464
|
+
currency: "USD" | "TZS" | "KES" | "RMB";
|
|
1461
1465
|
branch?: string | undefined;
|
|
1462
1466
|
accountNo?: string | undefined;
|
|
1463
1467
|
}>;
|
|
@@ -1920,4 +1924,49 @@ declare const walletAdjustmentSchema: z$1.ZodObject<{
|
|
|
1920
1924
|
}>;
|
|
1921
1925
|
type WalletAdjustmentSchemaType = z$1.infer<typeof walletAdjustmentSchema>;
|
|
1922
1926
|
|
|
1923
|
-
|
|
1927
|
+
declare function ForexTransfers({ url }: {
|
|
1928
|
+
url?: string;
|
|
1929
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1930
|
+
|
|
1931
|
+
declare function ForexTransferForm(): react_jsx_runtime.JSX.Element;
|
|
1932
|
+
|
|
1933
|
+
declare const forexTransferSchema: z$1.ZodObject<{
|
|
1934
|
+
account: z$1.ZodString;
|
|
1935
|
+
wallet: z$1.ZodString;
|
|
1936
|
+
amount: z$1.ZodNumber;
|
|
1937
|
+
date: z$1.ZodEffects<z$1.ZodString, string, string>;
|
|
1938
|
+
description: z$1.ZodString;
|
|
1939
|
+
note: z$1.ZodOptional<z$1.ZodString>;
|
|
1940
|
+
fee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
1941
|
+
branch: z$1.ZodOptional<z$1.ZodString>;
|
|
1942
|
+
accountObject: z$1.ZodOptional<z$1.ZodAny>;
|
|
1943
|
+
walletObject: z$1.ZodOptional<z$1.ZodAny>;
|
|
1944
|
+
rate: z$1.ZodOptional<z$1.ZodNumber>;
|
|
1945
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1946
|
+
account: string;
|
|
1947
|
+
date: string;
|
|
1948
|
+
description: string;
|
|
1949
|
+
amount: number;
|
|
1950
|
+
wallet: string;
|
|
1951
|
+
note?: string | undefined;
|
|
1952
|
+
branch?: string | undefined;
|
|
1953
|
+
accountObject?: any;
|
|
1954
|
+
rate?: number | undefined;
|
|
1955
|
+
fee?: number | undefined;
|
|
1956
|
+
walletObject?: any;
|
|
1957
|
+
}, {
|
|
1958
|
+
account: string;
|
|
1959
|
+
date: string;
|
|
1960
|
+
description: string;
|
|
1961
|
+
amount: number;
|
|
1962
|
+
wallet: string;
|
|
1963
|
+
note?: string | undefined;
|
|
1964
|
+
branch?: string | undefined;
|
|
1965
|
+
accountObject?: any;
|
|
1966
|
+
rate?: number | undefined;
|
|
1967
|
+
fee?: number | undefined;
|
|
1968
|
+
walletObject?: any;
|
|
1969
|
+
}>;
|
|
1970
|
+
type ForexTransferSchemaType = z$1.infer<typeof forexTransferSchema>;
|
|
1971
|
+
|
|
1972
|
+
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, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm, type JournalSchemaType, Journals, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm, type PaymentSchemaType, Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProductField, ProductForm, Products, ProfileCard, type ProfileCardProps, ProfileDropdown, type ProfileDropdownItem, type ProfileDropdownProps, ProfilePage, ProfileView, type ProfileViewInfoItem, type ProfileViewProps, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletReport, WalletStatements, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, type apiConfig, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, expenseSchema, forexTransferSchema, generatePdf, journalSchema, linkUserSchema, type linkUserSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -378,12 +378,12 @@ declare const Enums: {
|
|
|
378
378
|
verificationTypes: readonly ["email_verification", "password_reset"];
|
|
379
379
|
auditActions: readonly ["create", "update", "delete", "login", "logout"];
|
|
380
380
|
walletTypes: readonly ["bank", "cash", "mobile"];
|
|
381
|
-
currencies: readonly ["USD", "TZS", "KES", "
|
|
381
|
+
currencies: readonly ["USD", "TZS", "KES", "RMB"];
|
|
382
382
|
packTypes: readonly ["pressure", "bag", "boxes"];
|
|
383
383
|
journalTypes: readonly ["journal"];
|
|
384
384
|
viaTypes: readonly ["direct", "via account"];
|
|
385
385
|
actionTypes: readonly ["credit", "debit"];
|
|
386
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment"];
|
|
386
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer"];
|
|
387
387
|
};
|
|
388
388
|
|
|
389
389
|
interface ThemeConfig {
|
|
@@ -546,6 +546,7 @@ interface DataTableProps<TData, TValue> {
|
|
|
546
546
|
searchPlaceholder?: string;
|
|
547
547
|
className?: string;
|
|
548
548
|
verticalLines?: boolean;
|
|
549
|
+
verclines?: boolean;
|
|
549
550
|
rowPadding?: string;
|
|
550
551
|
index?: boolean;
|
|
551
552
|
renderSubComponent?: (props: {
|
|
@@ -570,7 +571,7 @@ interface DataTableProps<TData, TValue> {
|
|
|
570
571
|
filterables?: boolean;
|
|
571
572
|
emptyState?: React__default.ReactNode;
|
|
572
573
|
}
|
|
573
|
-
declare function DataTable<TData, TValue>({ columns: userColumns, data, isLoading, pageRows, searchPlaceholder, className, verticalLines, rowPadding, index, renderSubComponent, hasSubComponent, // default to true
|
|
574
|
+
declare function DataTable<TData, TValue>({ columns: userColumns, data, isLoading, pageRows, searchPlaceholder, className, verticalLines: userVerticalLines, verclines, rowPadding, index, renderSubComponent, hasSubComponent, // default to true
|
|
574
575
|
defaultExpanded, onChange, selectable, filterables, emptyState, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
575
576
|
|
|
576
577
|
declare module "@tanstack/react-table" {
|
|
@@ -604,6 +605,7 @@ interface PostTableProps<TData> {
|
|
|
604
605
|
isLoading?: boolean;
|
|
605
606
|
className?: string;
|
|
606
607
|
verticalLines?: boolean;
|
|
608
|
+
verclines?: boolean;
|
|
607
609
|
rowPadding?: string;
|
|
608
610
|
index?: boolean;
|
|
609
611
|
renderAddButton?: (entryData: Partial<TData>, handleSaveField: () => void, isSaving: boolean) => React__default.ReactNode;
|
|
@@ -618,7 +620,7 @@ interface PostTableProps<TData> {
|
|
|
618
620
|
onEdit?: (row: TData) => void;
|
|
619
621
|
onDelete?: (row: TData) => void;
|
|
620
622
|
}
|
|
621
|
-
declare function PostTable<TData extends Record<string, any>>({ columns: userColumns, data: controlledData, onChange, isLoading, className, verticalLines, rowPadding, index, renderAddButton, renderSubComponent, hasSubComponent, // default to true if renderSubComponent is provided
|
|
623
|
+
declare function PostTable<TData extends Record<string, any>>({ columns: userColumns, data: controlledData, onChange, isLoading, className, verticalLines: userVerticalLines, verclines, rowPadding, index, renderAddButton, renderSubComponent, hasSubComponent, // default to true if renderSubComponent is provided
|
|
622
624
|
defaultExpanded, submitLoading, onCancel, onEdit, onDelete, }: PostTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
623
625
|
|
|
624
626
|
type SimpleTableColumn<TData> = ColumnDef<TData, any> & {
|
|
@@ -639,6 +641,7 @@ interface SimpleTableProps<TData> {
|
|
|
639
641
|
renderFooter?: () => React__default.ReactNode;
|
|
640
642
|
rowPadding?: string;
|
|
641
643
|
verticalLines?: boolean;
|
|
644
|
+
verclines?: boolean;
|
|
642
645
|
index?: boolean;
|
|
643
646
|
startIndex?: number;
|
|
644
647
|
isLoading?: boolean;
|
|
@@ -648,7 +651,7 @@ interface SimpleTableProps<TData> {
|
|
|
648
651
|
skeletonCount?: number;
|
|
649
652
|
fixed?: boolean;
|
|
650
653
|
}
|
|
651
|
-
declare function SimpleTable<TData>({ columns: userColumns, data, className, renderFooter: componentFooter, rowPadding, verticalLines, index, startIndex, isLoading, title, enableSearch, emptyState, skeletonCount, fixed, }: SimpleTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
654
|
+
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;
|
|
652
655
|
|
|
653
656
|
interface SummaryColumn<T> {
|
|
654
657
|
title: React__default.ReactNode;
|
|
@@ -662,8 +665,9 @@ interface SummaryTableProps<T> {
|
|
|
662
665
|
data: T[];
|
|
663
666
|
className?: string;
|
|
664
667
|
isLoading?: boolean;
|
|
668
|
+
verclines?: boolean;
|
|
665
669
|
}
|
|
666
|
-
declare function SummaryTable<T>({ title, columns, data, className, isLoading, }: SummaryTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
670
|
+
declare function SummaryTable<T>({ title, columns, data, className, isLoading, verclines, }: SummaryTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
667
671
|
|
|
668
672
|
interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
669
673
|
variant?: "primary" | "danger" | "warning" | "success";
|
|
@@ -1011,7 +1015,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1011
1015
|
declare const Views: {
|
|
1012
1016
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1013
1017
|
id: string;
|
|
1014
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | undefined;
|
|
1018
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | undefined;
|
|
1015
1019
|
close: () => void;
|
|
1016
1020
|
reverseable?: {
|
|
1017
1021
|
reload: () => void;
|
|
@@ -1445,19 +1449,19 @@ declare const WalletField: {
|
|
|
1445
1449
|
declare const createWalletSchema: z$1.ZodObject<{
|
|
1446
1450
|
name: z$1.ZodString;
|
|
1447
1451
|
type: z$1.ZodEnum<["bank", "cash", "mobile"]>;
|
|
1448
|
-
currency: z$1.ZodEnum<["USD", "TZS", "KES", "
|
|
1452
|
+
currency: z$1.ZodEnum<["USD", "TZS", "KES", "RMB"]>;
|
|
1449
1453
|
accountNo: z$1.ZodOptional<z$1.ZodString>;
|
|
1450
1454
|
branch: z$1.ZodOptional<z$1.ZodString>;
|
|
1451
1455
|
}, "strip", z$1.ZodTypeAny, {
|
|
1452
1456
|
name: string;
|
|
1453
1457
|
type: "bank" | "cash" | "mobile";
|
|
1454
|
-
currency: "USD" | "TZS" | "KES" | "
|
|
1458
|
+
currency: "USD" | "TZS" | "KES" | "RMB";
|
|
1455
1459
|
branch?: string | undefined;
|
|
1456
1460
|
accountNo?: string | undefined;
|
|
1457
1461
|
}, {
|
|
1458
1462
|
name: string;
|
|
1459
1463
|
type: "bank" | "cash" | "mobile";
|
|
1460
|
-
currency: "USD" | "TZS" | "KES" | "
|
|
1464
|
+
currency: "USD" | "TZS" | "KES" | "RMB";
|
|
1461
1465
|
branch?: string | undefined;
|
|
1462
1466
|
accountNo?: string | undefined;
|
|
1463
1467
|
}>;
|
|
@@ -1920,4 +1924,49 @@ declare const walletAdjustmentSchema: z$1.ZodObject<{
|
|
|
1920
1924
|
}>;
|
|
1921
1925
|
type WalletAdjustmentSchemaType = z$1.infer<typeof walletAdjustmentSchema>;
|
|
1922
1926
|
|
|
1923
|
-
|
|
1927
|
+
declare function ForexTransfers({ url }: {
|
|
1928
|
+
url?: string;
|
|
1929
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1930
|
+
|
|
1931
|
+
declare function ForexTransferForm(): react_jsx_runtime.JSX.Element;
|
|
1932
|
+
|
|
1933
|
+
declare const forexTransferSchema: z$1.ZodObject<{
|
|
1934
|
+
account: z$1.ZodString;
|
|
1935
|
+
wallet: z$1.ZodString;
|
|
1936
|
+
amount: z$1.ZodNumber;
|
|
1937
|
+
date: z$1.ZodEffects<z$1.ZodString, string, string>;
|
|
1938
|
+
description: z$1.ZodString;
|
|
1939
|
+
note: z$1.ZodOptional<z$1.ZodString>;
|
|
1940
|
+
fee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
1941
|
+
branch: z$1.ZodOptional<z$1.ZodString>;
|
|
1942
|
+
accountObject: z$1.ZodOptional<z$1.ZodAny>;
|
|
1943
|
+
walletObject: z$1.ZodOptional<z$1.ZodAny>;
|
|
1944
|
+
rate: z$1.ZodOptional<z$1.ZodNumber>;
|
|
1945
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1946
|
+
account: string;
|
|
1947
|
+
date: string;
|
|
1948
|
+
description: string;
|
|
1949
|
+
amount: number;
|
|
1950
|
+
wallet: string;
|
|
1951
|
+
note?: string | undefined;
|
|
1952
|
+
branch?: string | undefined;
|
|
1953
|
+
accountObject?: any;
|
|
1954
|
+
rate?: number | undefined;
|
|
1955
|
+
fee?: number | undefined;
|
|
1956
|
+
walletObject?: any;
|
|
1957
|
+
}, {
|
|
1958
|
+
account: string;
|
|
1959
|
+
date: string;
|
|
1960
|
+
description: string;
|
|
1961
|
+
amount: number;
|
|
1962
|
+
wallet: string;
|
|
1963
|
+
note?: string | undefined;
|
|
1964
|
+
branch?: string | undefined;
|
|
1965
|
+
accountObject?: any;
|
|
1966
|
+
rate?: number | undefined;
|
|
1967
|
+
fee?: number | undefined;
|
|
1968
|
+
walletObject?: any;
|
|
1969
|
+
}>;
|
|
1970
|
+
type ForexTransferSchemaType = z$1.infer<typeof forexTransferSchema>;
|
|
1971
|
+
|
|
1972
|
+
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, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InfoGrid, Input, type InputProps, JournalForm, type JournalSchemaType, Journals, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, MoneyTransferForm, type MoneyTransferSchemaType, MoneyTransfers, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, PaymentForm, type PaymentSchemaType, Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, ProductField, ProductForm, Products, ProfileCard, type ProfileCardProps, ProfileDropdown, type ProfileDropdownItem, type ProfileDropdownProps, ProfilePage, ProfileView, type ProfileViewInfoItem, type ProfileViewProps, ProtectedRoute, type PutFunction, ResetPasswordPage, type Role, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, SimpleTable, type SimpleTableColumn, type StorageManager, type StoreConfig, type SummaryColumn, SummaryTable, type SummaryTableProps, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletReport, WalletStatements, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, type apiConfig, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, expenseSchema, forexTransferSchema, generatePdf, journalSchema, linkUserSchema, type linkUserSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|