ubk.erp.webpack 1.0.8 → 1.1.0

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/README.md CHANGED
@@ -12,7 +12,7 @@ A professional React component library for UBK ERP systems, built with Vite and
12
12
 
13
13
  ## 📦 Installation
14
14
 
15
- Install the package and its peer dependencies:
15
+ Install the package:
16
16
 
17
17
  ```bash
18
18
  npm install ubk.erp.webpack
@@ -22,9 +22,14 @@ npm install ubk.erp.webpack
22
22
  Ensure your project has the following installed:
23
23
  - `react` >= 18
24
24
  - `react-dom` >= 18
25
+ - `@ant-design/icons` >= 5
25
26
  - `antd` >= 5
27
+ - `dayjs` >= 1.11
28
+ - `react-hot-toast` >= 2
29
+ - `react-select` >= 5
30
+ - `react-to-print` >= 3
31
+ - `react-barcode` >= 1
26
32
  - `swr` >= 2
27
- - `axios` >= 1
28
33
 
29
34
  ## ⚙️ Configuration
30
35
 
@@ -56,7 +61,10 @@ REACT_APP_API_URL=https://npmapi.ubkerp.com/
56
61
  # API Endpoints
57
62
  VITE_MENU_URL=api/sdk/Menus
58
63
  VITE_ADMISSION_ENQUIRY_URL=api/branchapi/frontoffice/enquirytablelist
59
- # ... (see .env.example for full list)
64
+ # Library endpoints (examples)
65
+ VITE_LIBRARY_ADD_CATEGORY_URL=api/branchapi/library/addBookCategory
66
+ VITE_LIBRARY_DELETE_CATEGORY_URL=api/branchapi/library/deleteBookCategory
67
+ VITE_LIBRARY_MONTHLY_REPORT_URL=api/branchapi/library/libraryReport
60
68
  ```
61
69
 
62
70
  ## 🛠️ Usage
@@ -102,14 +110,22 @@ const TransportPage = () => {
102
110
  | `AssignVehicles` | Assign vehicles to specific routes. |
103
111
  | `AddDriver` | Driver information and document management. |
104
112
  | `RouteTimeTable` | Schedule management for transport routes. |
113
+ | `AssignStudentToTransport` | Assign students to transport routes. |
105
114
  | `Stoppage` | Manage route stops and timings. |
115
+ | `AddBook` | Library: add books. |
116
+ | `BookList` | Library: book list + barcode printing. |
117
+ | `IssueReturn` | Library: issue/return books. |
118
+ | `LibraryAssignStudent` | Library: assign/remove student membership. |
119
+ | `LibraryCategory` | Library: manage book categories. |
120
+ | `LibraryReport` | Library: monthly report. |
121
+
106
122
 
107
123
  ## 🛠️ Development
108
124
 
109
125
  ### Setup
110
126
  1. Clone the repository
111
127
  2. Install dependencies: `npm install`
112
- 3. Copy `.env.example` to `.env` and configure.
128
+ 3. Create a `.env` file and configure `VITE_*` variables as needed.
113
129
 
114
130
  ### Build
115
131
  To build the library for production: