@visns-studio/visns-components 5.10.11 → 5.11.2
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 +85 -0
- package/package.json +7 -7
- package/src/components/cms/DataGrid.jsx +8 -8
- package/src/components/cms/DropZone.jsx +1 -1
- package/src/components/cms/Form.jsx +1 -1
- package/src/components/cms/Gallery.jsx +1 -1
- package/src/components/cms/sorting/Item.jsx +1 -1
- package/src/components/crm/Autocomplete.jsx +3 -3
- package/src/components/crm/Breadcrumb.jsx +4 -4
- package/src/components/crm/BusinessCardOcr.jsx +681 -95
- package/src/components/crm/DataGrid.jsx +34 -32
- package/src/components/crm/Field.jsx +12 -12
- package/src/components/crm/Form.jsx +2 -2
- package/src/components/crm/Navigation.jsx +11 -11
- package/src/components/crm/Notification.jsx +2 -2
- package/src/components/crm/QuickAction.jsx +3 -3
- package/src/components/crm/SectionHeader.jsx +1 -1
- package/src/components/crm/SwitchAccount.jsx +4 -4
- package/src/components/crm/auth/ClientLogin.jsx +2 -2
- package/src/components/crm/auth/ClientOTPVerify.jsx +2 -2
- package/src/components/crm/auth/Login.jsx +3 -3
- package/src/components/crm/auth/Reset.jsx +2 -2
- package/src/components/crm/auth/TwoFactorAuth.jsx +2 -2
- package/src/components/crm/columns/ColumnRenderers.jsx +320 -259
- package/src/components/crm/controls/DataGridSearch.jsx +5 -5
- package/src/components/crm/generic/AlternativeActionModal.jsx +100 -0
- package/src/components/crm/generic/ContactSelectorModal.jsx +423 -0
- package/src/components/crm/generic/DatePickerDialog.jsx +302 -0
- package/src/components/crm/generic/DateRangeSelectorModal.jsx +181 -0
- package/src/components/crm/generic/GenericClientPortal.jsx +1 -1
- package/src/components/crm/generic/GenericDashboard.jsx +4 -4
- package/src/components/crm/generic/GenericDetail.jsx +6 -6
- package/src/components/crm/generic/GenericDynamic.jsx +3 -3
- package/src/components/crm/generic/GenericEditableTable.jsx +4 -4
- package/src/components/crm/generic/GenericFormBuilder.jsx +6 -6
- package/src/components/crm/generic/GenericGrid.jsx +2888 -0
- package/src/components/crm/generic/GenericIndex.jsx +5 -1255
- package/src/components/crm/generic/GenericReport.jsx +966 -646
- package/src/components/crm/generic/GenericReportForm.jsx +194 -0
- package/src/components/crm/generic/NotificationList.jsx +1 -1
- package/src/components/crm/generic/ReasonCollectorModal.jsx +194 -0
- package/src/components/crm/generic/SortableQuoteItems.jsx +3 -3
- package/src/components/crm/generic/shared/formatters.js +231 -0
- package/src/components/crm/generic/shared/gridUtils.js +194 -0
- package/src/components/crm/generic/styles/AlternativeActionModal.css +127 -0
- package/src/components/crm/generic/styles/ContactSelectorModal.css +367 -0
- package/src/components/crm/generic/styles/DatePickerDialog.css +84 -0
- package/src/components/crm/generic/styles/DateRangeSelectorModal.css +115 -0
- package/src/components/crm/generic/styles/GenericIndex.module.scss +382 -0
- package/src/components/crm/generic/styles/GenericReport.module.scss +96 -0
- package/src/components/crm/generic/styles/ReasonCollectorModal.css +217 -0
- package/src/components/crm/modals/GalleryModal.jsx +2 -2
- package/src/components/crm/sorting/Item.jsx +3 -3
- package/src/components/crm/styles/BusinessCardOcr.module.scss +197 -4
- package/src/index.js +4 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
/* Reason Collector Modal Styles */
|
|
2
|
+
.reason-collector-modal {
|
|
3
|
+
text-align: left;
|
|
4
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.reason-collector-modal.compact {
|
|
8
|
+
max-width: 350px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.reason-message {
|
|
12
|
+
margin-bottom: 16px;
|
|
13
|
+
color: #4a5568;
|
|
14
|
+
font-size: 15px;
|
|
15
|
+
line-height: 1.4;
|
|
16
|
+
text-align: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.reason-options-container {
|
|
20
|
+
margin: 16px 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.reason-options-container.compact {
|
|
24
|
+
margin: 12px 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.reason-option {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: flex-start;
|
|
30
|
+
margin-bottom: 8px;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.reason-option.reason-option-other {
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: flex-start;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.reason-radio-container {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
margin-bottom: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.reason-radio {
|
|
46
|
+
margin-right: 12px;
|
|
47
|
+
margin-top: 2px;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.reason-label {
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
color: #2d3748;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
line-height: 1.4;
|
|
56
|
+
flex: 1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.reason-label:hover {
|
|
60
|
+
color: #4299e1;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.custom-reason-input-container {
|
|
64
|
+
margin-top: 8px;
|
|
65
|
+
margin-left: 24px;
|
|
66
|
+
width: calc(100% - 24px);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.custom-reason-input {
|
|
70
|
+
width: 100%;
|
|
71
|
+
padding: 8px 12px;
|
|
72
|
+
border: 2px solid #e2e8f0;
|
|
73
|
+
border-radius: 6px;
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
font-family: inherit;
|
|
76
|
+
transition: all 0.2s ease;
|
|
77
|
+
background-color: #ffffff;
|
|
78
|
+
color: #2d3748;
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.custom-reason-input.compact {
|
|
83
|
+
padding: 6px 10px;
|
|
84
|
+
font-size: 13px;
|
|
85
|
+
min-height: 32px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.custom-reason-input:focus {
|
|
89
|
+
outline: none;
|
|
90
|
+
border-color: #4299e1;
|
|
91
|
+
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.custom-reason-input:hover {
|
|
95
|
+
border-color: #cbd5e0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.custom-reason-input::placeholder {
|
|
99
|
+
color: #a0aec0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* SweetAlert2 custom classes */
|
|
103
|
+
.reason-swal-container {
|
|
104
|
+
z-index: 10000;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.reason-swal-popup {
|
|
108
|
+
border-radius: 12px;
|
|
109
|
+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
110
|
+
max-width: 400px;
|
|
111
|
+
min-width: 320px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.reason-swal-content {
|
|
115
|
+
padding: 16px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.reason-swal-confirm {
|
|
119
|
+
background-color: #4299e1 !important;
|
|
120
|
+
border: none !important;
|
|
121
|
+
border-radius: 8px !important;
|
|
122
|
+
font-weight: 600 !important;
|
|
123
|
+
padding: 12px 24px !important;
|
|
124
|
+
font-size: 14px !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.reason-swal-confirm:hover {
|
|
128
|
+
background-color: #3182ce !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.reason-swal-cancel {
|
|
132
|
+
background-color: #e2e8f0 !important;
|
|
133
|
+
color: #4a5568 !important;
|
|
134
|
+
border: none !important;
|
|
135
|
+
border-radius: 8px !important;
|
|
136
|
+
font-weight: 600 !important;
|
|
137
|
+
padding: 12px 24px !important;
|
|
138
|
+
font-size: 14px !important;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.reason-swal-cancel:hover {
|
|
142
|
+
background-color: #cbd5e0 !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* Radio button styling */
|
|
146
|
+
.reason-radio {
|
|
147
|
+
appearance: none;
|
|
148
|
+
width: 18px;
|
|
149
|
+
height: 18px;
|
|
150
|
+
border: 2px solid #cbd5e0;
|
|
151
|
+
border-radius: 50%;
|
|
152
|
+
position: relative;
|
|
153
|
+
background-color: #ffffff;
|
|
154
|
+
transition: all 0.2s ease;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.reason-radio:checked {
|
|
158
|
+
border-color: #4299e1;
|
|
159
|
+
background-color: #4299e1;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.reason-radio:checked::after {
|
|
163
|
+
content: '';
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 50%;
|
|
166
|
+
left: 50%;
|
|
167
|
+
transform: translate(-50%, -50%);
|
|
168
|
+
width: 6px;
|
|
169
|
+
height: 6px;
|
|
170
|
+
background-color: #ffffff;
|
|
171
|
+
border-radius: 50%;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.reason-radio:hover {
|
|
175
|
+
border-color: #4299e1;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.reason-radio:focus {
|
|
179
|
+
outline: none;
|
|
180
|
+
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* Responsive design */
|
|
184
|
+
@media (max-width: 640px) {
|
|
185
|
+
.reason-swal-popup {
|
|
186
|
+
max-width: 90vw;
|
|
187
|
+
min-width: 280px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.custom-reason-input {
|
|
191
|
+
padding: 8px 10px;
|
|
192
|
+
font-size: 16px; /* Prevent zoom on iOS */
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.custom-reason-input.compact {
|
|
196
|
+
padding: 6px 8px;
|
|
197
|
+
font-size: 15px;
|
|
198
|
+
min-height: 28px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.reason-label {
|
|
202
|
+
font-size: 13px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.custom-reason-input-container {
|
|
206
|
+
margin-left: 20px;
|
|
207
|
+
width: calc(100% - 20px);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.reason-option {
|
|
211
|
+
margin-bottom: 6px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.reason-options-container.compact {
|
|
215
|
+
margin: 8px 0;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
@@ -4,7 +4,7 @@ import { toast } from 'react-toastify';
|
|
|
4
4
|
import imageCompression from 'browser-image-compression';
|
|
5
5
|
import Vapor from 'laravel-vapor';
|
|
6
6
|
import Lightbox from 'yet-another-react-lightbox';
|
|
7
|
-
import {
|
|
7
|
+
import { X, Image as ImageIcon, CloudUpload } from 'lucide-react';
|
|
8
8
|
import styles from '../styles/DataGrid.module.scss';
|
|
9
9
|
import CustomFetch from '../Fetch';
|
|
10
10
|
|
|
@@ -194,7 +194,7 @@ const GalleryModal = ({
|
|
|
194
194
|
className={styles.modal__close}
|
|
195
195
|
onClick={modalGalleryClose}
|
|
196
196
|
>
|
|
197
|
-
<
|
|
197
|
+
<X strokeWidth={1} size={24} />
|
|
198
198
|
</button>
|
|
199
199
|
</div>
|
|
200
200
|
<div
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SortableElement, sortableHandle } from 'react-sortable-hoc';
|
|
3
|
-
import {
|
|
3
|
+
import { GripVertical, Pencil, Trash2 } from 'lucide-react';
|
|
4
4
|
|
|
5
5
|
import styles from './styles/Item.module.scss';
|
|
6
6
|
|
|
7
7
|
const DragHandle = sortableHandle(() => (
|
|
8
|
-
<
|
|
8
|
+
<GripVertical className="drag-handle" strokeWidth={1} size={22} />
|
|
9
9
|
));
|
|
10
10
|
|
|
11
11
|
// Utility function to truncate text
|
|
@@ -98,7 +98,7 @@ const SortableItem = ({
|
|
|
98
98
|
{renderEditButton()}
|
|
99
99
|
|
|
100
100
|
{handleDelete && (
|
|
101
|
-
<
|
|
101
|
+
<Trash2
|
|
102
102
|
className={styles.delete}
|
|
103
103
|
strokeWidth={2}
|
|
104
104
|
size={24}
|
|
@@ -113,6 +113,7 @@
|
|
|
113
113
|
display: flex;
|
|
114
114
|
align-items: center;
|
|
115
115
|
justify-content: center;
|
|
116
|
+
padding: 1rem;
|
|
116
117
|
pointer-events: none;
|
|
117
118
|
}
|
|
118
119
|
|
|
@@ -136,17 +137,43 @@
|
|
|
136
137
|
|
|
137
138
|
.cameraControls {
|
|
138
139
|
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
139
141
|
gap: 1rem;
|
|
140
|
-
|
|
141
|
-
justify-content: center;
|
|
142
|
-
align-items: center;
|
|
142
|
+
padding: 1rem;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.captureButton {
|
|
146
146
|
background: var(--primary-color, #007bff);
|
|
147
147
|
color: white;
|
|
148
148
|
border: none;
|
|
149
|
-
border-radius:
|
|
149
|
+
border-radius: 50%;
|
|
150
|
+
width: 80px;
|
|
151
|
+
height: 80px;
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
align-items: center;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
gap: 0.25rem;
|
|
157
|
+
font-size: 0.8rem;
|
|
158
|
+
font-weight: 600;
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
transition: all 0.2s ease;
|
|
161
|
+
box-shadow: 0 4px 12px rgba(var(--primary-color-rgb, 0, 123, 255), 0.3);
|
|
162
|
+
|
|
163
|
+
&:hover:not(:disabled) {
|
|
164
|
+
background: var(--primary-hover, #0056b3);
|
|
165
|
+
transform: scale(1.05);
|
|
166
|
+
box-shadow: 0 6px 16px rgba(var(--primary-color-rgb, 0, 123, 255), 0.4);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&:disabled {
|
|
170
|
+
opacity: 0.6;
|
|
171
|
+
cursor: not-allowed;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&.focusing {
|
|
175
|
+
animation: pulse 1s infinite;
|
|
176
|
+
}
|
|
150
177
|
padding: 0.5rem 1.25rem;
|
|
151
178
|
font-size: 0.9rem;
|
|
152
179
|
font-weight: var(--h-weight, 600);
|
|
@@ -907,3 +934,169 @@
|
|
|
907
934
|
border-top-color: var(--primary-color, #007bff);
|
|
908
935
|
}
|
|
909
936
|
}
|
|
937
|
+
|
|
938
|
+
// Enhanced Camera UI Styles
|
|
939
|
+
.focusFrame {
|
|
940
|
+
position: relative;
|
|
941
|
+
width: 90%;
|
|
942
|
+
max-width: 500px;
|
|
943
|
+
aspect-ratio: 1.6; // Business card ratio
|
|
944
|
+
border: 2px solid rgba(255, 255, 255, 0.8);
|
|
945
|
+
border-radius: 12px;
|
|
946
|
+
background: rgba(0, 0, 0, 0.05);
|
|
947
|
+
display: flex;
|
|
948
|
+
align-items: center;
|
|
949
|
+
justify-content: center;
|
|
950
|
+
|
|
951
|
+
&::before {
|
|
952
|
+
content: '';
|
|
953
|
+
position: absolute;
|
|
954
|
+
top: -2px;
|
|
955
|
+
left: -2px;
|
|
956
|
+
right: -2px;
|
|
957
|
+
bottom: -2px;
|
|
958
|
+
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
959
|
+
border-radius: 14px;
|
|
960
|
+
opacity: 0;
|
|
961
|
+
animation: pulse 2s infinite;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.focusCorner {
|
|
966
|
+
position: absolute;
|
|
967
|
+
width: 50px;
|
|
968
|
+
height: 50px;
|
|
969
|
+
border: 4px solid rgba(255, 255, 255, 0.9);
|
|
970
|
+
background: transparent;
|
|
971
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
|
972
|
+
|
|
973
|
+
&.topLeft {
|
|
974
|
+
top: -25px;
|
|
975
|
+
left: -25px;
|
|
976
|
+
border-right: none;
|
|
977
|
+
border-bottom: none;
|
|
978
|
+
border-radius: 16px 0 0 0;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
&.topRight {
|
|
982
|
+
top: -25px;
|
|
983
|
+
right: -25px;
|
|
984
|
+
border-left: none;
|
|
985
|
+
border-bottom: none;
|
|
986
|
+
border-radius: 0 16px 0 0;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
&.bottomLeft {
|
|
990
|
+
bottom: -25px;
|
|
991
|
+
left: -25px;
|
|
992
|
+
border-right: none;
|
|
993
|
+
border-top: none;
|
|
994
|
+
border-radius: 0 0 0 16px;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
&.bottomRight {
|
|
998
|
+
bottom: -25px;
|
|
999
|
+
right: -25px;
|
|
1000
|
+
border-left: none;
|
|
1001
|
+
border-top: none;
|
|
1002
|
+
border-radius: 0 0 16px 0;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.focusIndicator {
|
|
1007
|
+
display: flex;
|
|
1008
|
+
flex-direction: column;
|
|
1009
|
+
align-items: center;
|
|
1010
|
+
gap: 0.5rem;
|
|
1011
|
+
color: var(--primary-color, #007bff);
|
|
1012
|
+
font-weight: 600;
|
|
1013
|
+
background: rgba(255, 255, 255, 0.9);
|
|
1014
|
+
padding: 1rem;
|
|
1015
|
+
border-radius: 12px;
|
|
1016
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
1017
|
+
|
|
1018
|
+
.focusIcon {
|
|
1019
|
+
animation: spin 1s linear infinite;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.helpText {
|
|
1024
|
+
text-align: center;
|
|
1025
|
+
color: white;
|
|
1026
|
+
background: rgba(0, 0, 0, 0.7);
|
|
1027
|
+
padding: 1rem 1.5rem;
|
|
1028
|
+
border-radius: 12px;
|
|
1029
|
+
backdrop-filter: blur(8px);
|
|
1030
|
+
|
|
1031
|
+
p {
|
|
1032
|
+
margin: 0;
|
|
1033
|
+
font-size: 0.9rem;
|
|
1034
|
+
line-height: 1.4;
|
|
1035
|
+
|
|
1036
|
+
&:first-child {
|
|
1037
|
+
font-weight: 600;
|
|
1038
|
+
margin-bottom: 0.25rem;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
&:last-child {
|
|
1042
|
+
opacity: 0.8;
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.controlsTop {
|
|
1048
|
+
display: flex;
|
|
1049
|
+
justify-content: space-between;
|
|
1050
|
+
align-items: center;
|
|
1051
|
+
padding: 0 1rem;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.controlsBottom {
|
|
1055
|
+
display: flex;
|
|
1056
|
+
justify-content: space-between;
|
|
1057
|
+
align-items: center;
|
|
1058
|
+
gap: 1rem;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.controlButton {
|
|
1062
|
+
background: rgba(0, 0, 0, 0.6);
|
|
1063
|
+
color: white;
|
|
1064
|
+
border: none;
|
|
1065
|
+
border-radius: 50%;
|
|
1066
|
+
width: 48px;
|
|
1067
|
+
height: 48px;
|
|
1068
|
+
display: flex;
|
|
1069
|
+
align-items: center;
|
|
1070
|
+
justify-content: center;
|
|
1071
|
+
cursor: pointer;
|
|
1072
|
+
transition: all 0.2s ease;
|
|
1073
|
+
backdrop-filter: blur(8px);
|
|
1074
|
+
|
|
1075
|
+
&:hover {
|
|
1076
|
+
background: rgba(0, 0, 0, 0.8);
|
|
1077
|
+
transform: scale(1.05);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
&.active {
|
|
1081
|
+
background: var(--primary-color, #007bff);
|
|
1082
|
+
color: white;
|
|
1083
|
+
|
|
1084
|
+
&:hover {
|
|
1085
|
+
background: var(--primary-hover, #0056b3);
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.placeholder {
|
|
1091
|
+
width: 48px; // Same as controlButton for balance
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
@keyframes pulse {
|
|
1095
|
+
0%, 100% { opacity: 0; transform: scale(1); }
|
|
1096
|
+
50% { opacity: 0.3; transform: scale(1.02); }
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
@keyframes spin {
|
|
1100
|
+
from { transform: rotate(0deg); }
|
|
1101
|
+
to { transform: rotate(360deg); }
|
|
1102
|
+
}
|
package/src/index.js
CHANGED
|
@@ -54,6 +54,8 @@ import GenericDetail from './components/crm/generic/GenericDetail';
|
|
|
54
54
|
import GenericDynamic from './components/crm/generic/GenericDynamic';
|
|
55
55
|
import GenericFormBuilder from './components/crm/generic/GenericFormBuilder';
|
|
56
56
|
import GenericIndex from './components/crm/generic/GenericIndex';
|
|
57
|
+
import GenericGrid from './components/crm/generic/GenericGrid';
|
|
58
|
+
import GenericReportForm from './components/crm/generic/GenericReportForm';
|
|
57
59
|
import GenericMain from './components/crm/generic/GenericMain';
|
|
58
60
|
import GenericQuote from './components/crm/generic/GenericQuote';
|
|
59
61
|
import GenericReport from './components/crm/generic/GenericReport';
|
|
@@ -94,6 +96,8 @@ export {
|
|
|
94
96
|
GenericDynamic,
|
|
95
97
|
GenericFormBuilder,
|
|
96
98
|
GenericIndex,
|
|
99
|
+
GenericGrid,
|
|
100
|
+
GenericReportForm,
|
|
97
101
|
GenericMain,
|
|
98
102
|
GenericQuote,
|
|
99
103
|
GenericReport,
|