@react-pakistan/util-functions 1.25.76 → 1.25.79

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.
Files changed (3) hide show
  1. package/index.d.ts +28 -0
  2. package/index.js +44 -28
  3. package/package.json +9 -8
package/index.d.ts CHANGED
@@ -0,0 +1,28 @@
1
+ export * from './api/stellar-solutions/app-user';
2
+ export * from './api/stellar-solutions/bank';
3
+ export * from './api/stellar-solutions/branch';
4
+ export * from './api/stellar-solutions/company-report';
5
+ export * from './api/stellar-solutions/company';
6
+ export * from './api/stellar-solutions/constants';
7
+ export * from './api/stellar-solutions/constants';
8
+ export * from './api/stellar-solutions/contact';
9
+ export * from './api/stellar-solutions/currency';
10
+ export * from './api/stellar-solutions/customer';
11
+ export * from './api/stellar-solutions/expense-category';
12
+ export * from './api/stellar-solutions/expense';
13
+ export * from './api/stellar-solutions/lead';
14
+ export * from './api/stellar-solutions/menu-order';
15
+ export * from './api/stellar-solutions/payment-mode';
16
+ export * from './api/stellar-solutions/payment';
17
+ export * from './api/stellar-solutions/preference';
18
+ export * from './api/stellar-solutions/product-category';
19
+ export * from './api/stellar-solutions/product';
20
+ export * from './api/stellar-solutions/profile';
21
+ export * from './api/stellar-solutions/quote-invoice-report';
22
+ export * from './api/stellar-solutions/quote-invoice';
23
+ export * from './api/stellar-solutions/tax';
24
+ export * from './api/stellar-solutions/types';
25
+ export * from './constants';
26
+ export * from './general';
27
+ export * from './local-storage';
28
+ export * from './storybook';
package/index.js CHANGED
@@ -1,28 +1,44 @@
1
- // export * from './api/stellar-solutions/app-user';
2
- // export * from './api/stellar-solutions/bank';
3
- // export * from './api/stellar-solutions/branch';
4
- // export * from './api/stellar-solutions/company-report';
5
- // export * from './api/stellar-solutions/company';
6
- // export * from './api/stellar-solutions/constants';
7
- // export * from './api/stellar-solutions/constants';
8
- // export * from './api/stellar-solutions/contact';
9
- // export * from './api/stellar-solutions/currency';
10
- // export * from './api/stellar-solutions/customer';
11
- // export * from './api/stellar-solutions/expense-category';
12
- // export * from './api/stellar-solutions/expense';
13
- // export * from './api/stellar-solutions/lead';
14
- // export * from './api/stellar-solutions/menu-order';
15
- // export * from './api/stellar-solutions/payment-mode';
16
- // export * from './api/stellar-solutions/payment';
17
- // export * from './api/stellar-solutions/preference';
18
- // export * from './api/stellar-solutions/product-category';
19
- // export * from './api/stellar-solutions/product';
20
- // export * from './api/stellar-solutions/profile';
21
- // export * from './api/stellar-solutions/quote-invoice-report';
22
- // export * from './api/stellar-solutions/quote-invoice';
23
- // export * from './api/stellar-solutions/tax';
24
- // export * from './api/stellar-solutions/types';
25
- // export * from './constants';
26
- // export * from './general';
27
- // export * from './local-storage';
28
- // export * from './storybook';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./api/stellar-solutions/app-user"), exports);
18
+ __exportStar(require("./api/stellar-solutions/bank"), exports);
19
+ __exportStar(require("./api/stellar-solutions/branch"), exports);
20
+ __exportStar(require("./api/stellar-solutions/company-report"), exports);
21
+ __exportStar(require("./api/stellar-solutions/company"), exports);
22
+ __exportStar(require("./api/stellar-solutions/constants"), exports);
23
+ __exportStar(require("./api/stellar-solutions/constants"), exports);
24
+ __exportStar(require("./api/stellar-solutions/contact"), exports);
25
+ __exportStar(require("./api/stellar-solutions/currency"), exports);
26
+ __exportStar(require("./api/stellar-solutions/customer"), exports);
27
+ __exportStar(require("./api/stellar-solutions/expense-category"), exports);
28
+ __exportStar(require("./api/stellar-solutions/expense"), exports);
29
+ __exportStar(require("./api/stellar-solutions/lead"), exports);
30
+ __exportStar(require("./api/stellar-solutions/menu-order"), exports);
31
+ __exportStar(require("./api/stellar-solutions/payment-mode"), exports);
32
+ __exportStar(require("./api/stellar-solutions/payment"), exports);
33
+ __exportStar(require("./api/stellar-solutions/preference"), exports);
34
+ __exportStar(require("./api/stellar-solutions/product-category"), exports);
35
+ __exportStar(require("./api/stellar-solutions/product"), exports);
36
+ __exportStar(require("./api/stellar-solutions/profile"), exports);
37
+ __exportStar(require("./api/stellar-solutions/quote-invoice-report"), exports);
38
+ __exportStar(require("./api/stellar-solutions/quote-invoice"), exports);
39
+ __exportStar(require("./api/stellar-solutions/tax"), exports);
40
+ __exportStar(require("./api/stellar-solutions/types"), exports);
41
+ __exportStar(require("./constants"), exports);
42
+ __exportStar(require("./general"), exports);
43
+ __exportStar(require("./local-storage"), exports);
44
+ __exportStar(require("./storybook"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.25.76",
3
+ "version": "1.25.79",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -51,30 +51,30 @@
51
51
  "@babel/core": "^7.24.5",
52
52
  "@babel/preset-typescript": "^7.24.1",
53
53
  "@eslint/js": "^9.17.0",
54
- "@microsoft/tsdoc": "^0.14.2",
54
+ "@microsoft/tsdoc": "^0.16.0",
55
55
  "@testing-library/react": "^14.0.0",
56
56
  "@testing-library/react-hooks": "^8.0.1",
57
57
  "@types/eslint__js": "^8.42.3",
58
58
  "@types/jest": "^30.0.0",
59
59
  "@types/lodash.curry": "^4.1.9",
60
60
  "@types/mocha": "^10.0.10",
61
- "@types/node": "^20.12.8",
61
+ "@types/node": "^25",
62
62
  "@types/styled-components": "^5.1.34",
63
63
  "date-fns": "^2.30.0",
64
64
  "date-fns-tz": "^2.0.0",
65
- "dayjs": "^1.11.13",
65
+ "dayjs": "^1",
66
66
  "eslint": "^9.17.0",
67
67
  "eslint-config-prettier": "^9.1.0",
68
68
  "eslint-plugin-prettier": "^5.2.1",
69
69
  "globals": "^15.13.0",
70
70
  "husky": "^9.1.7",
71
71
  "jest": "^29.7.0",
72
- "jest-environment-jsdom": "^29.7.0",
73
- "libphonenumber-js": "^1.12.13",
72
+ "jest-environment-jsdom": "^30",
73
+ "libphonenumber-js": "^1",
74
74
  "lint-staged": "^15.2.2",
75
75
  "lodash.curry": "^4.1.1",
76
76
  "next": "^16",
77
- "next-intl": "^4.9.0",
77
+ "next-intl": "^4",
78
78
  "prettier": "^3.4.2",
79
79
  "react": "^19",
80
80
  "react-dom": "^19",
@@ -89,7 +89,8 @@
89
89
  "zod": "^4"
90
90
  },
91
91
  "resolutions": {
92
- "js-cookie": "3.0.7"
92
+ "js-cookie": "3.0.7",
93
+ "postcss": "8.5.10"
93
94
  },
94
95
  "engines": {
95
96
  "npm": ">=10.0.0",