@nyris/nyris-webapp 0.3.29 → 0.3.30
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/build/asset-manifest.json +10 -9
- package/build/index.html +1 -1
- package/build/{precache-manifest.d72c397d9b869dc1470447b80ddb6f57.js → precache-manifest.1bafefb0503a5f6e261392890797084b.js} +12 -8
- package/build/service-worker.js +1 -1
- package/build/static/css/{main.0d30f026.chunk.css → main.30e70922.chunk.css} +2 -2
- package/build/static/css/main.30e70922.chunk.css.map +1 -0
- package/build/static/js/main.2e801006.chunk.js +3 -0
- package/build/static/js/main.2e801006.chunk.js.map +1 -0
- package/build/static/media/icon_search.373c3cc4.svg +3 -0
- package/build/static/media/info-tooltip.19eb6e6a.svg +3 -0
- package/package.json +3 -3
- package/src/Store/constants.ts +13 -0
- package/src/common/assets/icons/icon_search.svg +2 -2
- package/src/common/assets/icons/info-tooltip.svg +3 -0
- package/src/components/DetailItem.tsx +25 -23
- package/src/components/drawer/cameraCustom.tsx +1 -1
- package/src/components/input/inputSearch.tsx +11 -8
- package/src/components/results/ItemResult.tsx +181 -183
- package/src/page/landingPage/common.scss +43 -25
- package/src/page/result/index.tsx +122 -52
- package/src/translations.ts +3 -3
- package/src/types.ts +15 -0
- package/build/static/css/main.0d30f026.chunk.css.map +0 -1
- package/build/static/js/main.972dc9a3.chunk.js +0 -3
- package/build/static/js/main.972dc9a3.chunk.js.map +0 -1
- package/build/static/media/icon_search.418decdc.svg +0 -3
- /package/build/static/js/{main.972dc9a3.chunk.js.LICENSE.txt → main.2e801006.chunk.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.3723 22.117C23.719 22.4637 23.719 23.0257 23.3723 23.3723C23.0257 23.719 22.4637 23.719 22.117 23.3723L16.8475 18.1028C16.3904 17.6457 15.6641 17.6208 15.123 17.9745C11.1608 20.5639 5.82363 19.9525 2.55769 16.3754C-0.967972 12.5138 -0.832726 6.56215 2.86471 2.86471C6.56215 -0.832726 12.5138 -0.967972 16.3754 2.55769C19.9525 5.82363 20.5639 11.1608 17.9745 15.123C17.6208 15.6641 17.6457 16.3904 18.1028 16.8475L23.3723 22.117ZM9.79677 1.80687C5.38428 1.80687 1.80725 5.3839 1.80725 9.79639C1.81214 14.2069 5.38631 17.781 9.79677 17.7859C14.2093 17.7859 17.7863 14.2089 17.7863 9.79639C17.7863 5.3839 14.2093 1.80687 9.79677 1.80687Z" fill="#000"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.16658 10.9888C4.15328 11.6481 5.31331 12 6.5 12C8.0913 12 9.61742 11.3679 10.7426 10.2426C11.8679 9.11742 12.5 7.5913 12.5 6C12.5 4.81331 12.1481 3.65328 11.4888 2.66658C10.8295 1.67989 9.89246 0.910851 8.7961 0.456725C7.69975 0.0025997 6.49335 -0.11622 5.32946 0.115291C4.16557 0.346802 3.09648 0.918247 2.25736 1.75736C1.41825 2.59648 0.846802 3.66557 0.615291 4.82946C0.38378 5.99335 0.5026 7.19975 0.956725 8.2961C1.41085 9.39246 2.17989 10.3295 3.16658 10.9888ZM3.64278 1.72387C4.48852 1.15877 5.48284 0.857145 6.5 0.857145C7.86397 0.857145 9.17208 1.39898 10.1366 2.36345C11.101 3.32793 11.6429 4.63603 11.6429 6C11.6429 7.01716 11.3412 8.01148 10.7761 8.85722C10.211 9.70296 9.40782 10.3621 8.46809 10.7514C7.52835 11.1406 6.4943 11.2425 5.49668 11.044C4.49906 10.8456 3.58269 10.3558 2.86345 9.63655C2.14421 8.91731 1.6544 8.00094 1.45596 7.00332C1.25753 6.00571 1.35937 4.97165 1.74862 4.03192C2.13787 3.09218 2.79705 2.28898 3.64278 1.72387ZM6.5 2.57143C6.37285 2.57143 6.24857 2.60913 6.14285 2.67977C6.03713 2.75041 5.95473 2.85081 5.90608 2.96827C5.85742 3.08574 5.84469 3.215 5.86949 3.3397C5.8943 3.4644 5.95553 3.57895 6.04543 3.66885C6.13534 3.75876 6.24988 3.81999 6.37458 3.84479C6.49929 3.8696 6.62854 3.85686 6.74601 3.80821C6.86348 3.75955 6.96388 3.67715 7.03452 3.57144C7.10515 3.46572 7.14286 3.34143 7.14286 3.21429C7.14286 3.04379 7.07513 2.88028 6.95457 2.75972C6.83401 2.63916 6.6705 2.57143 6.5 2.57143ZM6.92857 8.57143V5.14286H5.21428V6H6.07143V8.57143H4.78571V9.42857H8.21428V8.57143H6.92857Z" fill="white"/>
|
|
3
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyris/nyris-webapp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"homepage": "./",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@algolia/autocomplete-js": "^1.7.1",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@material-ui/data-grid": "^4.0.0-alpha.37",
|
|
13
13
|
"@material-ui/icons": "^4.4.1",
|
|
14
14
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
15
|
-
"@nyris/nyris-api": "^0.3.
|
|
16
|
-
"@nyris/nyris-react-components": "^0.3.
|
|
15
|
+
"@nyris/nyris-api": "^0.3.30",
|
|
16
|
+
"@nyris/nyris-react-components": "^0.3.30",
|
|
17
17
|
"@reduxjs/toolkit": "^1.6.1",
|
|
18
18
|
"@splidejs/react-splide": "^0.7.12",
|
|
19
19
|
"@types/blueimp-load-image": "^2.23.4",
|
package/src/Store/constants.ts
CHANGED
|
@@ -18,4 +18,17 @@ export const defaultSettings: AppSettings = {
|
|
|
18
18
|
'^https?://(www.)?dai.ly/',
|
|
19
19
|
],
|
|
20
20
|
theme: {},
|
|
21
|
+
field: {
|
|
22
|
+
ctaLinkField: '',
|
|
23
|
+
productName: '',
|
|
24
|
+
productDetails: '',
|
|
25
|
+
manufacturerNumber: '',
|
|
26
|
+
productTag: '',
|
|
27
|
+
warehouseNumber: '',
|
|
28
|
+
warehouseNumberValue: '',
|
|
29
|
+
warehouseShelfNumber: '',
|
|
30
|
+
warehouseShelfNumberValue: '',
|
|
31
|
+
warehouseStock: '',
|
|
32
|
+
warehouseStockValue: '',
|
|
33
|
+
},
|
|
21
34
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path
|
|
3
|
-
</svg>
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.3723 22.117C23.719 22.4637 23.719 23.0257 23.3723 23.3723C23.0257 23.719 22.4637 23.719 22.117 23.3723L16.8475 18.1028C16.3904 17.6457 15.6641 17.6208 15.123 17.9745C11.1608 20.5639 5.82363 19.9525 2.55769 16.3754C-0.967972 12.5138 -0.832726 6.56215 2.86471 2.86471C6.56215 -0.832726 12.5138 -0.967972 16.3754 2.55769C19.9525 5.82363 20.5639 11.1608 17.9745 15.123C17.6208 15.6641 17.6457 16.3904 18.1028 16.8475L23.3723 22.117ZM9.79677 1.80687C5.38428 1.80687 1.80725 5.3839 1.80725 9.79639C1.81214 14.2069 5.38631 17.781 9.79677 17.7859C14.2093 17.7859 17.7863 14.2089 17.7863 9.79639C17.7863 5.3839 14.2093 1.80687 9.79677 1.80687Z" fill="#000"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.16658 10.9888C4.15328 11.6481 5.31331 12 6.5 12C8.0913 12 9.61742 11.3679 10.7426 10.2426C11.8679 9.11742 12.5 7.5913 12.5 6C12.5 4.81331 12.1481 3.65328 11.4888 2.66658C10.8295 1.67989 9.89246 0.910851 8.7961 0.456725C7.69975 0.0025997 6.49335 -0.11622 5.32946 0.115291C4.16557 0.346802 3.09648 0.918247 2.25736 1.75736C1.41825 2.59648 0.846802 3.66557 0.615291 4.82946C0.38378 5.99335 0.5026 7.19975 0.956725 8.2961C1.41085 9.39246 2.17989 10.3295 3.16658 10.9888ZM3.64278 1.72387C4.48852 1.15877 5.48284 0.857145 6.5 0.857145C7.86397 0.857145 9.17208 1.39898 10.1366 2.36345C11.101 3.32793 11.6429 4.63603 11.6429 6C11.6429 7.01716 11.3412 8.01148 10.7761 8.85722C10.211 9.70296 9.40782 10.3621 8.46809 10.7514C7.52835 11.1406 6.4943 11.2425 5.49668 11.044C4.49906 10.8456 3.58269 10.3558 2.86345 9.63655C2.14421 8.91731 1.6544 8.00094 1.45596 7.00332C1.25753 6.00571 1.35937 4.97165 1.74862 4.03192C2.13787 3.09218 2.79705 2.28898 3.64278 1.72387ZM6.5 2.57143C6.37285 2.57143 6.24857 2.60913 6.14285 2.67977C6.03713 2.75041 5.95473 2.85081 5.90608 2.96827C5.85742 3.08574 5.84469 3.215 5.86949 3.3397C5.8943 3.4644 5.95553 3.57895 6.04543 3.66885C6.13534 3.75876 6.24988 3.81999 6.37458 3.84479C6.49929 3.8696 6.62854 3.85686 6.74601 3.80821C6.86348 3.75955 6.96388 3.67715 7.03452 3.57144C7.10515 3.46572 7.14286 3.34143 7.14286 3.21429C7.14286 3.04379 7.07513 2.88028 6.95457 2.75972C6.83401 2.63916 6.6705 2.57143 6.5 2.57143ZM6.92857 8.57143V5.14286H5.21428V6H6.07143V8.57143H4.78571V9.42857H8.21428V8.57143H6.92857Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
@@ -35,12 +35,14 @@ function DetailItem(props: Props) {
|
|
|
35
35
|
handlerFeedback,
|
|
36
36
|
} = props;
|
|
37
37
|
const [collapDescription, setCollapDescription] = useState(false);
|
|
38
|
-
const {
|
|
38
|
+
const { sku } = dataItem;
|
|
39
39
|
const [dataImageCarousel, setDataImageCarouSel] = useState<any[]>([]);
|
|
40
40
|
const isMobile = useMediaQuery({ query: '(max-width: 776px)' });
|
|
41
41
|
const { settings } = useAppSelector<AppState>((state: any) => state);
|
|
42
42
|
const [feedback, setFeedback] = useState('none');
|
|
43
43
|
const [urlImage, setUrlImage] = useState<string>('');
|
|
44
|
+
const brand = dataItem[settings.field.productTag];
|
|
45
|
+
|
|
44
46
|
useEffect(() => {
|
|
45
47
|
if (dataItem) {
|
|
46
48
|
checkDataItemResult(dataItem);
|
|
@@ -145,34 +147,35 @@ function DetailItem(props: Props) {
|
|
|
145
147
|
<Typography className="text-f13 fw-500 max-line-1">
|
|
146
148
|
{settings.itemIdLabel || 'SKU'}: {sku}
|
|
147
149
|
</Typography>
|
|
148
|
-
{dataItem.
|
|
150
|
+
{dataItem[settings.field.manufacturerNumber] && (
|
|
149
151
|
<Typography
|
|
150
152
|
className="text-f13 fw-500 max-line-1"
|
|
151
|
-
style={{ marginTop: '
|
|
153
|
+
style={{ marginTop: '12px' }}
|
|
152
154
|
>
|
|
153
|
-
{t('Manufacturer Number')}:
|
|
155
|
+
{t('Manufacturer Number')}:{' '}
|
|
156
|
+
{dataItem[settings.field.manufacturerNumber]}
|
|
154
157
|
</Typography>
|
|
155
158
|
)}
|
|
156
159
|
{settings.warehouseVariant && (
|
|
157
160
|
<Typography
|
|
158
161
|
className="text-f13 max-line-1 fw-500"
|
|
159
162
|
style={{
|
|
160
|
-
marginTop:
|
|
163
|
+
marginTop: 12,
|
|
161
164
|
display: 'inline-block',
|
|
162
165
|
}}
|
|
163
166
|
>
|
|
164
167
|
<span style={{ marginRight: 3 }}>
|
|
165
|
-
{dataItem.
|
|
168
|
+
{dataItem[settings.field.warehouseStock]}:
|
|
166
169
|
</span>
|
|
167
170
|
<span
|
|
168
171
|
style={{
|
|
169
|
-
color: dataItem.
|
|
172
|
+
color: dataItem[settings.field.warehouseStockValue]
|
|
170
173
|
? '#00C070'
|
|
171
174
|
: '#c54545',
|
|
172
175
|
fontWeight: 600,
|
|
173
176
|
}}
|
|
174
177
|
>
|
|
175
|
-
{dataItem.
|
|
178
|
+
{dataItem[settings.field.warehouseStockValue] || 0}
|
|
176
179
|
</span>
|
|
177
180
|
</Typography>
|
|
178
181
|
)}
|
|
@@ -183,7 +186,7 @@ function DetailItem(props: Props) {
|
|
|
183
186
|
backgroundColor: `${settings.theme?.secondaryColor}26`,
|
|
184
187
|
width: 'fit-content',
|
|
185
188
|
padding: '3px 5px',
|
|
186
|
-
marginTop:
|
|
189
|
+
marginTop: 12,
|
|
187
190
|
}}
|
|
188
191
|
>
|
|
189
192
|
<Typography
|
|
@@ -205,18 +208,18 @@ function DetailItem(props: Props) {
|
|
|
205
208
|
: 'text-f22 fw-600 text-dark'
|
|
206
209
|
}
|
|
207
210
|
style={{
|
|
208
|
-
|
|
211
|
+
marginTop: '12px',
|
|
209
212
|
display: 'inline-block',
|
|
210
213
|
maxWidth: '100%',
|
|
211
214
|
wordWrap: 'break-word',
|
|
212
215
|
}}
|
|
213
216
|
>
|
|
214
|
-
{
|
|
217
|
+
{dataItem[settings.field.productName]}
|
|
215
218
|
</Typography>
|
|
216
219
|
)}
|
|
217
220
|
</Grid>
|
|
218
221
|
<Grid item xs={12}>
|
|
219
|
-
{dataItem
|
|
222
|
+
{dataItem[settings.field.productDetails] && (
|
|
220
223
|
<Box className="w-100">
|
|
221
224
|
<Button
|
|
222
225
|
className="w-100"
|
|
@@ -227,7 +230,7 @@ function DetailItem(props: Props) {
|
|
|
227
230
|
fontSize: 14,
|
|
228
231
|
textTransform: 'initial',
|
|
229
232
|
paddingLeft: 5,
|
|
230
|
-
marginTop:
|
|
233
|
+
marginTop: 12,
|
|
231
234
|
}}
|
|
232
235
|
onClick={() => setCollapDescription(e => !e)}
|
|
233
236
|
>
|
|
@@ -244,7 +247,7 @@ function DetailItem(props: Props) {
|
|
|
244
247
|
</Button>
|
|
245
248
|
<Collapse in={collapDescription}>
|
|
246
249
|
<Typography style={{ fontSize: 14, paddingTop: 5 }}>
|
|
247
|
-
{dataItem
|
|
250
|
+
{dataItem[settings.field.productDetails]}
|
|
248
251
|
</Typography>
|
|
249
252
|
</Collapse>
|
|
250
253
|
</Box>
|
|
@@ -256,11 +259,11 @@ function DetailItem(props: Props) {
|
|
|
256
259
|
// marginBottom: 25,
|
|
257
260
|
boxShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)',
|
|
258
261
|
borderRadius: 4,
|
|
262
|
+
marginTop: 12,
|
|
259
263
|
}}
|
|
260
264
|
display={'flex'}
|
|
261
265
|
justifyContent={'space-between'}
|
|
262
266
|
alignItems={'center'}
|
|
263
|
-
mt={2}
|
|
264
267
|
className="btn-detail-item"
|
|
265
268
|
>
|
|
266
269
|
<Button
|
|
@@ -273,7 +276,7 @@ function DetailItem(props: Props) {
|
|
|
273
276
|
}}
|
|
274
277
|
onClick={() =>
|
|
275
278
|
window.open(
|
|
276
|
-
`${
|
|
279
|
+
`${dataItem[settings.field.ctaLinkField]}`,
|
|
277
280
|
'_blank',
|
|
278
281
|
)
|
|
279
282
|
}
|
|
@@ -289,7 +292,7 @@ function DetailItem(props: Props) {
|
|
|
289
292
|
}}
|
|
290
293
|
>
|
|
291
294
|
{settings.warehouseVariant
|
|
292
|
-
?
|
|
295
|
+
? dataItem[settings.field.productName]
|
|
293
296
|
: settings.productCtaText || 'MORE INFO'}
|
|
294
297
|
</Typography>
|
|
295
298
|
<img
|
|
@@ -308,8 +311,7 @@ function DetailItem(props: Props) {
|
|
|
308
311
|
<Box
|
|
309
312
|
display="flex"
|
|
310
313
|
justifyContent={'space-between'}
|
|
311
|
-
|
|
312
|
-
style={{ color: '#2B2C46' }}
|
|
314
|
+
style={{ color: '#2B2C46', marginTop: 12 }}
|
|
313
315
|
gridGap={20}
|
|
314
316
|
>
|
|
315
317
|
<Box
|
|
@@ -321,10 +323,10 @@ function DetailItem(props: Props) {
|
|
|
321
323
|
}}
|
|
322
324
|
>
|
|
323
325
|
<div style={{ fontSize: 15, fontWeight: 500 }}>
|
|
324
|
-
{dataItem.
|
|
326
|
+
{dataItem[settings.field.warehouseNumber]}
|
|
325
327
|
</div>
|
|
326
328
|
<div style={{ fontSize: 17, fontWeight: 700 }}>
|
|
327
|
-
{dataItem.
|
|
329
|
+
{dataItem[settings.field.warehouseNumberValue] || 'N/A'}
|
|
328
330
|
</div>
|
|
329
331
|
</Box>
|
|
330
332
|
<Box
|
|
@@ -336,10 +338,10 @@ function DetailItem(props: Props) {
|
|
|
336
338
|
}}
|
|
337
339
|
>
|
|
338
340
|
<div style={{ fontSize: 15, fontWeight: 500 }}>
|
|
339
|
-
{dataItem.
|
|
341
|
+
{dataItem[settings.field.warehouseShelfNumber]}
|
|
340
342
|
</div>
|
|
341
343
|
<div style={{ fontSize: 17, fontWeight: 700 }}>
|
|
342
|
-
{dataItem.
|
|
344
|
+
{dataItem[settings.field.warehouseShelfNumberValue] || 'N/A'}
|
|
343
345
|
</div>
|
|
344
346
|
</Box>
|
|
345
347
|
</Box>
|
|
@@ -118,6 +118,7 @@ function CameraCustom(props: Props) {
|
|
|
118
118
|
let payload: any;
|
|
119
119
|
let filters: any[] = [];
|
|
120
120
|
let region: RectCoords | undefined;
|
|
121
|
+
dispatch(updateStatusLoading(true));
|
|
121
122
|
dispatch(setImageSearchInput(URL.createObjectURL(fs[0])));
|
|
122
123
|
let image = await createImage(fs[0]);
|
|
123
124
|
dispatch(setRequestImage(image));
|
|
@@ -127,7 +128,6 @@ function CameraCustom(props: Props) {
|
|
|
127
128
|
region = res.selectedRegion;
|
|
128
129
|
dispatch(setSelectedRegion(region));
|
|
129
130
|
}
|
|
130
|
-
dispatch(updateStatusLoading(true));
|
|
131
131
|
return findByImage({ image, settings, region })
|
|
132
132
|
.then((res: any) => {
|
|
133
133
|
res?.results.map((item: any) => {
|
|
@@ -159,9 +159,10 @@ const SearchBox = (props: any) => {
|
|
|
159
159
|
<Box className="box-inp">
|
|
160
160
|
<Box
|
|
161
161
|
style={{
|
|
162
|
-
height: '
|
|
162
|
+
height: '75%',
|
|
163
163
|
order: 1,
|
|
164
164
|
paddingLeft: imageThumbSearchInput || keyFilter ? 0 : 10,
|
|
165
|
+
marginLeft: keyFilter ? 0 : 5,
|
|
165
166
|
}}
|
|
166
167
|
>
|
|
167
168
|
{imageThumbSearchInput && (
|
|
@@ -185,6 +186,7 @@ const SearchBox = (props: any) => {
|
|
|
185
186
|
arrow={true}
|
|
186
187
|
>
|
|
187
188
|
<button
|
|
189
|
+
type="button"
|
|
188
190
|
onClick={() => {
|
|
189
191
|
if (!valueInput) {
|
|
190
192
|
dispatch(reset(''));
|
|
@@ -222,7 +224,11 @@ const SearchBox = (props: any) => {
|
|
|
222
224
|
{keyFilter && !isMobile && (
|
|
223
225
|
<Box
|
|
224
226
|
className="box-key-filter"
|
|
225
|
-
style={{
|
|
227
|
+
style={{
|
|
228
|
+
order: 0,
|
|
229
|
+
marginRight: 5,
|
|
230
|
+
border: `2px solid ${settings.theme?.secondaryColor}c7`,
|
|
231
|
+
}}
|
|
226
232
|
>
|
|
227
233
|
<Tooltip
|
|
228
234
|
title={keyFilter}
|
|
@@ -240,8 +246,8 @@ const SearchBox = (props: any) => {
|
|
|
240
246
|
>
|
|
241
247
|
<CloseIcon
|
|
242
248
|
style={{
|
|
243
|
-
fontSize:
|
|
244
|
-
color:
|
|
249
|
+
fontSize: 20,
|
|
250
|
+
color: settings.theme?.secondaryColor,
|
|
245
251
|
}}
|
|
246
252
|
/>
|
|
247
253
|
</Button>
|
|
@@ -268,7 +274,6 @@ const SearchBox = (props: any) => {
|
|
|
268
274
|
{history.location.pathname === '/result' && valueInput && (
|
|
269
275
|
<Button
|
|
270
276
|
className="btn-clear-text"
|
|
271
|
-
style={{ marginRight: 5 }}
|
|
272
277
|
onClick={() => {
|
|
273
278
|
if (imageThumbSearchInput) {
|
|
274
279
|
setValueInput('');
|
|
@@ -305,8 +310,7 @@ const SearchBox = (props: any) => {
|
|
|
305
310
|
width: 32,
|
|
306
311
|
height: 32,
|
|
307
312
|
borderRadius: '100%',
|
|
308
|
-
|
|
309
|
-
marginRight: 7,
|
|
313
|
+
marginRight: 10,
|
|
310
314
|
}}
|
|
311
315
|
>
|
|
312
316
|
<IconFilter />
|
|
@@ -338,7 +342,6 @@ const SearchBox = (props: any) => {
|
|
|
338
342
|
width: 32,
|
|
339
343
|
height: 32,
|
|
340
344
|
borderRadius: '100%',
|
|
341
|
-
backgroundColor: '#fff',
|
|
342
345
|
padding: 7,
|
|
343
346
|
}}
|
|
344
347
|
>
|