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
@@ -1,158 +0,0 @@
1
- .timeline-card .ant-card-body {
2
- padding: 20px;
3
- min-height: 400px;
4
- position: relative; /* For positioning the arrow */
5
- }
6
-
7
- .timeline-sidebar {
8
- display: flex;
9
- flex-direction: column;
10
- gap: 20px;
11
- transition: all 0.3s ease;
12
- }
13
-
14
- .timeline-step {
15
- display: flex;
16
- cursor: pointer;
17
- }
18
-
19
- .timeline-step.active .step-number {
20
- background: #3b82f6;
21
- color: white;
22
- }
23
-
24
- .timeline-step.completed .step-number {
25
- background: #22c55e;
26
- color: white;
27
- }
28
-
29
- .step-marker {
30
- display: flex;
31
- flex-direction: column;
32
- align-items: center;
33
- margin-right: 14px;
34
- }
35
-
36
- .step-number {
37
- width: 28px;
38
- height: 28px;
39
- border-radius: 50%;
40
- background: #d9d9d9;
41
- display: flex;
42
- align-items: center;
43
- justify-content: center;
44
- font-weight: 600;
45
- }
46
-
47
- .vertical-line {
48
- width: 2px;
49
- height: 40px;
50
- background: #d9d9d9;
51
- }
52
-
53
- .step-info {
54
- display: flex;
55
- flex-direction: column;
56
- justify-content: center;
57
- }
58
-
59
- .step-title {
60
- font-size: 13px;
61
- font-weight: 500;
62
- }
63
-
64
- .step-main {
65
- font-size: 15px;
66
- font-weight: 600;
67
- }
68
-
69
- .toggle-arrow {
70
- position: absolute;
71
- top: 50%;
72
- right: -12px; /* Position it just outside the card body padding */
73
- transform: translateY(-50%);
74
- width: 24px;
75
- height: 24px;
76
- background: #fff;
77
- border: 1px solid #f0f0f0;
78
- border-radius: 50%;
79
- display: flex;
80
- align-items: center;
81
- justify-content: center;
82
- cursor: pointer;
83
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
84
- z-index: 10;
85
- transition: all 0.3s ease;
86
-
87
- &:hover {
88
- background: #f5f5f5;
89
- }
90
- }
91
-
92
- /* ============================
93
- MOBILE & TABLET VIEW FIXES
94
- ============================ */
95
-
96
-
97
-
98
- @media (max-width: 992px) { // iPad & tablets
99
- .timeline-card .ant-card-body {
100
- padding: 12px;
101
- min-height: auto;
102
- }
103
-
104
- .timeline-sidebar {
105
- flex-direction: row !important;
106
- overflow-x: auto;
107
- gap: 12px;
108
- padding-bottom: 10px;
109
- border-bottom: 1px solid #eee;
110
- }
111
-
112
- .timeline-step {
113
- flex-direction: column;
114
- align-items: center;
115
- }
116
-
117
- .step-marker {
118
- margin-right: 0;
119
- }
120
-
121
- .step-info {
122
- text-align: center;
123
- }
124
-
125
- .toggle-arrow {
126
- display: none !important; /* Hide collapse icon */
127
- }
128
- }
129
-
130
- @media (max-width: 768px) { // mobile screens
131
- .timeline-sidebar {
132
- gap: 8px;
133
- }
134
-
135
- .step-number {
136
- width: 24px;
137
- height: 24px;
138
- font-size: 12px;
139
- }
140
-
141
- .step-title {
142
- font-size: 11px;
143
- }
144
-
145
- .step-main {
146
- font-size: 13px;
147
- }
148
-
149
- .vertical-line {
150
- display: none;
151
- }
152
-
153
- /* Card layout full width */
154
- .timeline-card .ant-card-body {
155
- padding: 10px;
156
- }
157
- }
158
-
@@ -1,49 +0,0 @@
1
- import React from "react";
2
- import { Skeleton } from "antd";
3
- import { LeftOutlined, RightOutlined } from "@ant-design/icons";
4
- import { Card } from "../../lib";
5
-
6
- export default function TimelinePanel({
7
- loading,
8
- steps,
9
- activeStep,
10
- timelineCollapsed,
11
- handleTimelineClick,
12
- setTimelineCollapsed
13
- }) {
14
- return (
15
- <Card className="timeline-card">
16
- {loading ? (
17
- <Skeleton active />
18
- ) : (
19
- <div className={`timeline-sidebar ${timelineCollapsed ? "collapsed" : ""}`}>
20
- {steps.map((step, index) => (
21
- <div
22
- key={step.step_id}
23
- className={`timeline-step
24
- ${index === activeStep ? "active" : ""}
25
- ${index < activeStep ? "completed" : ""}`}
26
- onClick={() => handleTimelineClick(index)}
27
- >
28
- <div className="step-marker">
29
- <div className="step-number">{index + 1}</div>
30
- {index < steps.length - 1 && <div className="vertical-line"></div>}
31
- </div>
32
-
33
- {!timelineCollapsed && (
34
- <div className="step-info">
35
- <div className="step-title">Step {index + 1}</div>
36
- <div className="step-main">{step.step_name}</div>
37
- </div>
38
- )}
39
- </div>
40
- ))}
41
-
42
- <div className="toggle-arrow" onClick={() => setTimelineCollapsed(!timelineCollapsed)}>
43
- {timelineCollapsed ? <RightOutlined /> : <LeftOutlined />}
44
- </div>
45
- </div>
46
- )}
47
- </Card>
48
- );
49
- }