warqadui 0.0.273 → 0.0.276
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 +20 -4
- package/dist/index.d.ts +20 -4
- package/dist/index.js +715 -364
- package/dist/index.mjs +861 -511
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -394,7 +394,7 @@ declare const Enums: {
|
|
|
394
394
|
journalTypes: readonly ["journal"];
|
|
395
395
|
viaTypes: readonly ["direct", "via account"];
|
|
396
396
|
actionTypes: readonly ["credit", "debit"];
|
|
397
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease", "expense account", "inAndOut", "invoice-manager", "payment-3", "journal-3", "forex-2"];
|
|
397
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease", "expense account", "inAndOut", "invoice-manager", "payment-3", "journal-3", "forex-2", "expense-3"];
|
|
398
398
|
stockTypes: readonly ["pack", "product"];
|
|
399
399
|
saleStockTypes: readonly ["pack", "product"];
|
|
400
400
|
purchaseStockTypes: readonly ["pack", "product"];
|
|
@@ -1126,7 +1126,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1126
1126
|
declare const Views: {
|
|
1127
1127
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1128
1128
|
id: string;
|
|
1129
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | "expense account" | "inAndOut" | "invoice-manager" | "payment-3" | "journal-3" | "forex-2" | undefined;
|
|
1129
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | "expense account" | "inAndOut" | "invoice-manager" | "payment-3" | "journal-3" | "forex-2" | "expense-3" | undefined;
|
|
1130
1130
|
close: () => void;
|
|
1131
1131
|
reverseable?: {
|
|
1132
1132
|
reload: () => void;
|
|
@@ -2068,7 +2068,7 @@ declare function Expenses({ url }: {
|
|
|
2068
2068
|
url?: string;
|
|
2069
2069
|
}): react_jsx_runtime.JSX.Element;
|
|
2070
2070
|
|
|
2071
|
-
declare function ExpenseForm(): react_jsx_runtime.JSX.Element;
|
|
2071
|
+
declare function ExpenseForm$1(): react_jsx_runtime.JSX.Element;
|
|
2072
2072
|
|
|
2073
2073
|
declare const expenseSchema: z$1.ZodObject<{
|
|
2074
2074
|
description: z$1.ZodString;
|
|
@@ -2676,6 +2676,12 @@ declare const InvoiceManagerReport: () => react_jsx_runtime.JSX.Element;
|
|
|
2676
2676
|
|
|
2677
2677
|
declare const ForexCurrencyAccountReport: () => react_jsx_runtime.JSX.Element;
|
|
2678
2678
|
|
|
2679
|
+
declare function ExpenseForm(): react_jsx_runtime.JSX.Element;
|
|
2680
|
+
|
|
2681
|
+
declare function Expenses3({ url }: {
|
|
2682
|
+
url?: string;
|
|
2683
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2684
|
+
|
|
2679
2685
|
type StockType$1 = (typeof Enums.purchaseStockTypes)[number];
|
|
2680
2686
|
|
|
2681
2687
|
declare function purchase3List({ url, type, }: {
|
|
@@ -2720,6 +2726,8 @@ declare const Transaction3: {
|
|
|
2720
2726
|
Purchase3Form: ({ type }: {
|
|
2721
2727
|
type: StockType$1;
|
|
2722
2728
|
}) => react_jsx_runtime.JSX.Element;
|
|
2729
|
+
Expenses: typeof Expenses3;
|
|
2730
|
+
ExpenseForm: typeof ExpenseForm;
|
|
2723
2731
|
};
|
|
2724
2732
|
|
|
2725
2733
|
declare const ItemReport: ({ value, type, }: {
|
|
@@ -2749,4 +2757,12 @@ declare const ProductList: ({ value }: {
|
|
|
2749
2757
|
value: boolean;
|
|
2750
2758
|
}) => react_jsx_runtime.JSX.Element;
|
|
2751
2759
|
|
|
2752
|
-
|
|
2760
|
+
declare const ProductImage: ({ src, width, height, preview, className, }: {
|
|
2761
|
+
src: string | null | undefined;
|
|
2762
|
+
width?: number;
|
|
2763
|
+
height?: number;
|
|
2764
|
+
preview?: boolean;
|
|
2765
|
+
className?: string;
|
|
2766
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2767
|
+
|
|
2768
|
+
export { AccountBalances, AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, BrandField, BrandForm$1 as BrandForm, Branding, type BrandingProps, Brands, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CargoIM, CargoIMReport, Categories, CategoryCard, CategoryField, CategoryForm$1 as CategoryForm, type CategoryItem, ClassicSpin, ClothendStockAdjustment, ClothendStockTransfer, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, CurrencyTransactions, type CurrencyType$2 as CurrencyType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, DateSalesReport, type DeleteFunction, Dgl, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseAReport, ExpenseAccountReport, ExpenseAccountStatement as ExpenseAccountStatements, ExpenseForm$1 as ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, Floors, Forex2Accounts, ForexAccountReport, ForexAccountStatements, ForexAccounts, ForexCurrencyAccountReport, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexExpenseForm, ForexExpenses, ForexExpensesReport, ForexTransactions, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InAndOut, InfoGrid, Input, type InputProps, InvoiceManager, InvoiceManagerReport, ItemReport, JournalForm$2 as JournalForm, type JournalSchemaType, Journals$2 as Journals, Lease, LeaseAccountReport, LeaseAccountStatements, LeaseCollection, LeaseRentOverViewCard, LeaseRentOverviews, 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$2 as PaymentForm, type PaymentSchemaType, Payments$2 as Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, Posts, ProductField, ProductForm$1 as ProductForm, ProductImage, ProductList, Products, ProfileAccount, ProfileCard, type ProfileCardProps, ProfileDropdown, type ProfileDropdownItem, type ProfileDropdownProps, ProfilePage, ProfileTransactionReport, ProfileView, type ProfileViewInfoItem, type ProfileViewProps, ProfitAndLossReport, ProtectedRoute, type PutFunction, RealestateAccountReport, RealEastateStatements as RealestateAccountStatements, RealEastateAccounts as RealestateAccounts, ResetPasswordPage, type Role, Sale2, SaleStockAdjustment, SaleStockForm, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, ShopendAccountReport, 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, Tickets, TodayForexTransaction, Transaction3, UnProtectedRoute, Units, type UseModalReturn, UserBranches, UserForm, UserProfile, UserUpdate, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletOverView, 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, manageBranchSchema, type manageBranchSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, updateUserSchema, type updateUserSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useFirebaseStorage, useLogin, useModal, usePostView, useSearchApiContext, useSelectContext, useTheme, useTicketView, useTransaction, useWarqadConfig, useWarqadSocket, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -394,7 +394,7 @@ declare const Enums: {
|
|
|
394
394
|
journalTypes: readonly ["journal"];
|
|
395
395
|
viaTypes: readonly ["direct", "via account"];
|
|
396
396
|
actionTypes: readonly ["credit", "debit"];
|
|
397
|
-
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease", "expense account", "inAndOut", "invoice-manager", "payment-3", "journal-3", "forex-2"];
|
|
397
|
+
transactionTypes: readonly ["journal", "payment", "money transfer", "expense", "adjustment", "forex transfer", "stock", "forex dubai to china", "forex", "forex expense", "lease", "expense account", "inAndOut", "invoice-manager", "payment-3", "journal-3", "forex-2", "expense-3"];
|
|
398
398
|
stockTypes: readonly ["pack", "product"];
|
|
399
399
|
saleStockTypes: readonly ["pack", "product"];
|
|
400
400
|
purchaseStockTypes: readonly ["pack", "product"];
|
|
@@ -1126,7 +1126,7 @@ declare const CategoryCard: React__default.FC<{
|
|
|
1126
1126
|
declare const Views: {
|
|
1127
1127
|
Transaction: ({ id, type, close, reverseable, }: {
|
|
1128
1128
|
id: string;
|
|
1129
|
-
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | "expense account" | "inAndOut" | "invoice-manager" | "payment-3" | "journal-3" | "forex-2" | undefined;
|
|
1129
|
+
type: "" | "journal" | "payment" | "money transfer" | "expense" | "adjustment" | "forex transfer" | "stock" | "forex dubai to china" | "forex" | "forex expense" | "lease" | "expense account" | "inAndOut" | "invoice-manager" | "payment-3" | "journal-3" | "forex-2" | "expense-3" | undefined;
|
|
1130
1130
|
close: () => void;
|
|
1131
1131
|
reverseable?: {
|
|
1132
1132
|
reload: () => void;
|
|
@@ -2068,7 +2068,7 @@ declare function Expenses({ url }: {
|
|
|
2068
2068
|
url?: string;
|
|
2069
2069
|
}): react_jsx_runtime.JSX.Element;
|
|
2070
2070
|
|
|
2071
|
-
declare function ExpenseForm(): react_jsx_runtime.JSX.Element;
|
|
2071
|
+
declare function ExpenseForm$1(): react_jsx_runtime.JSX.Element;
|
|
2072
2072
|
|
|
2073
2073
|
declare const expenseSchema: z$1.ZodObject<{
|
|
2074
2074
|
description: z$1.ZodString;
|
|
@@ -2676,6 +2676,12 @@ declare const InvoiceManagerReport: () => react_jsx_runtime.JSX.Element;
|
|
|
2676
2676
|
|
|
2677
2677
|
declare const ForexCurrencyAccountReport: () => react_jsx_runtime.JSX.Element;
|
|
2678
2678
|
|
|
2679
|
+
declare function ExpenseForm(): react_jsx_runtime.JSX.Element;
|
|
2680
|
+
|
|
2681
|
+
declare function Expenses3({ url }: {
|
|
2682
|
+
url?: string;
|
|
2683
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2684
|
+
|
|
2679
2685
|
type StockType$1 = (typeof Enums.purchaseStockTypes)[number];
|
|
2680
2686
|
|
|
2681
2687
|
declare function purchase3List({ url, type, }: {
|
|
@@ -2720,6 +2726,8 @@ declare const Transaction3: {
|
|
|
2720
2726
|
Purchase3Form: ({ type }: {
|
|
2721
2727
|
type: StockType$1;
|
|
2722
2728
|
}) => react_jsx_runtime.JSX.Element;
|
|
2729
|
+
Expenses: typeof Expenses3;
|
|
2730
|
+
ExpenseForm: typeof ExpenseForm;
|
|
2723
2731
|
};
|
|
2724
2732
|
|
|
2725
2733
|
declare const ItemReport: ({ value, type, }: {
|
|
@@ -2749,4 +2757,12 @@ declare const ProductList: ({ value }: {
|
|
|
2749
2757
|
value: boolean;
|
|
2750
2758
|
}) => react_jsx_runtime.JSX.Element;
|
|
2751
2759
|
|
|
2752
|
-
|
|
2760
|
+
declare const ProductImage: ({ src, width, height, preview, className, }: {
|
|
2761
|
+
src: string | null | undefined;
|
|
2762
|
+
width?: number;
|
|
2763
|
+
height?: number;
|
|
2764
|
+
preview?: boolean;
|
|
2765
|
+
className?: string;
|
|
2766
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2767
|
+
|
|
2768
|
+
export { AccountBalances, AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, BrandField, BrandForm$1 as BrandForm, Branding, type BrandingProps, Brands, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CargoIM, CargoIMReport, Categories, CategoryCard, CategoryField, CategoryForm$1 as CategoryForm, type CategoryItem, ClassicSpin, ClothendStockAdjustment, ClothendStockTransfer, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateBrandSchemaType, type CreateCategorySchemaType, type CreatePackSchemaType, type CreateProductSchemaType, type CreateWalletSchemaType, CurrencyTransactions, type CurrencyType$2 as CurrencyType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, DateSalesReport, type DeleteFunction, Dgl, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, ExpenseAReport, ExpenseAccountReport, ExpenseAccountStatement as ExpenseAccountStatements, ExpenseForm$1 as ExpenseForm, type ExpenseSchemaType, Expenses, type FetchFunction, type FetchProps, Fields, Floors, Forex2Accounts, ForexAccountReport, ForexAccountStatements, ForexAccounts, ForexCurrencyAccountReport, ForexDubaiToChina, ForexDubaiToChinaForm, type ForexDubaiToChinaSchemaType, ForexExpenseForm, ForexExpenses, ForexExpensesReport, ForexTransactions, ForexTransferForm, type ForexTransferSchemaType, ForexTransfers, Guard, InAndOut, InfoGrid, Input, type InputProps, InvoiceManager, InvoiceManagerReport, ItemReport, JournalForm$2 as JournalForm, type JournalSchemaType, Journals$2 as Journals, Lease, LeaseAccountReport, LeaseAccountStatements, LeaseCollection, LeaseRentOverViewCard, LeaseRentOverviews, 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$2 as PaymentForm, type PaymentSchemaType, Payments$2 as Payments, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, Posts, ProductField, ProductForm$1 as ProductForm, ProductImage, ProductList, Products, ProfileAccount, ProfileCard, type ProfileCardProps, ProfileDropdown, type ProfileDropdownItem, type ProfileDropdownProps, ProfilePage, ProfileTransactionReport, ProfileView, type ProfileViewInfoItem, type ProfileViewProps, ProfitAndLossReport, ProtectedRoute, type PutFunction, RealestateAccountReport, RealEastateStatements as RealestateAccountStatements, RealEastateAccounts as RealestateAccounts, ResetPasswordPage, type Role, Sale2, SaleStockAdjustment, SaleStockForm, SearchApi, SearchApiContent, SearchApiInput, SearchApiItem, type SearchApiProps, SearchApiTrigger, Select, SelectContent, SelectItem, type SelectProps, SelectTrigger, ShopendAccountReport, 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, Tickets, TodayForexTransaction, Transaction3, UnProtectedRoute, Units, type UseModalReturn, UserBranches, UserForm, UserProfile, UserUpdate, Users, Views, WalletAdjustmentForm, type WalletAdjustmentSchemaType, WalletAdjustments, WalletField, WalletForm, WalletOverView, 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, manageBranchSchema, type manageBranchSchemaType, moneyTransferSchema, packProductItemSchema, packTypes, paymentSchema, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, updateUserSchema, type updateUserSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useFirebaseStorage, useLogin, useModal, usePostView, useSearchApiContext, useSelectContext, useTheme, useTicketView, useTransaction, useWarqadConfig, useWarqadSocket, verifyUserEmailSchema, type verifyUserEmailSchemaType, walletAdjustmentSchema };
|