warqadui 0.0.296 → 0.0.298

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.
@@ -0,0 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ export {
8
+ __export
9
+ };
package/dist/index.d.mts CHANGED
@@ -567,7 +567,7 @@ declare const SelectTrigger: React__default.ForwardRefExoticComponent<Omit<any,
567
567
  declare const SelectContent: React__default.ForwardRefExoticComponent<Omit<any, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
568
568
  declare const SelectItem: React__default.ForwardRefExoticComponent<Omit<any, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
569
569
 
570
- interface PhoneInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
570
+ interface PhoneInputProps$1 extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
571
571
  label: string;
572
572
  icon?: React.ReactNode;
573
573
  error?: string;
@@ -577,7 +577,7 @@ interface PhoneInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElemen
577
577
  onChange?: (value: string) => void;
578
578
  value?: string;
579
579
  }
580
- declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<any>>;
580
+ declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps$1 & React$1.RefAttributes<any>>;
581
581
 
582
582
  interface InputProps<T extends FieldValues> extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "name" | "form" | "onChange"> {
583
583
  label?: string;
@@ -598,7 +598,7 @@ declare const Fields: {
598
598
  Input: <T extends react_hook_form.FieldValues>(props: InputProps<T> & {
599
599
  ref?: React.ForwardedRef<HTMLInputElement>;
600
600
  }) => React.ReactElement;
601
- PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<any>>;
601
+ PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps$1 & React$1.RefAttributes<any>>;
602
602
  Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLDivElement>>;
603
603
  SelectTrigger: React$1.ForwardRefExoticComponent<Omit<any, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
604
604
  SelectContent: React$1.ForwardRefExoticComponent<Omit<any, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -2420,6 +2420,8 @@ declare function LeaseInvoicesForm({ leaseType }: {
2420
2420
  leaseType: LeaseType;
2421
2421
  }): react_jsx_runtime.JSX.Element;
2422
2422
 
2423
+ declare function AccountLess(): react_jsx_runtime.JSX.Element;
2424
+
2423
2425
  declare const Lease: {
2424
2426
  Form: typeof LeaseForm;
2425
2427
  Journals: typeof LeaseJournals;
@@ -2436,6 +2438,7 @@ declare const Lease: {
2436
2438
  PaybillForm: typeof PaybillForm;
2437
2439
  LeaseInvoices: typeof LeaseInvoices;
2438
2440
  LeaseInvoicesForm: typeof LeaseInvoicesForm;
2441
+ AccountLess: typeof AccountLess;
2439
2442
  };
2440
2443
 
2441
2444
  declare function ExpenseAccount({ url }: {
@@ -2607,11 +2610,17 @@ declare function ProductList$1({ v, url, deleteUrl, updateImageUrl, updateGaller
2607
2610
  deleteImageUrl?: string;
2608
2611
  }): react_jsx_runtime.JSX.Element;
2609
2612
 
2610
- declare function ProductForm({ v, getUrl, createUrl, updateUrl, }: {
2613
+ declare function ProductForm({ v, getUrl, createUrl, updateUrl, categoryApi, categoryUrl, subCategoryApi, subCategoryUrl, brandApi, brandUrl, }: {
2611
2614
  v?: 1 | 2 | 3;
2612
2615
  getUrl?: string;
2613
2616
  createUrl?: string;
2614
2617
  updateUrl?: string;
2618
+ categoryApi?: string;
2619
+ categoryUrl?: string;
2620
+ subCategoryApi?: string;
2621
+ subCategoryUrl?: string;
2622
+ brandApi?: string;
2623
+ brandUrl?: string;
2615
2624
  }): react_jsx_runtime.JSX.Element;
2616
2625
 
2617
2626
  declare function CategoryList({ v, url }: {
@@ -2791,4 +2800,105 @@ declare const ProductImage: ({ src, width, height, preview, className, }: {
2791
2800
  className?: string;
2792
2801
  }) => react_jsx_runtime.JSX.Element;
2793
2802
 
2794
- 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 };
2803
+ type InputSize = "sm" | "md" | "lg";
2804
+ interface BaseInputProps<T extends FieldValues = any> {
2805
+ label?: React__default.ReactNode;
2806
+ name?: Path<T> | string;
2807
+ methods?: UseFormReturn<T> | any;
2808
+ form?: UseFormReturn<T> | any;
2809
+ id?: string;
2810
+ required?: boolean;
2811
+ disabled?: boolean;
2812
+ readOnly?: boolean;
2813
+ error?: string | null | boolean;
2814
+ hint?: React__default.ReactNode;
2815
+ topRight?: React__default.ReactNode;
2816
+ icon?: React__default.ReactNode;
2817
+ rightIcon?: React__default.ReactNode;
2818
+ prefix?: React__default.ReactNode;
2819
+ suffix?: React__default.ReactNode;
2820
+ placeholder?: string;
2821
+ className?: string;
2822
+ inputClassName?: string;
2823
+ containerClassName?: string;
2824
+ size?: InputSize;
2825
+ }
2826
+ interface SelectOption<T = string | number> {
2827
+ label: string;
2828
+ value: T;
2829
+ disabled?: boolean;
2830
+ icon?: React__default.ReactNode;
2831
+ sublabel?: string;
2832
+ badge?: string;
2833
+ }
2834
+
2835
+ interface SelectInputProps<T = string | number> extends BaseInputProps {
2836
+ options: SelectOption<T>[];
2837
+ value?: T;
2838
+ onChange?: (value: T, selectedOption?: SelectOption<T>) => void;
2839
+ isSearchable?: boolean;
2840
+ isClearable?: boolean;
2841
+ emptyText?: string;
2842
+ }
2843
+
2844
+ interface AmountInputProps extends Omit<BaseInputProps, "prefix"> {
2845
+ value?: number | string;
2846
+ onChange?: (value: number | undefined, rawString: string) => void;
2847
+ currency?: string;
2848
+ currencyPosition?: "prefix" | "suffix";
2849
+ decimals?: number;
2850
+ allowNegative?: boolean;
2851
+ min?: number;
2852
+ max?: number;
2853
+ formatSeparators?: boolean;
2854
+ }
2855
+
2856
+ interface NumberInputProps extends BaseInputProps {
2857
+ value?: number | string;
2858
+ onChange?: (value: number | undefined, rawString: string) => void;
2859
+ min?: number;
2860
+ max?: number;
2861
+ step?: number;
2862
+ allowDecimals?: boolean;
2863
+ showControls?: boolean;
2864
+ formatSeparators?: boolean;
2865
+ }
2866
+
2867
+ interface PhoneInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "name" | "form" | "prefix">, BaseInputProps {
2868
+ value?: string;
2869
+ onChange?: (value: string) => void;
2870
+ defaultCountry?: any;
2871
+ international?: boolean;
2872
+ withCountryCallingCode?: boolean;
2873
+ }
2874
+
2875
+ interface TextInputProps<T extends FieldValues = any> extends BaseInputProps<T>, Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "form" | "name"> {
2876
+ type?: "text" | "password" | "search" | "url" | "tel" | "email";
2877
+ }
2878
+
2879
+ interface EmailInputProps extends Omit<TextInputProps, "type"> {
2880
+ validateFormat?: boolean;
2881
+ }
2882
+
2883
+ interface FormFieldProps {
2884
+ label?: React__default.ReactNode;
2885
+ id?: string;
2886
+ required?: boolean;
2887
+ error?: string | null | boolean;
2888
+ hint?: React__default.ReactNode;
2889
+ topRight?: React__default.ReactNode;
2890
+ className?: string;
2891
+ children: React__default.ReactNode;
2892
+ }
2893
+
2894
+ declare const FormInput: {
2895
+ Field: React$1.FC<FormFieldProps>;
2896
+ Text: React$1.ForwardRefExoticComponent<TextInputProps<any> & React$1.RefAttributes<HTMLInputElement>>;
2897
+ Email: React$1.ForwardRefExoticComponent<EmailInputProps & React$1.RefAttributes<HTMLInputElement>>;
2898
+ Phone: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<any>>;
2899
+ Number: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
2900
+ Amount: React$1.ForwardRefExoticComponent<AmountInputProps & React$1.RefAttributes<HTMLInputElement>>;
2901
+ Select: React$1.ForwardRefExoticComponent<SelectInputProps<string | number> & React$1.RefAttributes<HTMLButtonElement>>;
2902
+ };
2903
+
2904
+ export { AccountBalances, AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, FormInput as AntdInput, 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$1 as 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
@@ -567,7 +567,7 @@ declare const SelectTrigger: React__default.ForwardRefExoticComponent<Omit<any,
567
567
  declare const SelectContent: React__default.ForwardRefExoticComponent<Omit<any, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
568
568
  declare const SelectItem: React__default.ForwardRefExoticComponent<Omit<any, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
569
569
 
570
- interface PhoneInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
570
+ interface PhoneInputProps$1 extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
571
571
  label: string;
572
572
  icon?: React.ReactNode;
573
573
  error?: string;
@@ -577,7 +577,7 @@ interface PhoneInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElemen
577
577
  onChange?: (value: string) => void;
578
578
  value?: string;
579
579
  }
580
- declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<any>>;
580
+ declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps$1 & React$1.RefAttributes<any>>;
581
581
 
582
582
  interface InputProps<T extends FieldValues> extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "name" | "form" | "onChange"> {
583
583
  label?: string;
@@ -598,7 +598,7 @@ declare const Fields: {
598
598
  Input: <T extends react_hook_form.FieldValues>(props: InputProps<T> & {
599
599
  ref?: React.ForwardedRef<HTMLInputElement>;
600
600
  }) => React.ReactElement;
601
- PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<any>>;
601
+ PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps$1 & React$1.RefAttributes<any>>;
602
602
  Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLDivElement>>;
603
603
  SelectTrigger: React$1.ForwardRefExoticComponent<Omit<any, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
604
604
  SelectContent: React$1.ForwardRefExoticComponent<Omit<any, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -2420,6 +2420,8 @@ declare function LeaseInvoicesForm({ leaseType }: {
2420
2420
  leaseType: LeaseType;
2421
2421
  }): react_jsx_runtime.JSX.Element;
2422
2422
 
2423
+ declare function AccountLess(): react_jsx_runtime.JSX.Element;
2424
+
2423
2425
  declare const Lease: {
2424
2426
  Form: typeof LeaseForm;
2425
2427
  Journals: typeof LeaseJournals;
@@ -2436,6 +2438,7 @@ declare const Lease: {
2436
2438
  PaybillForm: typeof PaybillForm;
2437
2439
  LeaseInvoices: typeof LeaseInvoices;
2438
2440
  LeaseInvoicesForm: typeof LeaseInvoicesForm;
2441
+ AccountLess: typeof AccountLess;
2439
2442
  };
2440
2443
 
2441
2444
  declare function ExpenseAccount({ url }: {
@@ -2607,11 +2610,17 @@ declare function ProductList$1({ v, url, deleteUrl, updateImageUrl, updateGaller
2607
2610
  deleteImageUrl?: string;
2608
2611
  }): react_jsx_runtime.JSX.Element;
2609
2612
 
2610
- declare function ProductForm({ v, getUrl, createUrl, updateUrl, }: {
2613
+ declare function ProductForm({ v, getUrl, createUrl, updateUrl, categoryApi, categoryUrl, subCategoryApi, subCategoryUrl, brandApi, brandUrl, }: {
2611
2614
  v?: 1 | 2 | 3;
2612
2615
  getUrl?: string;
2613
2616
  createUrl?: string;
2614
2617
  updateUrl?: string;
2618
+ categoryApi?: string;
2619
+ categoryUrl?: string;
2620
+ subCategoryApi?: string;
2621
+ subCategoryUrl?: string;
2622
+ brandApi?: string;
2623
+ brandUrl?: string;
2615
2624
  }): react_jsx_runtime.JSX.Element;
2616
2625
 
2617
2626
  declare function CategoryList({ v, url }: {
@@ -2791,4 +2800,105 @@ declare const ProductImage: ({ src, width, height, preview, className, }: {
2791
2800
  className?: string;
2792
2801
  }) => react_jsx_runtime.JSX.Element;
2793
2802
 
2794
- 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 };
2803
+ type InputSize = "sm" | "md" | "lg";
2804
+ interface BaseInputProps<T extends FieldValues = any> {
2805
+ label?: React__default.ReactNode;
2806
+ name?: Path<T> | string;
2807
+ methods?: UseFormReturn<T> | any;
2808
+ form?: UseFormReturn<T> | any;
2809
+ id?: string;
2810
+ required?: boolean;
2811
+ disabled?: boolean;
2812
+ readOnly?: boolean;
2813
+ error?: string | null | boolean;
2814
+ hint?: React__default.ReactNode;
2815
+ topRight?: React__default.ReactNode;
2816
+ icon?: React__default.ReactNode;
2817
+ rightIcon?: React__default.ReactNode;
2818
+ prefix?: React__default.ReactNode;
2819
+ suffix?: React__default.ReactNode;
2820
+ placeholder?: string;
2821
+ className?: string;
2822
+ inputClassName?: string;
2823
+ containerClassName?: string;
2824
+ size?: InputSize;
2825
+ }
2826
+ interface SelectOption<T = string | number> {
2827
+ label: string;
2828
+ value: T;
2829
+ disabled?: boolean;
2830
+ icon?: React__default.ReactNode;
2831
+ sublabel?: string;
2832
+ badge?: string;
2833
+ }
2834
+
2835
+ interface SelectInputProps<T = string | number> extends BaseInputProps {
2836
+ options: SelectOption<T>[];
2837
+ value?: T;
2838
+ onChange?: (value: T, selectedOption?: SelectOption<T>) => void;
2839
+ isSearchable?: boolean;
2840
+ isClearable?: boolean;
2841
+ emptyText?: string;
2842
+ }
2843
+
2844
+ interface AmountInputProps extends Omit<BaseInputProps, "prefix"> {
2845
+ value?: number | string;
2846
+ onChange?: (value: number | undefined, rawString: string) => void;
2847
+ currency?: string;
2848
+ currencyPosition?: "prefix" | "suffix";
2849
+ decimals?: number;
2850
+ allowNegative?: boolean;
2851
+ min?: number;
2852
+ max?: number;
2853
+ formatSeparators?: boolean;
2854
+ }
2855
+
2856
+ interface NumberInputProps extends BaseInputProps {
2857
+ value?: number | string;
2858
+ onChange?: (value: number | undefined, rawString: string) => void;
2859
+ min?: number;
2860
+ max?: number;
2861
+ step?: number;
2862
+ allowDecimals?: boolean;
2863
+ showControls?: boolean;
2864
+ formatSeparators?: boolean;
2865
+ }
2866
+
2867
+ interface PhoneInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "name" | "form" | "prefix">, BaseInputProps {
2868
+ value?: string;
2869
+ onChange?: (value: string) => void;
2870
+ defaultCountry?: any;
2871
+ international?: boolean;
2872
+ withCountryCallingCode?: boolean;
2873
+ }
2874
+
2875
+ interface TextInputProps<T extends FieldValues = any> extends BaseInputProps<T>, Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "form" | "name"> {
2876
+ type?: "text" | "password" | "search" | "url" | "tel" | "email";
2877
+ }
2878
+
2879
+ interface EmailInputProps extends Omit<TextInputProps, "type"> {
2880
+ validateFormat?: boolean;
2881
+ }
2882
+
2883
+ interface FormFieldProps {
2884
+ label?: React__default.ReactNode;
2885
+ id?: string;
2886
+ required?: boolean;
2887
+ error?: string | null | boolean;
2888
+ hint?: React__default.ReactNode;
2889
+ topRight?: React__default.ReactNode;
2890
+ className?: string;
2891
+ children: React__default.ReactNode;
2892
+ }
2893
+
2894
+ declare const FormInput: {
2895
+ Field: React$1.FC<FormFieldProps>;
2896
+ Text: React$1.ForwardRefExoticComponent<TextInputProps<any> & React$1.RefAttributes<HTMLInputElement>>;
2897
+ Email: React$1.ForwardRefExoticComponent<EmailInputProps & React$1.RefAttributes<HTMLInputElement>>;
2898
+ Phone: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<any>>;
2899
+ Number: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
2900
+ Amount: React$1.ForwardRefExoticComponent<AmountInputProps & React$1.RefAttributes<HTMLInputElement>>;
2901
+ Select: React$1.ForwardRefExoticComponent<SelectInputProps<string | number> & React$1.RefAttributes<HTMLButtonElement>>;
2902
+ };
2903
+
2904
+ export { AccountBalances, AccountFields, AccountForm, AccountReport, AccountStatements, type AccountType, Accounts, AdminProtectedRoute, FormInput as AntdInput, 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$1 as 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 };