@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,2 +0,0 @@
1
- !function(e){function r(r){for(var n,i,p=r[0],l=r[1],a=r[2],c=0,s=[];c<p.length;c++)i=p[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,p=1;p<t.length;p++){var l=t[p];0!==o[l]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="./";var p=this["webpackJsonp@nyris/nyris-webapp"]=this["webpackJsonp@nyris/nyris-webapp"]||[],l=p.push.bind(p);p.push=r,p=p.slice();for(var a=0;a<p.length;a++)r(p[a]);var f=l;t()}([]);
2
- //# sourceMappingURL=runtime-main.1ff80965.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"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","file":"static/js/runtime-main.1ff80965.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \tvar jsonpArray = this[\"webpackJsonp@nyris/nyris-webapp\"] = this[\"webpackJsonp@nyris/nyris-webapp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
@@ -1,135 +0,0 @@
1
- import React from 'react';
2
- import { usePagination, UsePaginationProps } from 'react-instantsearch-hooks';
3
- import { cx } from './cx';
4
- import { isModifierClick } from './isModifierClick';
5
-
6
- export type PaginationProps = React.ComponentProps<'div'> & UsePaginationProps;
7
-
8
- export function PaginationComponent(props: PaginationProps) {
9
- const {
10
- refine,
11
- createURL,
12
- pages,
13
- currentRefinement,
14
- isFirstPage,
15
- isLastPage,
16
- nbPages,
17
- canRefine,
18
- } = usePagination(props);
19
-
20
- return (
21
- <div
22
- className={cx(
23
- 'ais-Pagination',
24
- canRefine === false && 'ais-Pagination--noRefinement',
25
- props.className
26
- )}
27
- >
28
- <ul className="ais-Pagination-list">
29
- <PaginationItem
30
- aria-label="First"
31
- value={0}
32
- isDisabled={isFirstPage}
33
- createURL={createURL}
34
- refine={refine}
35
- className={cx(
36
- 'ais-Pagination-item',
37
- 'ais-Pagination-item--firstPage'
38
- )}
39
- >
40
- ‹‹
41
- </PaginationItem>
42
-
43
- <PaginationItem
44
- aria-label="Previous"
45
- value={currentRefinement - 1}
46
- isDisabled={isFirstPage}
47
- createURL={createURL}
48
- refine={refine}
49
- className={cx(
50
- 'ais-Pagination-item',
51
- 'ais-Pagination-item--previousPage'
52
- )}
53
- >
54
-
55
- </PaginationItem>
56
-
57
- {pages.map((page) => (
58
- <PaginationItem
59
- key={page}
60
- aria-label={String(page)}
61
- value={page}
62
- isDisabled={false}
63
- createURL={createURL}
64
- refine={refine}
65
- className={cx(
66
- 'ais-Pagination-item',
67
- page === currentRefinement && 'ais-Pagination-item--selected'
68
- )}
69
- >
70
- {page + 1}
71
- </PaginationItem>
72
- ))}
73
-
74
- <PaginationItem
75
- aria-label="Next"
76
- value={currentRefinement + 1}
77
- isDisabled={isLastPage}
78
- createURL={createURL}
79
- refine={refine}
80
- className={cx('ais-Pagination-item', 'ais-Pagination-item--nextPage')}
81
- >
82
-
83
- </PaginationItem>
84
-
85
- <PaginationItem
86
- aria-label="Last"
87
- value={nbPages - 1}
88
- isDisabled={isLastPage}
89
- createURL={createURL}
90
- refine={refine}
91
- className={cx('ais-Pagination-item', 'ais-Pagination-item--lastPage')}
92
- >
93
- ››
94
- </PaginationItem>
95
- </ul>
96
- </div>
97
- );
98
- }
99
-
100
- type PaginationItemProps = React.ComponentProps<'a'> &
101
- Pick<ReturnType<typeof usePagination>, 'refine' | 'createURL'> & {
102
- isDisabled: boolean;
103
- value: number;
104
- };
105
-
106
- function PaginationItem(props: PaginationItemProps) {
107
- const { isDisabled, className, href, value, createURL, refine, ...rest } =
108
- props;
109
-
110
- if (isDisabled) {
111
- return (
112
- <li className={cx(className, 'ais-Pagination-item--disabled')}>
113
- <span className="ais-Pagination-link" {...rest} />
114
- </li>
115
- );
116
- }
117
-
118
- return (
119
- <li className={className}>
120
- <a
121
- className="ais-Pagination-link"
122
- href={createURL(value)}
123
- onClick={(event) => {
124
- if (isModifierClick(event)) {
125
- return;
126
- }
127
-
128
- event.preventDefault();
129
- refine(value);
130
- }}
131
- {...rest}
132
- />
133
- </li>
134
- );
135
- }
File without changes
File without changes
@@ -1,143 +0,0 @@
1
- // This optional code is used to register a service worker.
2
- // register() is not called by default.
3
-
4
- // This lets the app load faster on subsequent visits in production, and gives
5
- // it offline capabilities. However, it also means that developers (and users)
6
- // will only see deployed updates on subsequent visits to a page, after all the
7
- // existing tabs open on the page have been closed, since previously cached
8
- // resources are updated in the background.
9
-
10
- // To learn more about the benefits of this model and instructions on how to
11
- // opt-in, read https://bit.ly/CRA-PWA
12
-
13
- const isLocalhost = Boolean(
14
- window.location.hostname === 'localhost' ||
15
- // [::1] is the IPv6 localhost address.
16
- window.location.hostname === '[::1]' ||
17
- // 127.0.0.1/8 is considered localhost for IPv4.
18
- window.location.hostname.match(
19
- /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
20
- )
21
- );
22
-
23
- type Config = {
24
- onSuccess?: (registration: ServiceWorkerRegistration) => void;
25
- onUpdate?: (registration: ServiceWorkerRegistration) => void;
26
- };
27
-
28
- export function register(config?: Config) {
29
- if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
30
- // The URL constructor is available in all browsers that support SW.
31
- const publicUrl = new URL(
32
- (process as { env: { [key: string]: string } }).env.PUBLIC_URL,
33
- window.location.href
34
- );
35
- if (publicUrl.origin !== window.location.origin) {
36
- // Our service worker won't work if PUBLIC_URL is on a different origin
37
- // from what our page is served on. This might happen if a CDN is used to
38
- // serve assets; see https://github.com/facebook/create-react-app/issues/2374
39
- return;
40
- }
41
-
42
- window.addEventListener('load', () => {
43
- const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;
44
-
45
- if (isLocalhost) {
46
- // This is running on localhost. Let's check if a service worker still exists or not.
47
- checkValidServiceWorker(swUrl, config);
48
-
49
- // Add some additional logging to localhost, pointing developers to the
50
- // service worker/PWA documentation.
51
- navigator.serviceWorker.ready.then(() => {
52
- console.log(
53
- 'This web app is being served cache-first by a service ' +
54
- 'worker. To learn more, visit https://bit.ly/CRA-PWA'
55
- );
56
- });
57
- } else {
58
- // Is not localhost. Just register service worker
59
- registerValidSW(swUrl, config);
60
- }
61
- });
62
- }
63
- }
64
-
65
- function registerValidSW(swUrl: string, config?: Config) {
66
- navigator.serviceWorker
67
- .register(swUrl)
68
- .then(registration => {
69
- registration.onupdatefound = () => {
70
- const installingWorker = registration.installing;
71
- if (installingWorker == null) {
72
- return;
73
- }
74
- installingWorker.onstatechange = () => {
75
- if (installingWorker.state === 'installed') {
76
- if (navigator.serviceWorker.controller) {
77
- // At this point, the updated precached content has been fetched,
78
- // but the previous service worker will still serve the older
79
- // content until all client tabs are closed.
80
- console.log(
81
- 'New content is available and will be used when all ' +
82
- 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'
83
- );
84
-
85
- // Execute callback
86
- if (config && config.onUpdate) {
87
- config.onUpdate(registration);
88
- }
89
- } else {
90
- // At this point, everything has been precached.
91
- // It's the perfect time to display a
92
- // "Content is cached for offline use." message.
93
- console.log('Content is cached for offline use.');
94
-
95
- // Execute callback
96
- if (config && config.onSuccess) {
97
- config.onSuccess(registration);
98
- }
99
- }
100
- }
101
- };
102
- };
103
- })
104
- .catch(error => {
105
- console.error('Error during service worker registration:', error);
106
- });
107
- }
108
-
109
- function checkValidServiceWorker(swUrl: string, config?: Config) {
110
- // Check if the service worker can be found. If it can't reload the page.
111
- fetch(swUrl)
112
- .then(response => {
113
- // Ensure service worker exists, and that we really are getting a JS file.
114
- const contentType = response.headers.get('content-type');
115
- if (
116
- response.status === 404 ||
117
- (contentType != null && contentType.indexOf('javascript') === -1)
118
- ) {
119
- // No service worker found. Probably a different app. Reload the page.
120
- navigator.serviceWorker.ready.then(registration => {
121
- registration.unregister().then(() => {
122
- window.location.reload();
123
- });
124
- });
125
- } else {
126
- // Service worker found. Proceed as normal.
127
- registerValidSW(swUrl, config);
128
- }
129
- })
130
- .catch(() => {
131
- console.log(
132
- 'No internet connection found. App is running in offline mode.'
133
- );
134
- });
135
- }
136
-
137
- export function unregister() {
138
- if ('serviceWorker' in navigator) {
139
- navigator.serviceWorker.ready.then(registration => {
140
- registration.unregister();
141
- });
142
- }
143
- }