warqadui 0.0.91 → 0.0.93

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 CHANGED
@@ -379,6 +379,7 @@ declare const Enums: {
379
379
  auditActions: readonly ["create", "update", "delete", "login", "logout"];
380
380
  walletTypes: readonly ["bank", "cash", "mobile"];
381
381
  currencies: readonly ["USD", "TZS", "KES", "CNY"];
382
+ packTypes: readonly ["pressure", "bag", "boxes"];
382
383
  };
383
384
 
384
385
  interface ThemeConfig {
@@ -1418,6 +1419,229 @@ declare const createWalletSchema: z$1.ZodObject<{
1418
1419
  }>;
1419
1420
  type CreateWalletSchemaType = z$1.infer<typeof createWalletSchema>;
1420
1421
 
1422
+ declare function Brands({ v, url }: {
1423
+ v?: 1 | 2;
1424
+ url?: string;
1425
+ }): react_jsx_runtime.JSX.Element;
1426
+
1427
+ declare function BrandForm(): react_jsx_runtime.JSX.Element;
1428
+
1429
+ type BrandFieldProps<T extends FieldValues> = {
1430
+ name: Path<T>;
1431
+ label: string;
1432
+ form: UseFormReturn<T>;
1433
+ placeholder?: string;
1434
+ api: string;
1435
+ filter?: string[];
1436
+ v?: number;
1437
+ required?: boolean;
1438
+ disabled?: boolean;
1439
+ };
1440
+ declare function Brand<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, }: BrandFieldProps<T>): react_jsx_runtime.JSX.Element;
1441
+
1442
+ declare const BrandField: {
1443
+ Brand: typeof Brand;
1444
+ };
1445
+
1446
+ declare const createBrandSchema: z$1.ZodObject<{
1447
+ name: z$1.ZodString;
1448
+ branch: z$1.ZodOptional<z$1.ZodString>;
1449
+ }, "strip", z$1.ZodTypeAny, {
1450
+ name: string;
1451
+ branch?: string | undefined;
1452
+ }, {
1453
+ name: string;
1454
+ branch?: string | undefined;
1455
+ }>;
1456
+ type CreateBrandSchemaType = z$1.infer<typeof createBrandSchema>;
1457
+
1458
+ declare function Categories({ v, url }: {
1459
+ v?: 1 | 2;
1460
+ url?: string;
1461
+ }): react_jsx_runtime.JSX.Element;
1462
+
1463
+ declare function CategoryForm(): react_jsx_runtime.JSX.Element;
1464
+
1465
+ type CategoryFieldProps<T extends FieldValues> = {
1466
+ name: Path<T>;
1467
+ label: string;
1468
+ form: UseFormReturn<T>;
1469
+ placeholder?: string;
1470
+ api: string;
1471
+ filter?: string[];
1472
+ v?: number;
1473
+ required?: boolean;
1474
+ disabled?: boolean;
1475
+ };
1476
+ declare function Category<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, }: CategoryFieldProps<T>): react_jsx_runtime.JSX.Element;
1477
+
1478
+ declare const CategoryField: {
1479
+ Category: typeof Category;
1480
+ };
1481
+
1482
+ declare const createCategorySchema: z$1.ZodObject<{
1483
+ name: z$1.ZodString;
1484
+ branch: z$1.ZodOptional<z$1.ZodString>;
1485
+ }, "strip", z$1.ZodTypeAny, {
1486
+ name: string;
1487
+ branch?: string | undefined;
1488
+ }, {
1489
+ name: string;
1490
+ branch?: string | undefined;
1491
+ }>;
1492
+ type CreateCategorySchemaType = z$1.infer<typeof createCategorySchema>;
1493
+
1494
+ declare function Products({ v, url }: {
1495
+ v?: 1 | 2;
1496
+ url?: string;
1497
+ }): react_jsx_runtime.JSX.Element;
1498
+
1499
+ declare function ProductForm(): react_jsx_runtime.JSX.Element;
1500
+
1501
+ type ProductFieldProps<T extends FieldValues> = {
1502
+ name: Path<T>;
1503
+ label: string;
1504
+ form: UseFormReturn<T>;
1505
+ placeholder?: string;
1506
+ api: string;
1507
+ filter?: string[];
1508
+ v?: number;
1509
+ required?: boolean;
1510
+ disabled?: boolean;
1511
+ onChange?: (val: any, opt?: any) => void;
1512
+ obj?: Path<T>;
1513
+ };
1514
+ declare function Product<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, onChange, obj, }: ProductFieldProps<T>): react_jsx_runtime.JSX.Element;
1515
+
1516
+ declare const ProductField: {
1517
+ Product: typeof Product;
1518
+ };
1519
+
1520
+ declare const createProductSchema: z$1.ZodObject<{
1521
+ name: z$1.ZodString;
1522
+ category: z$1.ZodOptional<z$1.ZodString>;
1523
+ brand: z$1.ZodOptional<z$1.ZodString>;
1524
+ cost: z$1.ZodNumber;
1525
+ branch: z$1.ZodOptional<z$1.ZodString>;
1526
+ }, "strip", z$1.ZodTypeAny, {
1527
+ name: string;
1528
+ cost: number;
1529
+ branch?: string | undefined;
1530
+ category?: string | undefined;
1531
+ brand?: string | undefined;
1532
+ }, {
1533
+ name: string;
1534
+ cost: number;
1535
+ branch?: string | undefined;
1536
+ category?: string | undefined;
1537
+ brand?: string | undefined;
1538
+ }>;
1539
+ type CreateProductSchemaType = z$1.infer<typeof createProductSchema>;
1540
+
1541
+ declare function Packs({ v, url }: {
1542
+ v?: 1 | 2;
1543
+ url?: string;
1544
+ }): react_jsx_runtime.JSX.Element;
1545
+
1546
+ declare function PackForm(): react_jsx_runtime.JSX.Element;
1547
+
1548
+ type PackFieldProps<T extends FieldValues> = {
1549
+ name: Path<T>;
1550
+ label: string;
1551
+ form: UseFormReturn<T>;
1552
+ placeholder?: string;
1553
+ api: string;
1554
+ filter?: string[];
1555
+ v?: number;
1556
+ required?: boolean;
1557
+ disabled?: boolean;
1558
+ };
1559
+ declare function Pack<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, }: PackFieldProps<T>): react_jsx_runtime.JSX.Element;
1560
+ declare const _default: {
1561
+ Pack: typeof Pack;
1562
+ };
1563
+
1564
+ declare const packProductItemSchema: z$1.ZodObject<{
1565
+ product: z$1.ZodString;
1566
+ cost: z$1.ZodNumber;
1567
+ quantity: z$1.ZodNumber;
1568
+ index: z$1.ZodNumber;
1569
+ productData: z$1.ZodOptional<z$1.ZodAny>;
1570
+ }, "strip", z$1.ZodTypeAny, {
1571
+ index: number;
1572
+ cost: number;
1573
+ product: string;
1574
+ quantity: number;
1575
+ productData?: any;
1576
+ }, {
1577
+ index: number;
1578
+ cost: number;
1579
+ product: string;
1580
+ quantity: number;
1581
+ productData?: any;
1582
+ }>;
1583
+ declare const packTypes: z$1.ZodEnum<["pressure", "bag", "boxes"]>;
1584
+ declare const createPackSchema: z$1.ZodObject<{
1585
+ type: z$1.ZodEnum<["pressure", "bag", "boxes"]>;
1586
+ name: z$1.ZodString;
1587
+ products: z$1.ZodArray<z$1.ZodObject<{
1588
+ product: z$1.ZodString;
1589
+ cost: z$1.ZodNumber;
1590
+ quantity: z$1.ZodNumber;
1591
+ index: z$1.ZodNumber;
1592
+ productData: z$1.ZodOptional<z$1.ZodAny>;
1593
+ }, "strip", z$1.ZodTypeAny, {
1594
+ index: number;
1595
+ cost: number;
1596
+ product: string;
1597
+ quantity: number;
1598
+ productData?: any;
1599
+ }, {
1600
+ index: number;
1601
+ cost: number;
1602
+ product: string;
1603
+ quantity: number;
1604
+ productData?: any;
1605
+ }>, "many">;
1606
+ branch: z$1.ZodOptional<z$1.ZodString>;
1607
+ tempProduct: z$1.ZodOptional<z$1.ZodString>;
1608
+ tempQty: z$1.ZodOptional<z$1.ZodNumber>;
1609
+ tempCost: z$1.ZodOptional<z$1.ZodNumber>;
1610
+ tempData: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1611
+ }, "strip", z$1.ZodTypeAny, {
1612
+ name: string;
1613
+ type: "pressure" | "bag" | "boxes";
1614
+ products: {
1615
+ index: number;
1616
+ cost: number;
1617
+ product: string;
1618
+ quantity: number;
1619
+ productData?: any;
1620
+ }[];
1621
+ branch?: string | undefined;
1622
+ tempProduct?: string | undefined;
1623
+ tempQty?: number | undefined;
1624
+ tempCost?: number | undefined;
1625
+ tempData?: Record<string, any> | undefined;
1626
+ }, {
1627
+ name: string;
1628
+ type: "pressure" | "bag" | "boxes";
1629
+ products: {
1630
+ index: number;
1631
+ cost: number;
1632
+ product: string;
1633
+ quantity: number;
1634
+ productData?: any;
1635
+ }[];
1636
+ branch?: string | undefined;
1637
+ tempProduct?: string | undefined;
1638
+ tempQty?: number | undefined;
1639
+ tempCost?: number | undefined;
1640
+ tempData?: Record<string, any> | undefined;
1641
+ }>;
1642
+ type CreatePackSchemaType = z$1.infer<typeof createPackSchema>;
1643
+ type PackProductItemSchemaType = z$1.infer<typeof packProductItemSchema>;
1644
+
1421
1645
  declare function Breadcrumbs(): react_jsx_runtime.JSX.Element;
1422
1646
 
1423
1647
  interface ErrorPageProps {
@@ -1438,4 +1662,4 @@ declare const ErrorPage: (({ title, message, statusCode, action, className, }: E
1438
1662
  400: (props: ErrorPageProps) => react_jsx_runtime.JSX.Element;
1439
1663
  };
1440
1664
 
1441
- export { AccountFields, AccountForm, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, Branding, type BrandingProps, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CategoryCard, type CategoryItem, ClassicSpin, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, type FetchFunction, type FetchProps, Fields, Guard, InfoGrid, Input, type InputProps, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, type NavItem, type NavItems, type Option, OverlaySpin, PageA4, PageHeader, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, 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, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletField, WalletForm, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, createUserSchema, type createUserSchemaType, createWalletSchema, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
1665
+ export { AccountFields, AccountForm, 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, type FetchFunction, type FetchProps, Fields, Guard, InfoGrid, Input, type InputProps, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, 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, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletField, WalletForm, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, generatePdf, linkUserSchema, type linkUserSchemaType, packProductItemSchema, packTypes, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
package/dist/index.d.ts CHANGED
@@ -379,6 +379,7 @@ declare const Enums: {
379
379
  auditActions: readonly ["create", "update", "delete", "login", "logout"];
380
380
  walletTypes: readonly ["bank", "cash", "mobile"];
381
381
  currencies: readonly ["USD", "TZS", "KES", "CNY"];
382
+ packTypes: readonly ["pressure", "bag", "boxes"];
382
383
  };
383
384
 
384
385
  interface ThemeConfig {
@@ -1418,6 +1419,229 @@ declare const createWalletSchema: z$1.ZodObject<{
1418
1419
  }>;
1419
1420
  type CreateWalletSchemaType = z$1.infer<typeof createWalletSchema>;
1420
1421
 
1422
+ declare function Brands({ v, url }: {
1423
+ v?: 1 | 2;
1424
+ url?: string;
1425
+ }): react_jsx_runtime.JSX.Element;
1426
+
1427
+ declare function BrandForm(): react_jsx_runtime.JSX.Element;
1428
+
1429
+ type BrandFieldProps<T extends FieldValues> = {
1430
+ name: Path<T>;
1431
+ label: string;
1432
+ form: UseFormReturn<T>;
1433
+ placeholder?: string;
1434
+ api: string;
1435
+ filter?: string[];
1436
+ v?: number;
1437
+ required?: boolean;
1438
+ disabled?: boolean;
1439
+ };
1440
+ declare function Brand<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, }: BrandFieldProps<T>): react_jsx_runtime.JSX.Element;
1441
+
1442
+ declare const BrandField: {
1443
+ Brand: typeof Brand;
1444
+ };
1445
+
1446
+ declare const createBrandSchema: z$1.ZodObject<{
1447
+ name: z$1.ZodString;
1448
+ branch: z$1.ZodOptional<z$1.ZodString>;
1449
+ }, "strip", z$1.ZodTypeAny, {
1450
+ name: string;
1451
+ branch?: string | undefined;
1452
+ }, {
1453
+ name: string;
1454
+ branch?: string | undefined;
1455
+ }>;
1456
+ type CreateBrandSchemaType = z$1.infer<typeof createBrandSchema>;
1457
+
1458
+ declare function Categories({ v, url }: {
1459
+ v?: 1 | 2;
1460
+ url?: string;
1461
+ }): react_jsx_runtime.JSX.Element;
1462
+
1463
+ declare function CategoryForm(): react_jsx_runtime.JSX.Element;
1464
+
1465
+ type CategoryFieldProps<T extends FieldValues> = {
1466
+ name: Path<T>;
1467
+ label: string;
1468
+ form: UseFormReturn<T>;
1469
+ placeholder?: string;
1470
+ api: string;
1471
+ filter?: string[];
1472
+ v?: number;
1473
+ required?: boolean;
1474
+ disabled?: boolean;
1475
+ };
1476
+ declare function Category<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, }: CategoryFieldProps<T>): react_jsx_runtime.JSX.Element;
1477
+
1478
+ declare const CategoryField: {
1479
+ Category: typeof Category;
1480
+ };
1481
+
1482
+ declare const createCategorySchema: z$1.ZodObject<{
1483
+ name: z$1.ZodString;
1484
+ branch: z$1.ZodOptional<z$1.ZodString>;
1485
+ }, "strip", z$1.ZodTypeAny, {
1486
+ name: string;
1487
+ branch?: string | undefined;
1488
+ }, {
1489
+ name: string;
1490
+ branch?: string | undefined;
1491
+ }>;
1492
+ type CreateCategorySchemaType = z$1.infer<typeof createCategorySchema>;
1493
+
1494
+ declare function Products({ v, url }: {
1495
+ v?: 1 | 2;
1496
+ url?: string;
1497
+ }): react_jsx_runtime.JSX.Element;
1498
+
1499
+ declare function ProductForm(): react_jsx_runtime.JSX.Element;
1500
+
1501
+ type ProductFieldProps<T extends FieldValues> = {
1502
+ name: Path<T>;
1503
+ label: string;
1504
+ form: UseFormReturn<T>;
1505
+ placeholder?: string;
1506
+ api: string;
1507
+ filter?: string[];
1508
+ v?: number;
1509
+ required?: boolean;
1510
+ disabled?: boolean;
1511
+ onChange?: (val: any, opt?: any) => void;
1512
+ obj?: Path<T>;
1513
+ };
1514
+ declare function Product<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, onChange, obj, }: ProductFieldProps<T>): react_jsx_runtime.JSX.Element;
1515
+
1516
+ declare const ProductField: {
1517
+ Product: typeof Product;
1518
+ };
1519
+
1520
+ declare const createProductSchema: z$1.ZodObject<{
1521
+ name: z$1.ZodString;
1522
+ category: z$1.ZodOptional<z$1.ZodString>;
1523
+ brand: z$1.ZodOptional<z$1.ZodString>;
1524
+ cost: z$1.ZodNumber;
1525
+ branch: z$1.ZodOptional<z$1.ZodString>;
1526
+ }, "strip", z$1.ZodTypeAny, {
1527
+ name: string;
1528
+ cost: number;
1529
+ branch?: string | undefined;
1530
+ category?: string | undefined;
1531
+ brand?: string | undefined;
1532
+ }, {
1533
+ name: string;
1534
+ cost: number;
1535
+ branch?: string | undefined;
1536
+ category?: string | undefined;
1537
+ brand?: string | undefined;
1538
+ }>;
1539
+ type CreateProductSchemaType = z$1.infer<typeof createProductSchema>;
1540
+
1541
+ declare function Packs({ v, url }: {
1542
+ v?: 1 | 2;
1543
+ url?: string;
1544
+ }): react_jsx_runtime.JSX.Element;
1545
+
1546
+ declare function PackForm(): react_jsx_runtime.JSX.Element;
1547
+
1548
+ type PackFieldProps<T extends FieldValues> = {
1549
+ name: Path<T>;
1550
+ label: string;
1551
+ form: UseFormReturn<T>;
1552
+ placeholder?: string;
1553
+ api: string;
1554
+ filter?: string[];
1555
+ v?: number;
1556
+ required?: boolean;
1557
+ disabled?: boolean;
1558
+ };
1559
+ declare function Pack<T extends FieldValues>({ name, label, placeholder, api, form, filter, v, required, disabled, }: PackFieldProps<T>): react_jsx_runtime.JSX.Element;
1560
+ declare const _default: {
1561
+ Pack: typeof Pack;
1562
+ };
1563
+
1564
+ declare const packProductItemSchema: z$1.ZodObject<{
1565
+ product: z$1.ZodString;
1566
+ cost: z$1.ZodNumber;
1567
+ quantity: z$1.ZodNumber;
1568
+ index: z$1.ZodNumber;
1569
+ productData: z$1.ZodOptional<z$1.ZodAny>;
1570
+ }, "strip", z$1.ZodTypeAny, {
1571
+ index: number;
1572
+ cost: number;
1573
+ product: string;
1574
+ quantity: number;
1575
+ productData?: any;
1576
+ }, {
1577
+ index: number;
1578
+ cost: number;
1579
+ product: string;
1580
+ quantity: number;
1581
+ productData?: any;
1582
+ }>;
1583
+ declare const packTypes: z$1.ZodEnum<["pressure", "bag", "boxes"]>;
1584
+ declare const createPackSchema: z$1.ZodObject<{
1585
+ type: z$1.ZodEnum<["pressure", "bag", "boxes"]>;
1586
+ name: z$1.ZodString;
1587
+ products: z$1.ZodArray<z$1.ZodObject<{
1588
+ product: z$1.ZodString;
1589
+ cost: z$1.ZodNumber;
1590
+ quantity: z$1.ZodNumber;
1591
+ index: z$1.ZodNumber;
1592
+ productData: z$1.ZodOptional<z$1.ZodAny>;
1593
+ }, "strip", z$1.ZodTypeAny, {
1594
+ index: number;
1595
+ cost: number;
1596
+ product: string;
1597
+ quantity: number;
1598
+ productData?: any;
1599
+ }, {
1600
+ index: number;
1601
+ cost: number;
1602
+ product: string;
1603
+ quantity: number;
1604
+ productData?: any;
1605
+ }>, "many">;
1606
+ branch: z$1.ZodOptional<z$1.ZodString>;
1607
+ tempProduct: z$1.ZodOptional<z$1.ZodString>;
1608
+ tempQty: z$1.ZodOptional<z$1.ZodNumber>;
1609
+ tempCost: z$1.ZodOptional<z$1.ZodNumber>;
1610
+ tempData: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1611
+ }, "strip", z$1.ZodTypeAny, {
1612
+ name: string;
1613
+ type: "pressure" | "bag" | "boxes";
1614
+ products: {
1615
+ index: number;
1616
+ cost: number;
1617
+ product: string;
1618
+ quantity: number;
1619
+ productData?: any;
1620
+ }[];
1621
+ branch?: string | undefined;
1622
+ tempProduct?: string | undefined;
1623
+ tempQty?: number | undefined;
1624
+ tempCost?: number | undefined;
1625
+ tempData?: Record<string, any> | undefined;
1626
+ }, {
1627
+ name: string;
1628
+ type: "pressure" | "bag" | "boxes";
1629
+ products: {
1630
+ index: number;
1631
+ cost: number;
1632
+ product: string;
1633
+ quantity: number;
1634
+ productData?: any;
1635
+ }[];
1636
+ branch?: string | undefined;
1637
+ tempProduct?: string | undefined;
1638
+ tempQty?: number | undefined;
1639
+ tempCost?: number | undefined;
1640
+ tempData?: Record<string, any> | undefined;
1641
+ }>;
1642
+ type CreatePackSchemaType = z$1.infer<typeof createPackSchema>;
1643
+ type PackProductItemSchemaType = z$1.infer<typeof packProductItemSchema>;
1644
+
1421
1645
  declare function Breadcrumbs(): react_jsx_runtime.JSX.Element;
1422
1646
 
1423
1647
  interface ErrorPageProps {
@@ -1438,4 +1662,4 @@ declare const ErrorPage: (({ title, message, statusCode, action, className, }: E
1438
1662
  400: (props: ErrorPageProps) => react_jsx_runtime.JSX.Element;
1439
1663
  };
1440
1664
 
1441
- export { AccountFields, AccountForm, type AccountType, Accounts, AdminProtectedRoute, Badge, type BadgeProps, type BranchesContext, Branding, type BrandingProps, Breadcrumbs, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CategoryCard, type CategoryItem, ClassicSpin, CodeBlock, ConfirmModal, type ConfirmModalProps, type CreateAccountSchemaType, type CreateWalletSchemaType, DashboardLayout, DataTable, type DataTableColumn, DateInput, type DateInputProps, type DeleteFunction, Dropdown, type DropdownItem, type DropdownProps, type EnumsConfig, ErrorPage, type ErrorPageProps, type FetchFunction, type FetchProps, Fields, Guard, InfoGrid, Input, type InputProps, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, type NavItem, type NavItems, type Option, OverlaySpin, PageA4, PageHeader, type PdfOptions, PhoneInput, type PhoneInputProps, type PostFunction, PostTable, type PostTableActions, type PostTableChangeParams, 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, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletField, WalletForm, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, createUserSchema, type createUserSchemaType, createWalletSchema, generatePdf, linkUserSchema, type linkUserSchemaType, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };
1665
+ export { AccountFields, AccountForm, 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, type FetchFunction, type FetchProps, Fields, Guard, InfoGrid, Input, type InputProps, LinkUser, LoadingBox, LoadingSpin, type LoginSchema, type LoginTheme, Modal, type ModalProps, type NavItem, type NavItems, type Option, OverlaySpin, _default as PackField, PackForm, type PackProductItemSchemaType, Packs, PageA4, PageHeader, 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, Textarea, type TextareaProps, type ThemeConfig, ThemeProvider, ThemeToggle, ThemedLogin, UnProtectedRoute, type UseModalReturn, UserForm, UserProfile, Users, Views, WalletField, WalletForm, Wallets, type WarqadConfig, type WarqadConfigContextType, WarqadProvider, createAccountSchema, createBrandSchema, createCategorySchema, createPackSchema, createProductSchema, createUserSchema, type createUserSchemaType, createWalletSchema, generatePdf, linkUserSchema, type linkUserSchemaType, packProductItemSchema, packTypes, resetPasswordSchema, type resetPasswordSchemaType, storage, updateUserEmailSchema, type updateUserEmailSchemaType, useA4CategoryView, useA4StatementView, useAntdImageUpload, useApi, useApp, useAuth, useAuthStore, useLogin, useModal, useSearchApiContext, useSelectContext, useTheme, useTransaction, useWarqadConfig, verifyUserEmailSchema, type verifyUserEmailSchemaType };