ui-soxo-bootstrap-core 2.4.25-dev.9 → 2.4.25

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 (31) hide show
  1. package/.github/workflows/npm-publish.yml +15 -37
  2. package/core/components/extra-info/extra-info-details.js +126 -109
  3. package/core/components/landing-api/landing-api.js +30 -22
  4. package/core/lib/Store.js +18 -20
  5. package/core/lib/components/index.js +1 -4
  6. package/core/lib/components/sidemenu/sidemenu.js +256 -153
  7. package/core/lib/components/sidemenu/sidemenu.scss +26 -39
  8. package/core/lib/elements/basic/rangepicker/rangepicker.js +29 -118
  9. package/core/lib/hooks/index.js +12 -2
  10. package/core/lib/pages/login/login.js +139 -255
  11. package/core/lib/pages/login/login.scss +32 -140
  12. package/core/models/dashboard/dashboard.js +0 -14
  13. package/core/models/menus/components/menu-add/menu-add.js +268 -230
  14. package/core/models/menus/components/menu-lists/menu-lists.js +89 -126
  15. package/core/models/menus/components/menu-lists/menu-lists.scss +0 -9
  16. package/core/models/menus/menus.js +267 -247
  17. package/core/models/roles/components/role-add/role-add.js +227 -269
  18. package/core/models/roles/components/role-list/role-list.js +6 -8
  19. package/core/models/roles/roles.js +174 -182
  20. package/core/models/users/components/user-add/user-add.js +1 -69
  21. package/core/models/users/users.js +0 -57
  22. package/core/modules/index.js +13 -23
  23. package/core/modules/reporting/components/reporting-dashboard/reporting-dashboard.js +1 -1
  24. package/package.json +2 -2
  25. package/core/lib/hooks/use-otp-timer.js +0 -99
  26. package/core/models/staff/components/staff-add/staff-add.js +0 -352
  27. package/core/models/staff/components/staff-add/staff-add.scss +0 -0
  28. package/core/modules/steps/action-buttons.js +0 -79
  29. package/core/modules/steps/steps.js +0 -553
  30. package/core/modules/steps/steps.scss +0 -158
  31. package/core/modules/steps/timeline.js +0 -49
@@ -5,29 +5,17 @@ body {
5
5
  .user-authentication-section {
6
6
  min-height: 90vh;
7
7
  display: flex;
8
- // margin: 0px 15%;
8
+ margin: 0px 15%;
9
9
  justify-content: center;
10
- padding: 0px 15%;
11
10
  // align-items: center;
12
11
 
13
- @media (max-width: 1200px) {
14
- margin: 0 5%;
15
- }
16
-
17
- @media (max-width: 768px) {
18
- margin: 0 10px;
19
- padding-top: 20px;
20
- flex-direction: column;
21
- align-items: center;
22
- }
23
-
24
12
  .page-background {
25
- position: absolute;
13
+ position: absolute;
26
14
  left: 0px;
27
15
  top: 0px;
28
- height: 40vh;
16
+ height:40vh;
29
17
  width: 100%;
30
-
18
+
31
19
  // background-image:url("./../../../assets/images/vector.png"); /* Set Image */ ;
32
20
  // background: url("./../../../assets/images/vector.png"),
33
21
  // linear-gradient(to right, #D5F1FB, #24AEB8);
@@ -133,7 +121,7 @@ body {
133
121
  border: 1px solid #b7b7b7;
134
122
  text-align: center;
135
123
  border-radius: 2px;
136
- margin: 22px 0px;
124
+ margin: 16px 0px;
137
125
  padding: 4px;
138
126
 
139
127
  img {
@@ -156,22 +144,21 @@ body {
156
144
  // box-shadow: 0 2px 4px rgba(104, 97, 97, 0.5);
157
145
  // display: flex;
158
146
  // align-items: center;
159
- border-radius: 16px;
147
+ border-radius: 12px;
160
148
  background-color: white;
161
149
  overflow: hidden;
162
150
  border: 1px solid #e8e8e8;
163
151
 
164
- width: 42%;
152
+ width: 40%;
165
153
 
166
154
  @media only screen and (max-width: 768px) {
167
- width: 100%;
168
- padding: 0 16px;
155
+ width: 95%;
169
156
 
170
- // display: flex;
171
- // flex-direction: column;
172
- // justify-content: center;
173
- // text-align: center;
174
- // align-items: center;
157
+ display: flex;
158
+ flex-direction: column;
159
+ justify-content: center;
160
+ text-align: center;
161
+ align-items: center;
175
162
  }
176
163
 
177
164
  .login-form-container {
@@ -179,24 +166,20 @@ body {
179
166
  flex-basis: 50%;
180
167
  // border: none !important;
181
168
  // box-shadow: none !important;
182
- // padding: 20px 30px;
183
- padding: 20px;
184
- padding-top: 2px;
169
+ padding: 20px 30px;
185
170
 
186
171
  @media only screen and (max-width: 768px) {
187
- padding: 16px;
188
- // display: flex;
189
- // flex-direction: column;
190
- // justify-content: center;
191
- // text-align: center;
192
- // align-items: center;
172
+ display: flex;
173
+ flex-direction: column;
174
+ justify-content: center;
175
+ text-align: center;
176
+ align-items: center;
193
177
  }
194
178
 
195
179
  .branch-switcher {
196
180
  .branches {
197
181
  .ant-select {
198
- min-width: auto !important;
199
- width: 100%;
182
+ min-width: 150px;
200
183
  }
201
184
  }
202
185
  }
@@ -234,7 +217,7 @@ body {
234
217
  .ant-form {
235
218
  // height: 100%;
236
219
  .ant-form-item {
237
- margin: 20px 0px;
220
+ margin: 30px 0px;
238
221
  .ant-form-item-label {
239
222
  margin: 0 0 8px 0;
240
223
  line-height: 0;
@@ -266,13 +249,9 @@ body {
266
249
  width: 100%;
267
250
  }
268
251
  }
269
- .otp-container {
270
- display: flex;
271
- }
272
252
 
273
253
  .otp-input-container p {
274
- margin: 12px 0 0 0;
275
- font-size: 12px;
254
+ margin: 20px 0 -10px 0;
276
255
  }
277
256
 
278
257
  .otp-input-container .otp-title {
@@ -280,17 +259,13 @@ body {
280
259
  text-align: left;
281
260
  }
282
261
  }
283
- .ant-divider-horizontal {
284
- margin-bottom: 16px;
285
- margin-top: 2px;
286
- }
287
262
 
288
263
  .otp-input-container .resend-otp-link {
289
264
  display: flex;
290
265
  justify-content: center;
291
266
  align-items: center;
292
267
  text-align: center;
293
- // margin-top: -10px;
268
+ margin-top: -10px;
294
269
  color: #0c66e4;
295
270
  margin-bottom: 10px;
296
271
  }
@@ -317,58 +292,7 @@ body {
317
292
  .otp-input-container {
318
293
  display: flex;
319
294
  flex-direction: column;
320
- gap: 2px;
321
- }
322
- .otp-actions {
323
- background-color: #f5f5f5; // light gray
324
- padding: 12px 16px;
325
- display: flex;
326
- justify-content: space-between;
327
- gap: 6px;
328
- // margin-top: 6px;
329
- }
330
- .resend-action {
331
- margin-bottom: 8px;
332
- display: flex;
333
- gap: 6px;
334
- }
335
- .otp-method-section {
336
- // margin-top: 10px;
337
-
338
- display: flex;
339
- flex-direction: column;
340
- gap: 6px;
341
-
342
- .otp-method-title {
343
- font-size: 16px;
344
- font-weight: 600;
345
- margin-bottom: 8px;
346
- }
347
-
348
- .otp-method-group {
349
- display: flex;
350
- align-items: center;
351
- margin-bottom: 10px;
352
- gap: 30px;
353
- font-size: 12px;
354
- }
355
-
356
- .ant-radio-wrapper {
357
- display: flex;
358
- align-items: center;
359
- gap: 6px;
360
-
361
- svg {
362
- font-size: 18px;
363
- opacity: 0.8;
364
- }
365
- }
366
-
367
- .otp-mode-error {
368
- margin: 5px;
369
- font-size: 13px;
370
- color: red;
371
- }
295
+ gap: 20px;
372
296
  }
373
297
 
374
298
  .otp-mode-text {
@@ -384,25 +308,25 @@ input {
384
308
  input:focus {
385
309
  border-color: #fff !important;
386
310
  }
387
- .otp-container {
311
+ .otp-container{
388
312
  display: flex;
389
- flex-direction: column;
313
+ flex-direction:row;
390
314
  gap: 7px;
391
315
  }
392
316
 
393
- .otp-container input[type='text']:focus {
317
+ .otp-container input[type="text"]:focus {
394
318
  border-color: #fff !important;
395
319
  }
396
320
 
397
321
  .full-page {
398
322
  height: 100vh;
399
- background-color: 'cover'; // Ensures full coverage
323
+ background-color: "cover"; // Ensures full coverage
400
324
  background-position: 'bottom center'; // Aligns image at the bottom
401
- background-size: '100% auto'; // image spans full width
402
- background-repeat: no-repeat;
403
-
325
+ background-size: '100% auto';// image spans full width
326
+ background-repeat:no-repeat ;
327
+
404
328
  min-height: 100vh; // Ensures full height
405
- width: 100%; // Covers the full width
329
+ width: 100%, // Covers the full width
406
330
  }
407
331
  .ant-input {
408
332
  background-color: transparent !important;
@@ -420,35 +344,3 @@ input:focus {
420
344
  // background-color: var(--custom-input-bg-color);
421
345
  // color: var(--custom-input-color);
422
346
  // }
423
- /* Mobile: stack OTP radio options in separate rows */
424
- /* Mobile phones (iPhone) – stack in one column */
425
- @media only screen and (max-width: 600px) {
426
- .otp-method-group {
427
- flex-direction: column !important;
428
- align-items: flex-start !important;
429
- gap: 12px !important;
430
- }
431
- }
432
-
433
- /* iPad Mini + Tablets (600px to 1024px) – show in row */
434
- @media only screen and (min-width: 601px) and (max-width: 1024px) {
435
- .otp-method-group {
436
- flex-direction: row !important;
437
- align-items: center !important;
438
- justify-content: space-between !important;
439
- gap: 20px !important;
440
- width: 100%;
441
- }
442
-
443
- .otp-method-group .ant-radio-wrapper {
444
- flex: 1; /* evenly spaced columns */
445
- }
446
- }
447
-
448
- /* Desktop – normal layout */
449
- @media only screen and (min-width: 1025px) {
450
- .otp-method-group {
451
- flex-direction: row;
452
- gap: 30px;
453
- }
454
- }
@@ -81,20 +81,6 @@ class Dashboard extends Base {
81
81
  ];
82
82
  }
83
83
 
84
- loadProcess(id) {
85
- return ApiUtils.get({
86
- url: `process/${id}`,
87
- });
88
- }
89
-
90
- processLog(formBody) {
91
- return ApiUtils.post({
92
- url: `process/process-log`,
93
- formBody,
94
- });
95
- }
96
-
97
-
98
84
  /**
99
85
  * Function to load dashboards based on user information
100
86
  * @param {*} user