@nyris/nyris-webapp 0.3.50 → 0.3.52

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 (158) hide show
  1. package/README.md +18 -92
  2. package/build/asset-manifest.json +90 -69
  3. package/build/index.html +1 -1
  4. package/build/js/settings.example.js +7 -0
  5. package/build/static/css/main.aa443e67.css +2 -0
  6. package/build/static/css/main.aa443e67.css.map +1 -0
  7. package/build/static/js/main.e023bcc5.js +3 -0
  8. package/build/static/js/main.e023bcc5.js.LICENSE.txt +268 -0
  9. package/build/static/js/main.e023bcc5.js.map +1 -0
  10. package/build/static/media/{Union.2545c072.svg → Union.dce5234bc686d28b45df0a5aea6ef6d1.svg} +1 -1
  11. package/package.json +47 -74
  12. package/public/js/settings.example.js +7 -0
  13. package/src/Store/Store.ts +6 -0
  14. package/src/common/assets/icons/Union.svg +1 -1
  15. package/src/components/AppMobile.tsx +16 -11
  16. package/src/components/CadenasWebViewer.tsx +2 -3
  17. package/src/components/DragDropFile.tsx +35 -32
  18. package/src/components/FilterComponent.tsx +4 -6
  19. package/src/components/FooterMobile.tsx +16 -13
  20. package/src/components/Header.tsx +3 -3
  21. package/src/components/HeaderMobile.tsx +42 -43
  22. package/src/components/ImageCaptureHelpModal.tsx +13 -10
  23. package/src/components/ImagePreviewMobile.tsx +24 -23
  24. package/src/components/Inquiry/InquiryBanner.tsx +13 -14
  25. package/src/components/Inquiry/InquiryModal.tsx +1 -1
  26. package/src/components/Layout.tsx +11 -6
  27. package/src/components/Loading.tsx +2 -3
  28. package/src/components/PanelResult/PostFilter.tsx +9 -9
  29. package/src/components/PanelResult/PostFilterAlgolia.tsx +9 -9
  30. package/src/components/PanelResult/expandable-panel.tsx +3 -3
  31. package/src/components/ProductAttribute.tsx +26 -19
  32. package/src/components/ProductDetailView.tsx +80 -80
  33. package/src/components/ProductList/index.tsx +6 -7
  34. package/src/components/SelectedPostFilter.tsx +2 -3
  35. package/src/components/ShareModal.tsx +20 -21
  36. package/src/components/SidePanel.tsx +18 -18
  37. package/src/components/carousel/ImagePreviewCarousel.tsx +7 -3
  38. package/src/components/default-select.tsx +5 -7
  39. package/src/components/drawer/cameraCustom.tsx +45 -41
  40. package/src/components/input/inputSearch.tsx +48 -42
  41. package/src/components/pre-filter/index.tsx +56 -52
  42. package/src/components/results/ItemResult.tsx +123 -96
  43. package/src/components/rfq/RfqBanner.tsx +13 -14
  44. package/src/components/rfq/RfqModal.tsx +1 -1
  45. package/src/index.tsx +20 -21
  46. package/src/page/landingPage/AppMD.tsx +8 -9
  47. package/src/page/landingPage/AppMobile.tsx +2 -3
  48. package/src/page/landingPage/common.scss +2 -4
  49. package/src/page/result/index.tsx +92 -75
  50. package/src/translations.ts +2 -0
  51. package/src/types.ts +8 -0
  52. package/tsconfig.json +11 -5
  53. package/api-mocks/feedback/v1/OPTIONS.mock +0 -6
  54. package/api-mocks/feedback/v1/POST.mock +0 -4
  55. package/api-mocks/find/v1/OPTIONS.mock +0 -6
  56. package/api-mocks/find/v1/POST.mock +0 -7
  57. package/api-mocks/find/v1/regions/OPTIONS.mock +0 -6
  58. package/api-mocks/find/v1/regions/POST.mock +0 -6
  59. package/build/precache-manifest.94e48d131d31de9b354f61c68a3ed830.js +0 -366
  60. package/build/service-worker.js +0 -39
  61. package/build/static/css/2.27ad1145.chunk.css +0 -2
  62. package/build/static/css/2.27ad1145.chunk.css.map +0 -1
  63. package/build/static/css/main.24b5a712.chunk.css +0 -2
  64. package/build/static/css/main.24b5a712.chunk.css.map +0 -1
  65. package/build/static/js/2.3399db0d.chunk.js +0 -3
  66. package/build/static/js/2.3399db0d.chunk.js.LICENSE.txt +0 -275
  67. package/build/static/js/2.3399db0d.chunk.js.map +0 -1
  68. package/build/static/js/main.b75d8ff6.chunk.js +0 -3
  69. package/build/static/js/main.b75d8ff6.chunk.js.LICENSE.txt +0 -1
  70. package/build/static/js/main.b75d8ff6.chunk.js.map +0 -1
  71. package/build/static/js/runtime-main.1ff80965.js +0 -2
  72. package/build/static/js/runtime-main.1ff80965.js.map +0 -1
  73. package/src/components/Panigation/Pagination.tsx +0 -135
  74. package/src/components/results/ItemResult.test.tsx +0 -0
  75. package/src/helpers/CommonHelper.test.ts +0 -0
  76. package/src/serviceWorker.ts +0 -143
  77. /package/build/static/media/{3d.24adb2c2.svg → 3d.a7aa94395eaef439de4bb07d24f56e21.svg} +0 -0
  78. /package/build/static/media/{Fill.619a9d98.svg → Fill.004d04ac1ba9c868101ab485bcfd0b0e.svg} +0 -0
  79. /package/build/static/media/{IconUploadDownward.6b47ab39.svg → IconUploadDownward.ed1260bef14fbf9352364ad0f08a416e.svg} +0 -0
  80. /package/build/static/media/{SourceSans3-Bold.a923b66a.ttf → SourceSans3-Bold.17e068739e42bdb30d1c.ttf} +0 -0
  81. /package/build/static/media/{SourceSans3-Light.d1772158.ttf → SourceSans3-Light.37264fa35ee0d5f209ea.ttf} +0 -0
  82. /package/build/static/media/{SourceSans3-Medium.fda30e61.ttf → SourceSans3-Medium.c82b4c53fc5d38ef5784.ttf} +0 -0
  83. /package/build/static/media/{SourceSans3-Regular.04f1a4f0.ttf → SourceSans3-Regular.c69f9658f16351f79f33.ttf} +0 -0
  84. /package/build/static/media/{SourceSans3-SemiBold.cf5be839.ttf → SourceSans3-SemiBold.5ad6683a8a06e3ccea94.ttf} +0 -0
  85. /package/build/static/media/{add.ba46a4bf.svg → add.2b72cedb98c4c89c954266d2356c166c.svg} +0 -0
  86. /package/build/static/media/{arrow_down.c1b611db.svg → arrow_down.f417689ce292978a8292a7f00407fdd5.svg} +0 -0
  87. /package/build/static/media/{arrow_left.fd9d4390.svg → arrow_left.73d03a534eaf9b99ab196e0fb67da602.svg} +0 -0
  88. /package/build/static/media/{arrow_right.c6fdab0b.svg → arrow_right.59a4594a3a1657037537dbae1eee0251.svg} +0 -0
  89. /package/build/static/media/{arrow_up.fcd6b144.svg → arrow_up.85dbe70bc51ec32c8894a06499330f14.svg} +0 -0
  90. /package/build/static/media/{avatar.4c5346ed.svg → avatar.43b4f53e7174b4cfd59c51b7acf6236b.svg} +0 -0
  91. /package/build/static/media/{bgDragmobile.e4913a92.svg → bgDragmobile.487091d95d6abb2a2711.svg} +0 -0
  92. /package/build/static/media/{call.c3c23966.svg → call.91e7bfc7a94979c6981988194b45850c.svg} +0 -0
  93. /package/build/static/media/{camera.ae3f4f51.svg → camera.7fc9fe03d10f926524c9b436720371c6.svg} +0 -0
  94. /package/build/static/media/{close.07dcb75c.svg → close.feb72bdc7227b9333f9528e260dd1217.svg} +0 -0
  95. /package/build/static/media/{download.d6432d26.svg → download.8007f7c72e2080a9ffa96fa63d480dcf.svg} +0 -0
  96. /package/build/static/media/{email_share.92bbfb8b.svg → email_share.0b8aeb4edc7c53e944b9c403ec77df2e.svg} +0 -0
  97. /package/build/static/media/{error.48b946a9.svg → error.560997da69fcc36e10dafe36df4af593.svg} +0 -0
  98. /package/build/static/media/{filter.bc412f08.svg → filter.9fdd64df67735e0fbf0dd7d1df32921c.svg} +0 -0
  99. /package/build/static/media/{filter_settings.fa0682a5.svg → filter_settings.f93788883c7fbbcd3ae194e45294d0de.svg} +0 -0
  100. /package/build/static/media/{home.defd14bf.svg → home.9ffb65a9c0be8fc5a502ba05cf5f719c.svg} +0 -0
  101. /package/build/static/media/{ic_cam.5318e2d0.svg → ic_cam.659852ba686874f710cc.svg} +0 -0
  102. /package/build/static/media/{ic_close_feedback.f0834c16.svg → ic_close_feedback.f0ab3c1557a131281039.svg} +0 -0
  103. /package/build/static/media/{ic_shopNow.0348013a.svg → ic_shopNow.71d2c270d716e3774615.svg} +0 -0
  104. /package/build/static/media/{ic_shopNowLight.d8eadc1e.svg → ic_shopNowLight.628bb04870f5af9a524f.svg} +0 -0
  105. /package/build/static/media/{icon_camera_mobile.4d7a272f.svg → icon_camera_mobile.6772053c4dfef487255649d2a05cc9d4.svg} +0 -0
  106. /package/build/static/media/{icon_dislike.0533c64a.svg → icon_dislike.cab8f1f21bc5222aba2d3ca689e4f392.svg} +0 -0
  107. /package/build/static/media/{icon_email.71b21005.svg → icon_email.f22810a3dd1b4e6853c68c134ee043b3.svg} +0 -0
  108. /package/build/static/media/{icon_like.80c66e3a.svg → icon_like.049f5c42107aa03b8ebae58cc8c088ca.svg} +0 -0
  109. /package/build/static/media/{icon_search.373c3cc4.svg → icon_search.cc17077df07fb2b82c0d58f9bddc7974.svg} +0 -0
  110. /package/build/static/media/{icon_search_image2.4c4af888.svg → icon_search_image2.4f4458c1e16dc5092f2367003d3aa1e4.svg} +0 -0
  111. /package/build/static/media/{img-1-1.6144e5f9.png → img-1-1.130fb8d0203452fee547.png} +0 -0
  112. /package/build/static/media/{img-1-2.ad943f0f.png → img-1-2.c512de6393df34bd1e61.png} +0 -0
  113. /package/build/static/media/{img2-1.a87c79c7.png → img2-1.2adc75df85eab5c127f9.png} +0 -0
  114. /package/build/static/media/{img2-2.39c5b73f.png → img2-2.c68532d4f95dbc63c69a.png} +0 -0
  115. /package/build/static/media/{img3-1.443b0c3a.png → img3-1.6eb26a22e6ea83629d27.png} +0 -0
  116. /package/build/static/media/{img3-2.37db7999.png → img3-2.39ae54b4032d52c79a3a.png} +0 -0
  117. /package/build/static/media/{img4-1.9c34c158.png → img4-1.a7594bfa47b01d2a0890.png} +0 -0
  118. /package/build/static/media/{img4-2.9d280a04.png → img4-2.24c0cbafe1a7ad7c24b5.png} +0 -0
  119. /package/build/static/media/{img5-1.b61dbd4d.png → img5-1.e6865b52df58608fd968.png} +0 -0
  120. /package/build/static/media/{img5-2.1c77c093.png → img5-2.ae59543efec34daf3554.png} +0 -0
  121. /package/build/static/media/{img6-1.8b03dd21.png → img6-1.c8bb209cdce72c2d8033.png} +0 -0
  122. /package/build/static/media/{img6-2.1e3e7fed.png → img6-2.b442f90b3e503ac33510.png} +0 -0
  123. /package/build/static/media/{info-tooltip.b98e8a9c.svg → info-tooltip.38185b73956d2d230d38d8254bb7fd91.svg} +0 -0
  124. /package/build/static/media/{logout.07b9ef7f.svg → logout.b544fcd2969edf431a1e998333119834.svg} +0 -0
  125. /package/build/static/media/{minus.3fce6c0a.svg → minus.dee9c571642279cf2af9ed09108cadd8.svg} +0 -0
  126. /package/build/static/media/{no-image.04b676b3.svg → no-image.0792bd463c7917d0b67f4a55a9bc55d9.svg} +0 -0
  127. /package/build/static/media/{powered_by_nyris.e6766baf.svg → powered_by_nyris.218facc4a2986cc09b183eeeb205b0c2.svg} +0 -0
  128. /package/build/static/media/{powered_by_nyris_colored.08d00bae.svg → powered_by_nyris_colored.7177945f25f07f85f8f57e02e15c0878.svg} +0 -0
  129. /package/build/static/media/{reverse_camera.28c80509.svg → reverse_camera.cee0200b151941cc83c182167a85d667.svg} +0 -0
  130. /package/build/static/media/{roboto-latin-100.5cb7edfc.woff → roboto-latin-100.a45108d3b34af91f9113.woff} +0 -0
  131. /package/build/static/media/{roboto-latin-100.7370c367.woff2 → roboto-latin-100.c2aa4ab115bf9c6057cb.woff2} +0 -0
  132. /package/build/static/media/{roboto-latin-100italic.f9e8e590.woff → roboto-latin-100italic.451d4e559d6f57cdf6a1.woff} +0 -0
  133. /package/build/static/media/{roboto-latin-100italic.f8b1df51.woff2 → roboto-latin-100italic.7f839a8652da29745ce4.woff2} +0 -0
  134. /package/build/static/media/{roboto-latin-300.ef7c6637.woff2 → roboto-latin-300.37a7069dc30fc663c878.woff2} +0 -0
  135. /package/build/static/media/{roboto-latin-300.b00849e0.woff → roboto-latin-300.865f928cbabcc9f8f2b5.woff} +0 -0
  136. /package/build/static/media/{roboto-latin-300italic.4df32891.woff → roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff} +0 -0
  137. /package/build/static/media/{roboto-latin-300italic.14286f3b.woff2 → roboto-latin-300italic.c64e7e354c88e613c77c.woff2} +0 -0
  138. /package/build/static/media/{roboto-latin-400.479970ff.woff2 → roboto-latin-400.176f8f5bd5f02b3abfcf.woff2} +0 -0
  139. /package/build/static/media/{roboto-latin-400.60fa3c06.woff → roboto-latin-400.49ae34d4cc6b98c00c69.woff} +0 -0
  140. /package/build/static/media/{roboto-latin-400italic.fe65b833.woff → roboto-latin-400italic.b1d9d9904bfca8802a63.woff} +0 -0
  141. /package/build/static/media/{roboto-latin-400italic.51521a2a.woff2 → roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2} +0 -0
  142. /package/build/static/media/{roboto-latin-500.87284894.woff → roboto-latin-500.cea99d3e3e13a3a599a0.woff} +0 -0
  143. /package/build/static/media/{roboto-latin-500.020c97dc.woff2 → roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2} +0 -0
  144. /package/build/static/media/{roboto-latin-500italic.db4a2a23.woff2 → roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2} +0 -0
  145. /package/build/static/media/{roboto-latin-500italic.288ad9c6.woff → roboto-latin-500italic.18d00f739ff1e1c52db1.woff} +0 -0
  146. /package/build/static/media/{roboto-latin-700.adcde98f.woff → roboto-latin-700.2267169ee7270a22a963.woff} +0 -0
  147. /package/build/static/media/{roboto-latin-700.2735a3a6.woff2 → roboto-latin-700.c18ee39fb002ad58b6dc.woff2} +0 -0
  148. /package/build/static/media/{roboto-latin-700italic.da0e7178.woff2 → roboto-latin-700italic.7d8125ff7f707231fd89.woff2} +0 -0
  149. /package/build/static/media/{roboto-latin-700italic.81f57861.woff → roboto-latin-700italic.9360531f9bb817f917f0.woff} +0 -0
  150. /package/build/static/media/{roboto-latin-900.9b3766ef.woff2 → roboto-latin-900.870c8c1486f76054301a.woff2} +0 -0
  151. /package/build/static/media/{roboto-latin-900.bb1e4dc6.woff → roboto-latin-900.bac8362e7a6ea60b6983.woff} +0 -0
  152. /package/build/static/media/{roboto-latin-900italic.28f91510.woff → roboto-latin-900italic.c20d916c1a1b094c1cec.woff} +0 -0
  153. /package/build/static/media/{roboto-latin-900italic.ebf6d164.woff2 → roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2} +0 -0
  154. /package/build/static/media/{sectionTransBack.6cee2e36.svg → sectionTransBack.20491b21c659cd29499a.svg} +0 -0
  155. /package/build/static/media/{sectionTransTop.3dcf290f.svg → sectionTransTop.3a1dd8204a4137b92722.svg} +0 -0
  156. /package/build/static/media/{settings.e3c8138b.svg → settings.4b954549320dc34e0d000afd236cff2e.svg} +0 -0
  157. /package/build/static/media/{take_photo.76423216.svg → take_photo.42347c97c863fc8ec1afa36a56eb9ccb.svg} +0 -0
  158. /package/build/static/media/{trash.1624780d.svg → trash.ea9fa760f600fc578097ef0c01d5845f.svg} +0 -0
@@ -1,4 +1,4 @@
1
- import { Box, Button, Tooltip, Typography } from '@material-ui/core';
1
+ import { Button, Tooltip, Typography } from '@material-ui/core';
2
2
  import React, { useEffect, useMemo, useState } from 'react';
3
3
  import CloseIcon from '@material-ui/icons/Close';
4
4
  import IconSearch from 'common/assets/icons/icon_search.svg';
@@ -132,7 +132,6 @@ function PreFilterComponent(props: Props) {
132
132
  },
133
133
  ];
134
134
  dispatch(updateStatusLoading(true));
135
-
136
135
  find({
137
136
  image: requestImage?.canvas as HTMLCanvasElement,
138
137
  settings,
@@ -141,7 +140,7 @@ function PreFilterComponent(props: Props) {
141
140
  text: searchQuery,
142
141
  })
143
142
  .then((res: any) => {
144
- res?.results.map((item: any) => {
143
+ res?.results.forEach((item: any) => {
145
144
  filters.push({
146
145
  sku: item.sku,
147
146
  score: item.score,
@@ -163,11 +162,9 @@ function PreFilterComponent(props: Props) {
163
162
  const { t } = useTranslation();
164
163
 
165
164
  return (
166
- <Box
165
+ <div
167
166
  className="box-child-component-filter-desktop"
168
- display={'flex'}
169
- flexDirection={'column'}
170
- style={{ position: 'relative' }}
167
+ style={{ position: 'relative', display: 'flex', flexDirection: 'column' }}
171
168
  >
172
169
  <div
173
170
  style={{
@@ -197,24 +194,30 @@ function PreFilterComponent(props: Props) {
197
194
  <CloseIcon />
198
195
  </Button>
199
196
  </div>
200
- <Box
197
+ <div
201
198
  className="box-top"
202
- display={'flex'}
203
- justifyContent={'space-between'}
204
- alignItems={'center'}
199
+ style={{
200
+ display: 'flex',
201
+ justifyContent: 'space-between',
202
+ alignItems: 'center',
203
+ }}
205
204
  >
206
- <Box
205
+ <div
207
206
  className="box-input-search-filter"
208
- display={'flex'}
209
- justifyItems={'center'}
210
- style={isMobile ? { width: '100%' } : undefined}
207
+ style={{
208
+ width: isMobile ? '100%' : '',
209
+ display: 'flex',
210
+ justifyItems: 'center',
211
+ }}
211
212
  >
212
- <Box
213
+ <div
213
214
  className="icon-search"
214
- style={{ marginRight: 11 }}
215
- display={'flex'}
216
- justifyContent={'center'}
217
- alignItems={'center'}
215
+ style={{
216
+ marginRight: 11,
217
+ display: 'flex',
218
+ justifyContent: 'center',
219
+ alignItems: 'center',
220
+ }}
218
221
  >
219
222
  <img
220
223
  style={{ maxWidth: 'fit-content' }}
@@ -223,7 +226,7 @@ function PreFilterComponent(props: Props) {
223
226
  width={18}
224
227
  height={18}
225
228
  />
226
- </Box>
229
+ </div>
227
230
 
228
231
  <input
229
232
  className="input-search-filter"
@@ -232,11 +235,11 @@ function PreFilterComponent(props: Props) {
232
235
  filterSearchHandler(e.target.value);
233
236
  }}
234
237
  />
235
- </Box>
236
- </Box>
238
+ </div>
239
+ </div>
237
240
 
238
241
  {!isEmpty(keyFilter) && selectedFilter > 0 && (
239
- <Box
242
+ <div
240
243
  style={{
241
244
  padding: '10px 16px 10px 16px',
242
245
  display: 'flex',
@@ -244,7 +247,7 @@ function PreFilterComponent(props: Props) {
244
247
  backgroundColor: '#FAFAFA',
245
248
  }}
246
249
  >
247
- <Box
250
+ <div
248
251
  style={{
249
252
  display: 'flex',
250
253
  flexWrap: 'wrap',
@@ -258,7 +261,7 @@ function PreFilterComponent(props: Props) {
258
261
  {Object.keys(keyFilter).map((key, index) => {
259
262
  if (!keyFilter[key]) return <></>;
260
263
  return (
261
- <Box
264
+ <div
262
265
  key={index}
263
266
  className="box-keyFilter"
264
267
  style={{ display: 'flex', height: 'fit-content', gap: '8px' }}
@@ -270,13 +273,13 @@ function PreFilterComponent(props: Props) {
270
273
  >
271
274
  <CloseIcon style={{ fontSize: 12, color: '#2B2C46' }} />
272
275
  </Button>
273
- </Box>
276
+ </div>
274
277
  );
275
278
  })}
276
279
  <p
277
280
  style={{ fontWeight: 'bold', color: '#000' }}
278
281
  >{`${selectedFilter}/${maxFilter}`}</p>
279
- <Box
282
+ <div
280
283
  style={{
281
284
  color: '#E31B5D',
282
285
  fontSize: '12px',
@@ -288,17 +291,17 @@ function PreFilterComponent(props: Props) {
288
291
  }}
289
292
  >
290
293
  {t('Clear all')}
291
- </Box>
292
- </Box>
293
- </Box>
294
+ </div>
295
+ </div>
296
+ </div>
294
297
  )}
295
- <Box
298
+ <div
296
299
  className="box-bottom"
297
- height={'100%'}
298
300
  style={
299
301
  isMobile
300
302
  ? {
301
303
  columnCount: 1,
304
+ height: '100%',
302
305
  marginBottom: keyFilter ? '50px' : '0px',
303
306
  }
304
307
  : columns <= 4
@@ -311,14 +314,16 @@ function PreFilterComponent(props: Props) {
311
314
  : {
312
315
  columnCount: 4,
313
316
  padding: '24px 24px 40px 24px',
317
+ height: '100%',
318
+
314
319
  backgroundColor: '#FAFAFA',
315
320
  }
316
321
  }
317
322
  >
318
323
  {Object.entries(resultFilter).map(([key, value]: any, i: any) => {
319
324
  return (
320
- <Box className="box-group-items" key={key}>
321
- <Box
325
+ <div className="box-group-items" key={key}>
326
+ <div
322
327
  style={{
323
328
  display: 'flex',
324
329
  flexDirection: 'column',
@@ -345,7 +350,7 @@ function PreFilterComponent(props: Props) {
345
350
  arrow={true}
346
351
  disableHoverListener={item.length < 35}
347
352
  >
348
- <Box
353
+ <div
349
354
  aria-label={item}
350
355
  style={{
351
356
  cursor: 'pointer',
@@ -372,41 +377,40 @@ function PreFilterComponent(props: Props) {
372
377
  }}
373
378
  >
374
379
  {truncateString(item, !isMobile ? 35 : 35)}
375
- </Box>
380
+ </div>
376
381
  </Tooltip>
377
382
  );
378
383
  })}
379
- </Box>
380
- </Box>
384
+ </div>
385
+ </div>
381
386
  );
382
387
  })}
383
388
  {isLoading && (
384
- <Box style={{ columnCount: isMobile ? 1 : 4 }}>
389
+ <div style={{ columnCount: isMobile ? 1 : 4 }}>
385
390
  {Array(12)
386
391
  .fill('')
387
392
  .map((_, index) => {
388
393
  return (
389
- <Box key={index} mb={5}>
394
+ <div key={index} style={{ marginBottom: 5 }}>
390
395
  <Skeleton animation={'pulse'} height={30} width={60} />
391
396
  {Array(6)
392
397
  .fill('')
393
398
  .map((_, index) => (
394
399
  <Skeleton key={index} animation={'pulse'} height={30} />
395
400
  ))}
396
- </Box>
401
+ </div>
397
402
  );
398
403
  })}
399
- </Box>
404
+ </div>
400
405
  )}
401
406
  {isEmpty(resultFilter) && !isLoading && (
402
407
  <Typography>No result found</Typography>
403
408
  )}
404
- </Box>
409
+ </div>
405
410
  {!isMobile && (
406
- <Box
411
+ <div
407
412
  className="footer"
408
- style={{ height: 64, marginTop: 'auto' }}
409
- display={'flex'}
413
+ style={{ height: 64, marginTop: 'auto', display: 'flex' }}
410
414
  >
411
415
  <Button
412
416
  className="button-left"
@@ -442,10 +446,10 @@ function PreFilterComponent(props: Props) {
442
446
  >
443
447
  {t('Apply')}
444
448
  </Button>
445
- </Box>
449
+ </div>
446
450
  )}
447
451
  {isMobile && (
448
- <Box
452
+ <div
449
453
  className="footer"
450
454
  style={{
451
455
  height: 64,
@@ -454,8 +458,8 @@ function PreFilterComponent(props: Props) {
454
458
  bottom: '0px',
455
459
  left: '0px',
456
460
  width: '100vw',
461
+ display: 'flex',
457
462
  }}
458
- display={'flex'}
459
463
  >
460
464
  <Button
461
465
  className="button-left"
@@ -485,9 +489,9 @@ function PreFilterComponent(props: Props) {
485
489
  >
486
490
  {t('Apply')}
487
491
  </Button>
488
- </Box>
492
+ </div>
489
493
  )}
490
- </Box>
494
+ </div>
491
495
  );
492
496
  }
493
497
  export default PreFilterComponent;