warqadui 0.0.158 → 0.0.160

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
@@ -104,12 +104,12 @@ declare const useTheme: () => ThemeContextType;
104
104
 
105
105
  declare const LoadingBox: () => react_jsx_runtime.JSX.Element;
106
106
 
107
- interface LoadingSpinProps {
107
+ interface LoadingSpinProps extends React__default.SVGAttributes<SVGSVGElement> {
108
108
  className?: string;
109
109
  size?: "sm" | "md" | "lg";
110
110
  color?: string;
111
111
  }
112
- declare const LoadingSpin: ({ className, size, color, }: LoadingSpinProps) => react_jsx_runtime.JSX.Element;
112
+ declare const LoadingSpin: ({ className, size, color, ...props }: LoadingSpinProps) => react_jsx_runtime.JSX.Element;
113
113
 
114
114
  declare const ClassicSpin: ({ msg }: {
115
115
  msg?: string;
@@ -387,6 +387,7 @@ declare const Enums: {
387
387
  sale: readonly ["cash", "credit"];
388
388
  stockTransferTypes: readonly ["pack", "product", "pack to product"];
389
389
  forexTypes: readonly ["direct", "exchange", "supplier exchange"];
390
+ branchTypes: readonly ["shop", "store", "office", "apartment"];
390
391
  };
391
392
 
392
393
  interface ThemeConfig {
@@ -1364,15 +1365,15 @@ declare const createAccountSchema: z$1.ZodObject<{
1364
1365
  currency: z$1.ZodOptional<z$1.ZodString>;
1365
1366
  }, "strip", z$1.ZodTypeAny, {
1366
1367
  name: string;
1367
- email?: string | undefined;
1368
1368
  sex?: "male" | "female" | undefined;
1369
+ email?: string | undefined;
1369
1370
  currency?: string | undefined;
1370
1371
  phoneNumber?: string | undefined;
1371
1372
  branch?: string | undefined;
1372
1373
  }, {
1373
1374
  name: string;
1374
- email?: string | undefined;
1375
1375
  sex?: "male" | "female" | undefined;
1376
+ email?: string | undefined;
1376
1377
  currency?: string | undefined;
1377
1378
  phoneNumber?: string | undefined;
1378
1379
  branch?: string | undefined;
@@ -1419,12 +1420,12 @@ declare const linkUserSchema: z$1.ZodObject<{
1419
1420
  role: z$1.ZodEnum<["admin"]>;
1420
1421
  }, "strip", z$1.ZodTypeAny, {
1421
1422
  name: string;
1422
- role: "admin";
1423
1423
  email: string;
1424
+ role: "admin";
1424
1425
  }, {
1425
1426
  name: string;
1426
- role: "admin";
1427
1427
  email: string;
1428
+ role: "admin";
1428
1429
  }>;
1429
1430
  declare const verifyUserEmailSchema: z$1.ZodObject<{
1430
1431
  email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
@@ -1466,13 +1467,13 @@ declare const createUserSchema: z$1.ZodObject<{
1466
1467
  role: z$1.ZodEnum<["admin"]>;
1467
1468
  }, "strip", z$1.ZodTypeAny, {
1468
1469
  name: string;
1469
- role: "admin";
1470
1470
  email: string;
1471
+ role: "admin";
1471
1472
  phoneNumber?: string | undefined;
1472
1473
  }, {
1473
1474
  name: string;
1474
- role: "admin";
1475
1475
  email: string;
1476
+ role: "admin";
1476
1477
  phoneNumber?: string | undefined;
1477
1478
  }>;
1478
1479
  declare const updateUserSchema: z$1.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -104,12 +104,12 @@ declare const useTheme: () => ThemeContextType;
104
104
 
105
105
  declare const LoadingBox: () => react_jsx_runtime.JSX.Element;
106
106
 
107
- interface LoadingSpinProps {
107
+ interface LoadingSpinProps extends React__default.SVGAttributes<SVGSVGElement> {
108
108
  className?: string;
109
109
  size?: "sm" | "md" | "lg";
110
110
  color?: string;
111
111
  }
112
- declare const LoadingSpin: ({ className, size, color, }: LoadingSpinProps) => react_jsx_runtime.JSX.Element;
112
+ declare const LoadingSpin: ({ className, size, color, ...props }: LoadingSpinProps) => react_jsx_runtime.JSX.Element;
113
113
 
114
114
  declare const ClassicSpin: ({ msg }: {
115
115
  msg?: string;
@@ -387,6 +387,7 @@ declare const Enums: {
387
387
  sale: readonly ["cash", "credit"];
388
388
  stockTransferTypes: readonly ["pack", "product", "pack to product"];
389
389
  forexTypes: readonly ["direct", "exchange", "supplier exchange"];
390
+ branchTypes: readonly ["shop", "store", "office", "apartment"];
390
391
  };
391
392
 
392
393
  interface ThemeConfig {
@@ -1364,15 +1365,15 @@ declare const createAccountSchema: z$1.ZodObject<{
1364
1365
  currency: z$1.ZodOptional<z$1.ZodString>;
1365
1366
  }, "strip", z$1.ZodTypeAny, {
1366
1367
  name: string;
1367
- email?: string | undefined;
1368
1368
  sex?: "male" | "female" | undefined;
1369
+ email?: string | undefined;
1369
1370
  currency?: string | undefined;
1370
1371
  phoneNumber?: string | undefined;
1371
1372
  branch?: string | undefined;
1372
1373
  }, {
1373
1374
  name: string;
1374
- email?: string | undefined;
1375
1375
  sex?: "male" | "female" | undefined;
1376
+ email?: string | undefined;
1376
1377
  currency?: string | undefined;
1377
1378
  phoneNumber?: string | undefined;
1378
1379
  branch?: string | undefined;
@@ -1419,12 +1420,12 @@ declare const linkUserSchema: z$1.ZodObject<{
1419
1420
  role: z$1.ZodEnum<["admin"]>;
1420
1421
  }, "strip", z$1.ZodTypeAny, {
1421
1422
  name: string;
1422
- role: "admin";
1423
1423
  email: string;
1424
+ role: "admin";
1424
1425
  }, {
1425
1426
  name: string;
1426
- role: "admin";
1427
1427
  email: string;
1428
+ role: "admin";
1428
1429
  }>;
1429
1430
  declare const verifyUserEmailSchema: z$1.ZodObject<{
1430
1431
  email: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodString, string, string>, string, string>;
@@ -1466,13 +1467,13 @@ declare const createUserSchema: z$1.ZodObject<{
1466
1467
  role: z$1.ZodEnum<["admin"]>;
1467
1468
  }, "strip", z$1.ZodTypeAny, {
1468
1469
  name: string;
1469
- role: "admin";
1470
1470
  email: string;
1471
+ role: "admin";
1471
1472
  phoneNumber?: string | undefined;
1472
1473
  }, {
1473
1474
  name: string;
1474
- role: "admin";
1475
1475
  email: string;
1476
+ role: "admin";
1476
1477
  phoneNumber?: string | undefined;
1477
1478
  }>;
1478
1479
  declare const updateUserSchema: z$1.ZodObject<{