tp-react-elements-dev 1.12.32 → 1.12.33

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.
@@ -1,195 +1,195 @@
1
- /*!
2
- * ______ _ _ _
3
- * | ____| | | | (_)
4
- * | |__ | | __ _| |_ _ ___ ___ _ __
5
- * | __| | |/ _` | __| |/ __/ _ \| '_ \
6
- * | | | | (_| | |_| | (_| (_) | | | |
7
- * |_| |_|\__,_|\__|_|\___\___/|_| |_|
8
- *
9
- * https://www.flaticon.com
10
- */
11
-
12
- @font-face {
13
- font-family: 'flaticon_hvc';
14
- src:
15
- url('./flaticon_hvc.woff2?09127989b5c99a4f290cd7bb7c4bad12') format('woff2'),
16
- url('./flaticon_hvc.woff?09127989b5c99a4f290cd7bb7c4bad12') format('woff'),
17
- url('./flaticon_hvc.eot?09127989b5c99a4f290cd7bb7c4bad12#iefix') format('embedded-opentype'),
18
- url('./flaticon_hvc.ttf?09127989b5c99a4f290cd7bb7c4bad12') format('truetype'),
19
- url('./flaticon_hvc.svg?09127989b5c99a4f290cd7bb7c4bad12#flaticon_hvc') format('svg');
20
- }
21
-
22
- i[class^='flaticon-']:before,
23
- i[class*=' flaticon-']:before {
24
- font-family: flaticon_hvc !important;
25
- font-style: normal;
26
- font-weight: normal !important;
27
- font-variant: normal;
28
- text-transform: none;
29
- line-height: 1;
30
- -webkit-font-smoothing: antialiased;
31
- -moz-osx-font-smoothing: grayscale;
32
- }
33
-
34
- .flaticon-setting:before {
35
- content: '\f101';
36
- }
37
- .flaticon-refresh:before {
38
- content: '\f102';
39
- }
40
- .flaticon-setting-1:before {
41
- content: '\f103';
42
- }
43
- .flaticon-check:before {
44
- content: '\f104';
45
- }
46
- .flaticon-bank:before {
47
- content: '\f105';
48
- }
49
- .flaticon-user:before {
50
- content: '\f106';
51
- }
52
- .flaticon-user-1:before {
53
- content: '\f107';
54
- }
55
- .flaticon-info-sign:before {
56
- content: '\f108';
57
- }
58
- .flaticon-clipboard:before {
59
- content: '\f109';
60
- }
61
- .flaticon-right-arrow:before {
62
- content: '\f10a';
63
- }
64
- .flaticon-home:before {
65
- content: '\f10b';
66
- }
67
- .flaticon-search:before {
68
- content: '\f10c';
69
- }
70
- .flaticon-eye:before {
71
- content: '\f10d';
72
- }
73
- .flaticon-edit:before {
74
- content: '\f10e';
75
- }
76
- .flaticon-delete:before {
77
- content: '\f10f';
78
- }
79
- .flaticon-add-1:before {
80
- content: '\f110';
81
- }
82
- .flaticon-plus-1:before {
83
- content: '\f111';
84
- }
85
- .flaticon-compose:before {
86
- content: '\f112';
87
- }
88
- .flaticon-trash:before {
89
- content: '\f113';
90
- }
91
- .flaticon-download:before {
92
- content: '\f114';
93
- }
94
- .flaticon-downloading:before {
95
- content: '\f115';
96
- }
97
- .flaticon-upload:before {
98
- content: '\f116';
99
- }
100
- .flaticon-right-arrow-1:before {
101
- content: '\f117';
102
- }
103
- .flaticon-user-2:before {
104
- content: '\f118';
105
- }
106
- .flaticon-man-in-suit-and-tie:before {
107
- content: '\f119';
108
- }
109
- .flaticon-cancel:before {
110
- content: '\f11a';
111
- }
112
- .flaticon-check-mark:before {
113
- content: '\f11b';
114
- }
115
- .flaticon-bars:before {
116
- content: '\f11c';
117
- }
118
- .flaticon-copy:before {
119
- content: '\f11d';
120
- }
121
- .flaticon-printer:before {
122
- content: '\f11e';
123
- }
124
- .flaticon-file:before {
125
- content: '\f11f';
126
- }
127
- .flaticon-file-1:before {
128
- content: '\f120';
129
- }
130
- .flaticon-file-2:before {
131
- content: '\f121';
132
- }
133
- .flaticon-eye-1:before {
134
- content: '\f122';
135
- }
136
- .flaticon-upload-1:before {
137
- content: '\f123';
138
- }
139
- .flaticon-production:before {
140
- content: '\f124';
141
- }
142
- .flaticon-cube:before {
143
- content: '\f125';
144
- }
145
- .flaticon-rotation:before {
146
- content: '\f126';
147
- }
148
- .flaticon-rotation-1:before {
149
- content: '\f127';
150
- }
151
- .flaticon-spinning:before {
152
- content: '\f128';
153
- }
154
- .flaticon-spinning-1:before {
155
- content: '\f129';
156
- }
157
- .flaticon-ready-stock:before {
158
- content: '\f12a';
159
- }
160
- .flaticon-ready-stock-1:before {
161
- content: '\f12b';
162
- }
163
- .flaticon-visible:before {
164
- content: '\f12c';
165
- }
166
- .flaticon-printing:before {
167
- content: '\f12d';
168
- }
169
- .flaticon-like:before {
170
- content: '\f12e';
171
- }
172
- .flaticon-thumb-up:before {
173
- content: '\f12f';
174
- }
175
- .flaticon-thumbs-up:before {
176
- content: '\f130';
177
- }
178
- .flaticon-thumb-down:before {
179
- content: '\f131';
180
- }
181
- .flaticon-dislike:before {
182
- content: '\f132';
183
- }
184
- .flaticon-thumb-down-1:before {
185
- content: '\f133';
186
- }
187
- .flaticon-pointing-right:before {
188
- content: '\f134';
189
- }
190
- .flaticon-point:before {
191
- content: '\f135';
192
- }
193
- .flaticon-history:before {
194
- content: '\f136';
195
- }
1
+ /*!
2
+ * ______ _ _ _
3
+ * | ____| | | | (_)
4
+ * | |__ | | __ _| |_ _ ___ ___ _ __
5
+ * | __| | |/ _` | __| |/ __/ _ \| '_ \
6
+ * | | | | (_| | |_| | (_| (_) | | | |
7
+ * |_| |_|\__,_|\__|_|\___\___/|_| |_|
8
+ *
9
+ * https://www.flaticon.com
10
+ */
11
+
12
+ @font-face {
13
+ font-family: 'flaticon_hvc';
14
+ src:
15
+ url('./flaticon_hvc.woff2?09127989b5c99a4f290cd7bb7c4bad12') format('woff2'),
16
+ url('./flaticon_hvc.woff?09127989b5c99a4f290cd7bb7c4bad12') format('woff'),
17
+ url('./flaticon_hvc.eot?09127989b5c99a4f290cd7bb7c4bad12#iefix') format('embedded-opentype'),
18
+ url('./flaticon_hvc.ttf?09127989b5c99a4f290cd7bb7c4bad12') format('truetype'),
19
+ url('./flaticon_hvc.svg?09127989b5c99a4f290cd7bb7c4bad12#flaticon_hvc') format('svg');
20
+ }
21
+
22
+ i[class^='flaticon-']:before,
23
+ i[class*=' flaticon-']:before {
24
+ font-family: flaticon_hvc !important;
25
+ font-style: normal;
26
+ font-weight: normal !important;
27
+ font-variant: normal;
28
+ text-transform: none;
29
+ line-height: 1;
30
+ -webkit-font-smoothing: antialiased;
31
+ -moz-osx-font-smoothing: grayscale;
32
+ }
33
+
34
+ .flaticon-setting:before {
35
+ content: '\f101';
36
+ }
37
+ .flaticon-refresh:before {
38
+ content: '\f102';
39
+ }
40
+ .flaticon-setting-1:before {
41
+ content: '\f103';
42
+ }
43
+ .flaticon-check:before {
44
+ content: '\f104';
45
+ }
46
+ .flaticon-bank:before {
47
+ content: '\f105';
48
+ }
49
+ .flaticon-user:before {
50
+ content: '\f106';
51
+ }
52
+ .flaticon-user-1:before {
53
+ content: '\f107';
54
+ }
55
+ .flaticon-info-sign:before {
56
+ content: '\f108';
57
+ }
58
+ .flaticon-clipboard:before {
59
+ content: '\f109';
60
+ }
61
+ .flaticon-right-arrow:before {
62
+ content: '\f10a';
63
+ }
64
+ .flaticon-home:before {
65
+ content: '\f10b';
66
+ }
67
+ .flaticon-search:before {
68
+ content: '\f10c';
69
+ }
70
+ .flaticon-eye:before {
71
+ content: '\f10d';
72
+ }
73
+ .flaticon-edit:before {
74
+ content: '\f10e';
75
+ }
76
+ .flaticon-delete:before {
77
+ content: '\f10f';
78
+ }
79
+ .flaticon-add-1:before {
80
+ content: '\f110';
81
+ }
82
+ .flaticon-plus-1:before {
83
+ content: '\f111';
84
+ }
85
+ .flaticon-compose:before {
86
+ content: '\f112';
87
+ }
88
+ .flaticon-trash:before {
89
+ content: '\f113';
90
+ }
91
+ .flaticon-download:before {
92
+ content: '\f114';
93
+ }
94
+ .flaticon-downloading:before {
95
+ content: '\f115';
96
+ }
97
+ .flaticon-upload:before {
98
+ content: '\f116';
99
+ }
100
+ .flaticon-right-arrow-1:before {
101
+ content: '\f117';
102
+ }
103
+ .flaticon-user-2:before {
104
+ content: '\f118';
105
+ }
106
+ .flaticon-man-in-suit-and-tie:before {
107
+ content: '\f119';
108
+ }
109
+ .flaticon-cancel:before {
110
+ content: '\f11a';
111
+ }
112
+ .flaticon-check-mark:before {
113
+ content: '\f11b';
114
+ }
115
+ .flaticon-bars:before {
116
+ content: '\f11c';
117
+ }
118
+ .flaticon-copy:before {
119
+ content: '\f11d';
120
+ }
121
+ .flaticon-printer:before {
122
+ content: '\f11e';
123
+ }
124
+ .flaticon-file:before {
125
+ content: '\f11f';
126
+ }
127
+ .flaticon-file-1:before {
128
+ content: '\f120';
129
+ }
130
+ .flaticon-file-2:before {
131
+ content: '\f121';
132
+ }
133
+ .flaticon-eye-1:before {
134
+ content: '\f122';
135
+ }
136
+ .flaticon-upload-1:before {
137
+ content: '\f123';
138
+ }
139
+ .flaticon-production:before {
140
+ content: '\f124';
141
+ }
142
+ .flaticon-cube:before {
143
+ content: '\f125';
144
+ }
145
+ .flaticon-rotation:before {
146
+ content: '\f126';
147
+ }
148
+ .flaticon-rotation-1:before {
149
+ content: '\f127';
150
+ }
151
+ .flaticon-spinning:before {
152
+ content: '\f128';
153
+ }
154
+ .flaticon-spinning-1:before {
155
+ content: '\f129';
156
+ }
157
+ .flaticon-ready-stock:before {
158
+ content: '\f12a';
159
+ }
160
+ .flaticon-ready-stock-1:before {
161
+ content: '\f12b';
162
+ }
163
+ .flaticon-visible:before {
164
+ content: '\f12c';
165
+ }
166
+ .flaticon-printing:before {
167
+ content: '\f12d';
168
+ }
169
+ .flaticon-like:before {
170
+ content: '\f12e';
171
+ }
172
+ .flaticon-thumb-up:before {
173
+ content: '\f12f';
174
+ }
175
+ .flaticon-thumbs-up:before {
176
+ content: '\f130';
177
+ }
178
+ .flaticon-thumb-down:before {
179
+ content: '\f131';
180
+ }
181
+ .flaticon-dislike:before {
182
+ content: '\f132';
183
+ }
184
+ .flaticon-thumb-down-1:before {
185
+ content: '\f133';
186
+ }
187
+ .flaticon-pointing-right:before {
188
+ content: '\f134';
189
+ }
190
+ .flaticon-point:before {
191
+ content: '\f135';
192
+ }
193
+ .flaticon-history:before {
194
+ content: '\f136';
195
+ }
@@ -1,243 +1,243 @@
1
- $flaticon_hvc-font: 'flaticon_hvc';
2
-
3
- @font-face {
4
- font-family: $flaticon_hvc-font;
5
- src:
6
- url('./flaticon_hvc.woff2?09127989b5c99a4f290cd7bb7c4bad12') format('woff2'),
7
- url('./flaticon_hvc.woff?09127989b5c99a4f290cd7bb7c4bad12') format('woff'),
8
- url('./flaticon_hvc.eot?09127989b5c99a4f290cd7bb7c4bad12#iefix') format('embedded-opentype'),
9
- url('./flaticon_hvc.ttf?09127989b5c99a4f290cd7bb7c4bad12') format('truetype'),
10
- url('./flaticon_hvc.svg?09127989b5c99a4f290cd7bb7c4bad12#flaticon_hvc') format('svg');
11
- }
12
-
13
- i[class^='flaticon-']:before,
14
- i[class*=' flaticon-']:before {
15
- font-family: flaticon_hvc !important;
16
- font-style: normal;
17
- font-weight: normal !important;
18
- font-variant: normal;
19
- text-transform: none;
20
- line-height: 1;
21
- -webkit-font-smoothing: antialiased;
22
- -moz-osx-font-smoothing: grayscale;
23
- }
24
-
25
- $flaticon_hvc-map: (
26
- 'setting': '\f101',
27
- 'refresh': '\f102',
28
- 'setting-1': '\f103',
29
- 'check': '\f104',
30
- 'bank': '\f105',
31
- 'user': '\f106',
32
- 'user-1': '\f107',
33
- 'info-sign': '\f108',
34
- 'clipboard': '\f109',
35
- 'right-arrow': '\f10a',
36
- 'home': '\f10b',
37
- 'search': '\f10c',
38
- 'eye': '\f10d',
39
- 'edit': '\f10e',
40
- 'delete': '\f10f',
41
- 'add-1': '\f110',
42
- 'plus-1': '\f111',
43
- 'compose': '\f112',
44
- 'trash': '\f113',
45
- 'download': '\f114',
46
- 'downloading': '\f115',
47
- 'upload': '\f116',
48
- 'right-arrow-1': '\f117',
49
- 'user-2': '\f118',
50
- 'man-in-suit-and-tie': '\f119',
51
- 'cancel': '\f11a',
52
- 'check-mark': '\f11b',
53
- 'bars': '\f11c',
54
- 'copy': '\f11d',
55
- 'printer': '\f11e',
56
- 'file': '\f11f',
57
- 'file-1': '\f120',
58
- 'file-2': '\f121',
59
- 'eye-1': '\f122',
60
- 'upload-1': '\f123',
61
- 'production': '\f124',
62
- 'cube': '\f125',
63
- 'rotation': '\f126',
64
- 'rotation-1': '\f127',
65
- 'spinning': '\f128',
66
- 'spinning-1': '\f129',
67
- 'ready-stock': '\f12a',
68
- 'ready-stock-1': '\f12b',
69
- 'visible': '\f12c',
70
- 'printing': '\f12d',
71
- 'like': '\f12e',
72
- 'thumb-up': '\f12f',
73
- 'thumbs-up': '\f130',
74
- 'thumb-down': '\f131',
75
- 'dislike': '\f132',
76
- 'thumb-down-1': '\f133',
77
- 'pointing-right': '\f134',
78
- 'point': '\f135',
79
- 'history': '\f136',
80
- );
81
-
82
- .flaticon-setting:before {
83
- content: map-get($flaticon_hvc-map, 'setting');
84
- }
85
- .flaticon-refresh:before {
86
- content: map-get($flaticon_hvc-map, 'refresh');
87
- }
88
- .flaticon-setting-1:before {
89
- content: map-get($flaticon_hvc-map, 'setting-1');
90
- }
91
- .flaticon-check:before {
92
- content: map-get($flaticon_hvc-map, 'check');
93
- }
94
- .flaticon-bank:before {
95
- content: map-get($flaticon_hvc-map, 'bank');
96
- }
97
- .flaticon-user:before {
98
- content: map-get($flaticon_hvc-map, 'user');
99
- }
100
- .flaticon-user-1:before {
101
- content: map-get($flaticon_hvc-map, 'user-1');
102
- }
103
- .flaticon-info-sign:before {
104
- content: map-get($flaticon_hvc-map, 'info-sign');
105
- }
106
- .flaticon-clipboard:before {
107
- content: map-get($flaticon_hvc-map, 'clipboard');
108
- }
109
- .flaticon-right-arrow:before {
110
- content: map-get($flaticon_hvc-map, 'right-arrow');
111
- }
112
- .flaticon-home:before {
113
- content: map-get($flaticon_hvc-map, 'home');
114
- }
115
- .flaticon-search:before {
116
- content: map-get($flaticon_hvc-map, 'search');
117
- }
118
- .flaticon-eye:before {
119
- content: map-get($flaticon_hvc-map, 'eye');
120
- }
121
- .flaticon-edit:before {
122
- content: map-get($flaticon_hvc-map, 'edit');
123
- }
124
- .flaticon-delete:before {
125
- content: map-get($flaticon_hvc-map, 'delete');
126
- }
127
- .flaticon-add-1:before {
128
- content: map-get($flaticon_hvc-map, 'add-1');
129
- }
130
- .flaticon-plus-1:before {
131
- content: map-get($flaticon_hvc-map, 'plus-1');
132
- }
133
- .flaticon-compose:before {
134
- content: map-get($flaticon_hvc-map, 'compose');
135
- }
136
- .flaticon-trash:before {
137
- content: map-get($flaticon_hvc-map, 'trash');
138
- }
139
- .flaticon-download:before {
140
- content: map-get($flaticon_hvc-map, 'download');
141
- }
142
- .flaticon-downloading:before {
143
- content: map-get($flaticon_hvc-map, 'downloading');
144
- }
145
- .flaticon-upload:before {
146
- content: map-get($flaticon_hvc-map, 'upload');
147
- }
148
- .flaticon-right-arrow-1:before {
149
- content: map-get($flaticon_hvc-map, 'right-arrow-1');
150
- }
151
- .flaticon-user-2:before {
152
- content: map-get($flaticon_hvc-map, 'user-2');
153
- }
154
- .flaticon-man-in-suit-and-tie:before {
155
- content: map-get($flaticon_hvc-map, 'man-in-suit-and-tie');
156
- }
157
- .flaticon-cancel:before {
158
- content: map-get($flaticon_hvc-map, 'cancel');
159
- }
160
- .flaticon-check-mark:before {
161
- content: map-get($flaticon_hvc-map, 'check-mark');
162
- }
163
- .flaticon-bars:before {
164
- content: map-get($flaticon_hvc-map, 'bars');
165
- }
166
- .flaticon-copy:before {
167
- content: map-get($flaticon_hvc-map, 'copy');
168
- }
169
- .flaticon-printer:before {
170
- content: map-get($flaticon_hvc-map, 'printer');
171
- }
172
- .flaticon-file:before {
173
- content: map-get($flaticon_hvc-map, 'file');
174
- }
175
- .flaticon-file-1:before {
176
- content: map-get($flaticon_hvc-map, 'file-1');
177
- }
178
- .flaticon-file-2:before {
179
- content: map-get($flaticon_hvc-map, 'file-2');
180
- }
181
- .flaticon-eye-1:before {
182
- content: map-get($flaticon_hvc-map, 'eye-1');
183
- }
184
- .flaticon-upload-1:before {
185
- content: map-get($flaticon_hvc-map, 'upload-1');
186
- }
187
- .flaticon-production:before {
188
- content: map-get($flaticon_hvc-map, 'production');
189
- }
190
- .flaticon-cube:before {
191
- content: map-get($flaticon_hvc-map, 'cube');
192
- }
193
- .flaticon-rotation:before {
194
- content: map-get($flaticon_hvc-map, 'rotation');
195
- }
196
- .flaticon-rotation-1:before {
197
- content: map-get($flaticon_hvc-map, 'rotation-1');
198
- }
199
- .flaticon-spinning:before {
200
- content: map-get($flaticon_hvc-map, 'spinning');
201
- }
202
- .flaticon-spinning-1:before {
203
- content: map-get($flaticon_hvc-map, 'spinning-1');
204
- }
205
- .flaticon-ready-stock:before {
206
- content: map-get($flaticon_hvc-map, 'ready-stock');
207
- }
208
- .flaticon-ready-stock-1:before {
209
- content: map-get($flaticon_hvc-map, 'ready-stock-1');
210
- }
211
- .flaticon-visible:before {
212
- content: map-get($flaticon_hvc-map, 'visible');
213
- }
214
- .flaticon-printing:before {
215
- content: map-get($flaticon_hvc-map, 'printing');
216
- }
217
- .flaticon-like:before {
218
- content: map-get($flaticon_hvc-map, 'like');
219
- }
220
- .flaticon-thumb-up:before {
221
- content: map-get($flaticon_hvc-map, 'thumb-up');
222
- }
223
- .flaticon-thumbs-up:before {
224
- content: map-get($flaticon_hvc-map, 'thumbs-up');
225
- }
226
- .flaticon-thumb-down:before {
227
- content: map-get($flaticon_hvc-map, 'thumb-down');
228
- }
229
- .flaticon-dislike:before {
230
- content: map-get($flaticon_hvc-map, 'dislike');
231
- }
232
- .flaticon-thumb-down-1:before {
233
- content: map-get($flaticon_hvc-map, 'thumb-down-1');
234
- }
235
- .flaticon-pointing-right:before {
236
- content: map-get($flaticon_hvc-map, 'pointing-right');
237
- }
238
- .flaticon-point:before {
239
- content: map-get($flaticon_hvc-map, 'point');
240
- }
241
- .flaticon-history:before {
242
- content: map-get($flaticon_hvc-map, 'history');
243
- }
1
+ $flaticon_hvc-font: 'flaticon_hvc';
2
+
3
+ @font-face {
4
+ font-family: $flaticon_hvc-font;
5
+ src:
6
+ url('./flaticon_hvc.woff2?09127989b5c99a4f290cd7bb7c4bad12') format('woff2'),
7
+ url('./flaticon_hvc.woff?09127989b5c99a4f290cd7bb7c4bad12') format('woff'),
8
+ url('./flaticon_hvc.eot?09127989b5c99a4f290cd7bb7c4bad12#iefix') format('embedded-opentype'),
9
+ url('./flaticon_hvc.ttf?09127989b5c99a4f290cd7bb7c4bad12') format('truetype'),
10
+ url('./flaticon_hvc.svg?09127989b5c99a4f290cd7bb7c4bad12#flaticon_hvc') format('svg');
11
+ }
12
+
13
+ i[class^='flaticon-']:before,
14
+ i[class*=' flaticon-']:before {
15
+ font-family: flaticon_hvc !important;
16
+ font-style: normal;
17
+ font-weight: normal !important;
18
+ font-variant: normal;
19
+ text-transform: none;
20
+ line-height: 1;
21
+ -webkit-font-smoothing: antialiased;
22
+ -moz-osx-font-smoothing: grayscale;
23
+ }
24
+
25
+ $flaticon_hvc-map: (
26
+ 'setting': '\f101',
27
+ 'refresh': '\f102',
28
+ 'setting-1': '\f103',
29
+ 'check': '\f104',
30
+ 'bank': '\f105',
31
+ 'user': '\f106',
32
+ 'user-1': '\f107',
33
+ 'info-sign': '\f108',
34
+ 'clipboard': '\f109',
35
+ 'right-arrow': '\f10a',
36
+ 'home': '\f10b',
37
+ 'search': '\f10c',
38
+ 'eye': '\f10d',
39
+ 'edit': '\f10e',
40
+ 'delete': '\f10f',
41
+ 'add-1': '\f110',
42
+ 'plus-1': '\f111',
43
+ 'compose': '\f112',
44
+ 'trash': '\f113',
45
+ 'download': '\f114',
46
+ 'downloading': '\f115',
47
+ 'upload': '\f116',
48
+ 'right-arrow-1': '\f117',
49
+ 'user-2': '\f118',
50
+ 'man-in-suit-and-tie': '\f119',
51
+ 'cancel': '\f11a',
52
+ 'check-mark': '\f11b',
53
+ 'bars': '\f11c',
54
+ 'copy': '\f11d',
55
+ 'printer': '\f11e',
56
+ 'file': '\f11f',
57
+ 'file-1': '\f120',
58
+ 'file-2': '\f121',
59
+ 'eye-1': '\f122',
60
+ 'upload-1': '\f123',
61
+ 'production': '\f124',
62
+ 'cube': '\f125',
63
+ 'rotation': '\f126',
64
+ 'rotation-1': '\f127',
65
+ 'spinning': '\f128',
66
+ 'spinning-1': '\f129',
67
+ 'ready-stock': '\f12a',
68
+ 'ready-stock-1': '\f12b',
69
+ 'visible': '\f12c',
70
+ 'printing': '\f12d',
71
+ 'like': '\f12e',
72
+ 'thumb-up': '\f12f',
73
+ 'thumbs-up': '\f130',
74
+ 'thumb-down': '\f131',
75
+ 'dislike': '\f132',
76
+ 'thumb-down-1': '\f133',
77
+ 'pointing-right': '\f134',
78
+ 'point': '\f135',
79
+ 'history': '\f136',
80
+ );
81
+
82
+ .flaticon-setting:before {
83
+ content: map-get($flaticon_hvc-map, 'setting');
84
+ }
85
+ .flaticon-refresh:before {
86
+ content: map-get($flaticon_hvc-map, 'refresh');
87
+ }
88
+ .flaticon-setting-1:before {
89
+ content: map-get($flaticon_hvc-map, 'setting-1');
90
+ }
91
+ .flaticon-check:before {
92
+ content: map-get($flaticon_hvc-map, 'check');
93
+ }
94
+ .flaticon-bank:before {
95
+ content: map-get($flaticon_hvc-map, 'bank');
96
+ }
97
+ .flaticon-user:before {
98
+ content: map-get($flaticon_hvc-map, 'user');
99
+ }
100
+ .flaticon-user-1:before {
101
+ content: map-get($flaticon_hvc-map, 'user-1');
102
+ }
103
+ .flaticon-info-sign:before {
104
+ content: map-get($flaticon_hvc-map, 'info-sign');
105
+ }
106
+ .flaticon-clipboard:before {
107
+ content: map-get($flaticon_hvc-map, 'clipboard');
108
+ }
109
+ .flaticon-right-arrow:before {
110
+ content: map-get($flaticon_hvc-map, 'right-arrow');
111
+ }
112
+ .flaticon-home:before {
113
+ content: map-get($flaticon_hvc-map, 'home');
114
+ }
115
+ .flaticon-search:before {
116
+ content: map-get($flaticon_hvc-map, 'search');
117
+ }
118
+ .flaticon-eye:before {
119
+ content: map-get($flaticon_hvc-map, 'eye');
120
+ }
121
+ .flaticon-edit:before {
122
+ content: map-get($flaticon_hvc-map, 'edit');
123
+ }
124
+ .flaticon-delete:before {
125
+ content: map-get($flaticon_hvc-map, 'delete');
126
+ }
127
+ .flaticon-add-1:before {
128
+ content: map-get($flaticon_hvc-map, 'add-1');
129
+ }
130
+ .flaticon-plus-1:before {
131
+ content: map-get($flaticon_hvc-map, 'plus-1');
132
+ }
133
+ .flaticon-compose:before {
134
+ content: map-get($flaticon_hvc-map, 'compose');
135
+ }
136
+ .flaticon-trash:before {
137
+ content: map-get($flaticon_hvc-map, 'trash');
138
+ }
139
+ .flaticon-download:before {
140
+ content: map-get($flaticon_hvc-map, 'download');
141
+ }
142
+ .flaticon-downloading:before {
143
+ content: map-get($flaticon_hvc-map, 'downloading');
144
+ }
145
+ .flaticon-upload:before {
146
+ content: map-get($flaticon_hvc-map, 'upload');
147
+ }
148
+ .flaticon-right-arrow-1:before {
149
+ content: map-get($flaticon_hvc-map, 'right-arrow-1');
150
+ }
151
+ .flaticon-user-2:before {
152
+ content: map-get($flaticon_hvc-map, 'user-2');
153
+ }
154
+ .flaticon-man-in-suit-and-tie:before {
155
+ content: map-get($flaticon_hvc-map, 'man-in-suit-and-tie');
156
+ }
157
+ .flaticon-cancel:before {
158
+ content: map-get($flaticon_hvc-map, 'cancel');
159
+ }
160
+ .flaticon-check-mark:before {
161
+ content: map-get($flaticon_hvc-map, 'check-mark');
162
+ }
163
+ .flaticon-bars:before {
164
+ content: map-get($flaticon_hvc-map, 'bars');
165
+ }
166
+ .flaticon-copy:before {
167
+ content: map-get($flaticon_hvc-map, 'copy');
168
+ }
169
+ .flaticon-printer:before {
170
+ content: map-get($flaticon_hvc-map, 'printer');
171
+ }
172
+ .flaticon-file:before {
173
+ content: map-get($flaticon_hvc-map, 'file');
174
+ }
175
+ .flaticon-file-1:before {
176
+ content: map-get($flaticon_hvc-map, 'file-1');
177
+ }
178
+ .flaticon-file-2:before {
179
+ content: map-get($flaticon_hvc-map, 'file-2');
180
+ }
181
+ .flaticon-eye-1:before {
182
+ content: map-get($flaticon_hvc-map, 'eye-1');
183
+ }
184
+ .flaticon-upload-1:before {
185
+ content: map-get($flaticon_hvc-map, 'upload-1');
186
+ }
187
+ .flaticon-production:before {
188
+ content: map-get($flaticon_hvc-map, 'production');
189
+ }
190
+ .flaticon-cube:before {
191
+ content: map-get($flaticon_hvc-map, 'cube');
192
+ }
193
+ .flaticon-rotation:before {
194
+ content: map-get($flaticon_hvc-map, 'rotation');
195
+ }
196
+ .flaticon-rotation-1:before {
197
+ content: map-get($flaticon_hvc-map, 'rotation-1');
198
+ }
199
+ .flaticon-spinning:before {
200
+ content: map-get($flaticon_hvc-map, 'spinning');
201
+ }
202
+ .flaticon-spinning-1:before {
203
+ content: map-get($flaticon_hvc-map, 'spinning-1');
204
+ }
205
+ .flaticon-ready-stock:before {
206
+ content: map-get($flaticon_hvc-map, 'ready-stock');
207
+ }
208
+ .flaticon-ready-stock-1:before {
209
+ content: map-get($flaticon_hvc-map, 'ready-stock-1');
210
+ }
211
+ .flaticon-visible:before {
212
+ content: map-get($flaticon_hvc-map, 'visible');
213
+ }
214
+ .flaticon-printing:before {
215
+ content: map-get($flaticon_hvc-map, 'printing');
216
+ }
217
+ .flaticon-like:before {
218
+ content: map-get($flaticon_hvc-map, 'like');
219
+ }
220
+ .flaticon-thumb-up:before {
221
+ content: map-get($flaticon_hvc-map, 'thumb-up');
222
+ }
223
+ .flaticon-thumbs-up:before {
224
+ content: map-get($flaticon_hvc-map, 'thumbs-up');
225
+ }
226
+ .flaticon-thumb-down:before {
227
+ content: map-get($flaticon_hvc-map, 'thumb-down');
228
+ }
229
+ .flaticon-dislike:before {
230
+ content: map-get($flaticon_hvc-map, 'dislike');
231
+ }
232
+ .flaticon-thumb-down-1:before {
233
+ content: map-get($flaticon_hvc-map, 'thumb-down-1');
234
+ }
235
+ .flaticon-pointing-right:before {
236
+ content: map-get($flaticon_hvc-map, 'pointing-right');
237
+ }
238
+ .flaticon-point:before {
239
+ content: map-get($flaticon_hvc-map, 'point');
240
+ }
241
+ .flaticon-history:before {
242
+ content: map-get($flaticon_hvc-map, 'history');
243
+ }
@@ -1,2 +1,3 @@
1
1
  export { default as FormRenderFileUpload } from '../FormComponents/FileUpload/FormRenderFileUpload';
2
2
  export { default as FormRenderMultiFileUpload } from '../FormComponents/FileUpload/FormRenderMultiFileUpload';
3
+ export { default as MultiFileWithPreview } from '../FormComponents/FileUpload/MultiFileWithPreview';
@@ -1,2 +1,3 @@
1
1
  export { default as FormRenderFileUpload } from '../FormComponents/FileUpload/FormRenderFileUpload.esm.js';
2
2
  export { default as FormRenderMultiFileUpload } from '../FormComponents/FileUpload/FormRenderMultiFileUpload.esm.js';
3
+ export { default as MultiFileWithPreview } from '../FormComponents/FileUpload/MultiFileWithPreview.esm.js';
@@ -18,6 +18,7 @@ const RichTextEditorWrapper = lazy(() => import('../RichTextEditor/index.esm.js'
18
18
  const MultiSelectV1 = lazy(() => import('../FormComponents/Select/MultiSelectv1.esm.js'));
19
19
  const FormRenderFileUpload = lazy(() => import('../FileUpload/index.esm.js').then((m) => ({ default: m.FormRenderFileUpload })));
20
20
  const FormRenderMultiFileUpload = lazy(() => import('../FileUpload/index.esm.js').then((m) => ({ default: m.FormRenderMultiFileUpload })));
21
+ const MultiFileWithPreview = lazy(() => import('../FileUpload/index.esm.js').then((m) => ({ default: m.MultiFileWithPreview })));
21
22
  const DatepickerWrapperV2 = lazy(() => import('../DatePicker/index.esm.js').then((m) => ({ default: m.DatepickerWrapperV2 })));
22
23
  const Monthpickerrender = lazy(() => import('../DatePicker/index.esm.js').then((m) => ({ default: m.Monthpickerrender })));
23
24
  const TimePickerFieldWrapper = lazy(() => import('../TimePicker/index.esm.js').then((m) => ({ default: m.TimePicker })));
@@ -109,6 +110,9 @@ const RenderForm = (props) => {
109
110
  // Multi file upload
110
111
  case 'multifile':
111
112
  return (jsx(Suspense, { fallback: jsx(LoadingFallback, {}), children: jsx(FormRenderMultiFileUpload, { props: props, variant: variant }) }));
113
+ // Multi file upload with preview carousel
114
+ case 'multifile-with-preview':
115
+ return (jsx(Suspense, { fallback: jsx(LoadingFallback, {}), children: jsx(MultiFileWithPreview, { props: props, variant: variant }) }));
112
116
  // Single checkbox
113
117
  case 'checkbox':
114
118
  return jsx(FormCheckBox, { props: props, variant: variant });
@@ -0,0 +1,6 @@
1
+ import { FormRenderProps, VariantProps } from '../../../utils';
2
+ declare const MultiFileWithPreview: ({ props, variant, }: {
3
+ props: FormRenderProps;
4
+ variant: VariantProps;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export default MultiFileWithPreview;
@@ -0,0 +1,187 @@
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
+ import { Box, Button, IconButton, Modal, Typography } from '@mui/material';
3
+ import { useRef, useState, useEffect } from 'react';
4
+ import { useWatch } from 'react-hook-form';
5
+ import 'dayjs';
6
+ import { renderLabel } from '../../../utils/Constants/FormConstants.esm.js';
7
+ import FormBottomField from '../FormBottomField/FormBottomField.esm.js';
8
+ import VisibilityIcon from '@mui/icons-material/Visibility';
9
+ import CloseIcon from '@mui/icons-material/Close';
10
+ import NavigateBeforeIcon from '@mui/icons-material/NavigateBefore';
11
+ import NavigateNextIcon from '@mui/icons-material/NavigateNext';
12
+ import DeleteIcon from '@mui/icons-material/Delete';
13
+ import UploadFileIcon from '@mui/icons-material/UploadFile';
14
+
15
+ const MultiFileWithPreview = ({ props, variant, }) => {
16
+ const inputRef = useRef(null);
17
+ const watched = useWatch({ control: props.control, name: props.item.name });
18
+ const [open, setOpen] = useState(false);
19
+ const [selectedFiles, setSelectedFiles] = useState([]);
20
+ const [currentFileIndex, setCurrentFileIndex] = useState(0);
21
+ // Determine if this is single or multiple file mode
22
+ const isSingleFileMode = props.item.maxLength === 1;
23
+ useEffect(() => {
24
+ if (watched === null || watched === undefined) {
25
+ if (inputRef.current)
26
+ inputRef.current.value = '';
27
+ }
28
+ // Handle preloaded files from backend (array of URLs)
29
+ if (Array.isArray(watched) && typeof watched[0] === 'string') {
30
+ setSelectedFiles(watched);
31
+ }
32
+ }, [watched]);
33
+ const isError = !!props.errors?.[props.item.name];
34
+ const handleFileChange = (event) => {
35
+ const files = event.target.files;
36
+ if (!files)
37
+ return;
38
+ const fileArray = Array.from(files);
39
+ const allowedExtensions = {
40
+ excel: ['xls', 'xlsx'],
41
+ pdf: ['pdf'],
42
+ image: ['jpg', 'jpeg', 'png'],
43
+ all: ['pdf', 'jpg', 'jpeg', 'png', 'xls', 'xlsx', 'doc', 'docx', 'zip']};
44
+ const validExtensions = props.item.fileType === 'excel'
45
+ ? allowedExtensions.excel
46
+ : props.item.fileType === 'pdf'
47
+ ? allowedExtensions.pdf
48
+ : props.item.fileType === 'image'
49
+ ? allowedExtensions.image
50
+ : allowedExtensions.all;
51
+ const invalidFile = fileArray.find((file) => {
52
+ const ext = file.name.split('.').pop()?.toLowerCase();
53
+ return !ext || !validExtensions.includes(ext);
54
+ });
55
+ if (invalidFile) {
56
+ props.item?.handleFileError?.(`Please upload ${validExtensions.join(', ')} files only`);
57
+ event.target.value = '';
58
+ props.setValue(props.item.name, null);
59
+ props.setValue(props.item.name + 'File', []);
60
+ return;
61
+ }
62
+ const largeFile = fileArray.find((file) => file.size > 20000000);
63
+ if (largeFile) {
64
+ props.item?.handleFileError?.('File size should be less than 20MB');
65
+ event.target.value = '';
66
+ props.setValue(props.item.name, null);
67
+ props.setValue(props.item.name + 'File', []);
68
+ return;
69
+ }
70
+ // Handle single vs multiple file mode
71
+ let combinedFiles;
72
+ if (isSingleFileMode) {
73
+ // In single file mode, replace the existing file
74
+ combinedFiles = fileArray;
75
+ }
76
+ else {
77
+ // In multiple file mode, combine with existing files
78
+ combinedFiles = [...selectedFiles, ...fileArray];
79
+ // Check if maxLength is exceeded
80
+ if (props.item.maxLength && combinedFiles.length > props.item.maxLength) {
81
+ props.item?.handleFileError?.(`You can only upload up to ${props.item.maxLength} files`);
82
+ event.target.value = '';
83
+ return;
84
+ }
85
+ }
86
+ const combinedFileNames = combinedFiles
87
+ .map((f) => (f instanceof File ? f.name : f.split('/').pop()))
88
+ .join(',');
89
+ props.setValue(props.item.name, combinedFileNames);
90
+ props.setValue(props.item.name + 'File', combinedFiles);
91
+ setSelectedFiles(combinedFiles);
92
+ props.item.onChangeSetFileFn?.(combinedFiles);
93
+ };
94
+ const handlePreviewClick = () => {
95
+ setCurrentFileIndex(0);
96
+ setOpen(true);
97
+ };
98
+ const handleClose = () => setOpen(false);
99
+ const handlePrevious = () => {
100
+ setCurrentFileIndex((prev) => prev > 0 ? prev - 1 : selectedFiles.length - 1);
101
+ };
102
+ const handleNext = () => {
103
+ setCurrentFileIndex((prev) => prev < selectedFiles.length - 1 ? prev + 1 : 0);
104
+ };
105
+ const handleDeleteFile = (indexToDelete) => {
106
+ const updatedFiles = selectedFiles.filter((_, index) => index !== indexToDelete);
107
+ setSelectedFiles(updatedFiles);
108
+ if (inputRef.current) {
109
+ inputRef.current.value = '';
110
+ }
111
+ if (updatedFiles.length === 0) {
112
+ props.setValue(props.item.name, null);
113
+ props.setValue(props.item.name + 'File', []);
114
+ }
115
+ else {
116
+ const fileNames = updatedFiles
117
+ .map((f) => (f instanceof File ? f.name : f.split('/').pop()))
118
+ .join(',');
119
+ props.setValue(props.item.name, fileNames);
120
+ props.setValue(props.item.name + 'File', updatedFiles);
121
+ }
122
+ if (currentFileIndex >= updatedFiles.length) {
123
+ setCurrentFileIndex(Math.max(0, updatedFiles.length - 1));
124
+ }
125
+ props.item.onChangeSetFileFn &&
126
+ props.item.onChangeSetFileFn(updatedFiles);
127
+ if (updatedFiles.length === 0) {
128
+ setOpen(false);
129
+ }
130
+ };
131
+ const isImageFile = (file) => {
132
+ const ext = typeof file === 'string'
133
+ ? file.split('.').pop()?.toLowerCase()
134
+ : file.name.split('.').pop()?.toLowerCase();
135
+ return ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'].includes(ext || '');
136
+ };
137
+ return (jsxs(Fragment, { children: [jsxs(Box, { paddingLeft: "4px", sx: { ...props.item.sx, position: 'relative' }, children: [props.item?.label && (jsx(Box, { sx: { fontSize: '10px' }, children: renderLabel(variant, props, true) })), jsxs(Box, { display: "flex", alignItems: "center", gap: 1, children: [jsxs(Button, { variant: "outlined", component: "label", startIcon: jsx(UploadFileIcon, {}), sx: { flex: 1, textTransform: 'none' }, color: isError ? 'error' : 'primary', children: [selectedFiles.length > 0
138
+ ? isSingleFileMode
139
+ ? '1 file selected'
140
+ : `${selectedFiles.length} file(s) selected`
141
+ : isSingleFileMode
142
+ ? 'Upload File'
143
+ : 'Upload Files', jsx("input", { type: "file", hidden: true, multiple: !isSingleFileMode, accept: props.item.fileType === 'excel'
144
+ ? '.xls,.xlsx'
145
+ : props.item.fileType === 'pdf'
146
+ ? '.pdf'
147
+ : props.item.fileType === 'image'
148
+ ? '.jpg,.jpeg,.png'
149
+ : props.item.fileType === 'all'
150
+ ? '.pdf,.jpg,.jpeg,.png,.xls,.xlsx,.doc,.docx'
151
+ : '', ref: inputRef, onChange: handleFileChange })] }), props.item.showFileCarousel && selectedFiles.length > 0 && (jsx(IconButton, { onClick: handlePreviewClick, color: "primary", size: "small", sx: { mt: 0.5 }, children: jsx(VisibilityIcon, {}) }))] })] }), jsx(FormBottomField, { ...props }), jsx(Modal, { open: open, onClose: handleClose, children: jsxs(Box, { sx: {
152
+ position: 'absolute',
153
+ top: '50%',
154
+ left: '50%',
155
+ transform: 'translate(-50%, -50%)',
156
+ width: 600,
157
+ bgcolor: 'background.paper',
158
+ borderRadius: 2,
159
+ boxShadow: 24,
160
+ p: 3,
161
+ }, children: [jsxs(Box, { display: "flex", justifyContent: "space-between", alignItems: "center", children: [jsx(Typography, { variant: "h6", children: "File Preview" }), jsxs(Box, { display: "flex", gap: 1, children: [jsx(IconButton, { onClick: () => handleDeleteFile(currentFileIndex), color: "error", title: "Delete current file", children: jsx(DeleteIcon, {}) }), jsx(IconButton, { onClick: handleClose, children: jsx(CloseIcon, {}) })] })] }), jsx(Box, { mt: 2, children: selectedFiles.length > 0 && (jsxs(Fragment, { children: [jsxs(Box, { display: "flex", alignItems: "center", justifyContent: "center", gap: 2, children: [jsx(IconButton, { onClick: handlePrevious, disabled: selectedFiles.length <= 1, children: jsx(NavigateBeforeIcon, {}) }), jsx(Box, { display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", sx: { p: 2, minHeight: '400px', width: '100%' }, children: (() => {
162
+ const currentFile = selectedFiles[currentFileIndex];
163
+ if (currentFile instanceof File) {
164
+ if (isImageFile(currentFile)) {
165
+ return (jsx("img", { alt: "Preview", src: URL.createObjectURL(currentFile), style: {
166
+ maxHeight: '400px',
167
+ maxWidth: '100%',
168
+ objectFit: 'contain',
169
+ borderRadius: 8,
170
+ } }));
171
+ }
172
+ return (jsx(Typography, { variant: "body1", children: currentFile.name }));
173
+ }
174
+ else if (typeof currentFile === 'string') {
175
+ const isImg = isImageFile(currentFile);
176
+ return isImg ? (jsx("img", { alt: "Preview", src: currentFile, style: {
177
+ maxHeight: '400px',
178
+ maxWidth: '100%',
179
+ objectFit: 'contain',
180
+ borderRadius: 8,
181
+ } })) : (jsx(Typography, { variant: "body1", children: currentFile.split('/').pop() }));
182
+ }
183
+ return null;
184
+ })() }), jsx(IconButton, { onClick: handleNext, disabled: selectedFiles.length <= 1, children: jsx(NavigateNextIcon, {}) })] }), selectedFiles.length > 1 && (jsx(Box, { display: "flex", justifyContent: "center", mt: 2, children: jsxs(Typography, { variant: "body2", color: "text.secondary", children: [currentFileIndex + 1, " of ", selectedFiles.length] }) }))] })) })] }) })] }));
185
+ };
186
+
187
+ export { MultiFileWithPreview as default };
@@ -0,0 +1,3 @@
1
+ export { default as FormRenderFileUpload } from './FormRenderFileUpload';
2
+ export { default as FormRenderMultiFileUpload } from './FormRenderMultiFileUpload';
3
+ export { default as MultiFileWithPreview } from './MultiFileWithPreview';
@@ -0,0 +1,3 @@
1
+ export { default as FormRenderFileUpload } from './FormRenderFileUpload.esm.js';
2
+ export { default as FormRenderMultiFileUpload } from './FormRenderMultiFileUpload.esm.js';
3
+ export { default as MultiFileWithPreview } from './MultiFileWithPreview.esm.js';
@@ -17,8 +17,19 @@ export { default as YearPickerField } from './YearPickerField/YearPickerField.es
17
17
  export { default as TimePicker } from './TimePicker/TimePicker.esm.js';
18
18
  export { default as FormRenderFileUpload } from './FileUpload/FormRenderFileUpload.esm.js';
19
19
  export { default as FormRenderMultiFileUpload } from './FileUpload/FormRenderMultiFileUpload.esm.js';
20
+ import 'react/jsx-runtime';
21
+ import '@mui/material';
22
+ import 'react';
23
+ import 'react-hook-form';
24
+ import 'dayjs';
25
+ export { default as FormBottomField } from './FormBottomField/FormBottomField.esm.js';
26
+ import '@mui/icons-material/Visibility';
27
+ import '@mui/icons-material/Close';
28
+ import '@mui/icons-material/NavigateBefore';
29
+ import '@mui/icons-material/NavigateNext';
30
+ import '@mui/icons-material/Delete';
31
+ import '@mui/icons-material/UploadFile';
20
32
  export { default as RichTextEditor } from './RichTextEditor/RichTextEditor.esm.js';
21
33
  export { default as RichTextEditorWrapper } from './RichTextEditor/RichTextEditorWrapper.esm.js';
22
- export { default as FormBottomField } from './FormBottomField/FormBottomField.esm.js';
23
34
  export { default as FormErrorField } from './FormErrorField/FormErrorField.esm.js';
24
35
  export { default as HelperText } from './HelperText/HelperText.esm.js';
@@ -1,79 +1,79 @@
1
1
  import { styled } from '@mui/material/styles';
2
2
  import { Button, Typography, Grid, Dialog, DialogTitle } from '@mui/material';
3
3
 
4
- styled(Button) `
5
- border: 0;
6
- color: #fff;
7
- position: absolute;
8
- text-align: center;
9
- padding: 5px 12px;
10
- font-size: 13px;
11
- height: 30px;
12
- right: -38px;
13
- text-transform: none;
14
- z-index: 2;
15
- border-radius: 10px 0px 0px 10px;
16
- &:hover {
17
- right: 0px;
18
- }
4
+ styled(Button) `
5
+ border: 0;
6
+ color: #fff;
7
+ position: absolute;
8
+ text-align: center;
9
+ padding: 5px 12px;
10
+ font-size: 13px;
11
+ height: 30px;
12
+ right: -38px;
13
+ text-transform: none;
14
+ z-index: 2;
15
+ border-radius: 10px 0px 0px 10px;
16
+ &:hover {
17
+ right: 0px;
18
+ }
19
19
  `;
20
- const SubmitButton = styled(Button) `
21
- text-transform: none;
20
+ const SubmitButton = styled(Button) `
21
+ text-transform: none;
22
22
  `;
23
- const CancelButton = styled(Button) `
24
- text-transform: none;
25
- color: #000;
26
- background: #ececee;
27
- &:hover {
28
- background: #0009;
29
- color: #fff;
30
- }
23
+ const CancelButton = styled(Button) `
24
+ text-transform: none;
25
+ color: #000;
26
+ background: #ececee;
27
+ &:hover {
28
+ background: #0009;
29
+ color: #fff;
30
+ }
31
31
  `;
32
- const SaveAsDraftButton = styled(Button) `
33
- text-transform: none;
34
- font-size: 12px;
35
- background: orange;
36
- &:hover {
37
- background: orange;
38
- }
32
+ const SaveAsDraftButton = styled(Button) `
33
+ text-transform: none;
34
+ font-size: 12px;
35
+ background: orange;
36
+ &:hover {
37
+ background: orange;
38
+ }
39
39
  `;
40
40
  styled(Typography) ``;
41
41
  styled(Grid, {
42
42
  shouldForwardProp: (prop) => prop !== 'isActive' && prop !== 'noOfColumn',
43
- }) `
44
- flex-direction: column;
45
- margin-bottom: 8px;
46
- min-width: 10%;
47
- padding-left: 0px;
48
- z-index: 2;
49
- padding-right: 0px;
50
- border: 1px solid #0003;
51
- font-size: 12px;
52
- padding: 6px;
53
- text-align: center;
54
- &:hover {
55
- cursor: pointer;
56
- }
43
+ }) `
44
+ flex-direction: column;
45
+ margin-bottom: 8px;
46
+ min-width: 10%;
47
+ padding-left: 0px;
48
+ z-index: 2;
49
+ padding-right: 0px;
50
+ border: 1px solid #0003;
51
+ font-size: 12px;
52
+ padding: 6px;
53
+ text-align: center;
54
+ &:hover {
55
+ cursor: pointer;
56
+ }
57
57
  `;
58
- const DialogContainer = styled(Dialog) `
59
- position: fixed;
60
- top: -16px;
61
- left: 0;
62
- right: 0;
63
- bottom: auto;
64
- & .css-tlc64q-MuiPaper-root-MuiDialog-paper,
65
- .css-mbdu2s {
66
- max-width: 900px;
67
- }
58
+ const DialogContainer = styled(Dialog) `
59
+ position: fixed;
60
+ top: -16px;
61
+ left: 0;
62
+ right: 0;
63
+ bottom: auto;
64
+ & .css-tlc64q-MuiPaper-root-MuiDialog-paper,
65
+ .css-mbdu2s {
66
+ max-width: 900px;
67
+ }
68
68
  `;
69
- const DialogTitleWrapper = styled(DialogTitle) `
70
- padding: 8px 16px;
71
- display: flex;
72
- align-items: center;
73
- justify-content: space-between;
74
- font-size: 14px;
75
- cursor: move;
76
- border-bottom: 1px solid rgb(229 231 235 / 1);
69
+ const DialogTitleWrapper = styled(DialogTitle) `
70
+ padding: 8px 16px;
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: space-between;
74
+ font-size: 14px;
75
+ cursor: move;
76
+ border-bottom: 1px solid rgb(229 231 235 / 1);
77
77
  `;
78
78
 
79
79
  export { CancelButton, DialogContainer, DialogTitleWrapper, SaveAsDraftButton, SubmitButton };
@@ -10,7 +10,7 @@ export interface TextFieldInputProps {
10
10
  export interface FormSectionPropsItem {
11
11
  name: string;
12
12
  label: string;
13
- inputType: 'text' | 'password' | 'number' | 'select' | 'autocomplete-select' | 'autocomplete-multi-select' | 'datepicker' | 'multiselect' | 'select-v2' | 'basic-select' | 'decimal' | 'alpha-numerical' | 'yearpicker' | 'dateRangePicker' | 'monthpicker' | 'multiselect' | 'file' | 'multifile' | 'textarea' | 'phoneNumber' | 'pincode' | 'email' | 'toggleSwitch' | 'rich-text-editor' | 'multiEmail' | 'timepicker' | 'checkbox-group' | 'radio-group' | 'checkbox' | 'custom' | '';
13
+ inputType: 'text' | 'password' | 'number' | 'select' | 'autocomplete-select' | 'autocomplete-multi-select' | 'datepicker' | 'multiselect' | 'select-v2' | 'basic-select' | 'decimal' | 'alpha-numerical' | 'yearpicker' | 'dateRangePicker' | 'monthpicker' | 'multiselect' | 'file' | 'multifile' | 'multifile-with-preview' | 'textarea' | 'phoneNumber' | 'pincode' | 'email' | 'toggleSwitch' | 'rich-text-editor' | 'multiEmail' | 'timepicker' | 'checkbox-group' | 'radio-group' | 'checkbox' | 'custom' | '';
14
14
  options?: OptionsProps[];
15
15
  required?: boolean;
16
16
  errorMessage?: string;
@@ -18,7 +18,8 @@ export interface FormSectionPropsItem {
18
18
  disable?: boolean;
19
19
  onChangeFn?: (e: string | number | undefined | null | boolean) => void;
20
20
  onBlurFn?: (e: string | number | undefined | null | boolean) => void;
21
- onChangeSetFileFn?: (e: File) => void;
21
+ onChangeSetFileFn?: (e: File | File[]) => void;
22
+ showFileCarousel?: boolean;
22
23
  maxLength?: number;
23
24
  autoFocus?: boolean;
24
25
  maxValue?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tp-react-elements-dev",
3
- "version": "1.12.32",
3
+ "version": "1.12.33",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "React form components library built with React Hook Form and Yup",