@nyris/nyris-webapp 0.3.58 → 0.3.59

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 (93) hide show
  1. package/build/asset-manifest.json +15 -16
  2. package/build/index.html +1 -1
  3. package/build/js/settings.example.js +1 -1
  4. package/build/static/css/main.cb6e2cfd.css +4 -0
  5. package/build/static/css/main.cb6e2cfd.css.map +1 -0
  6. package/build/static/js/main.a1e24447.js +3 -0
  7. package/build/static/js/{main.8728b671.js.LICENSE.txt → main.a1e24447.js.LICENSE.txt} +55 -0
  8. package/build/static/js/main.a1e24447.js.map +1 -0
  9. package/build/static/media/camera_simple.bff4194954bbb5f4bc33bd99014a93e8.svg +3 -0
  10. package/build/static/media/collpase.50dae91fff891c46b10dfc281344d0ef.svg +6 -0
  11. package/build/static/media/crop.0676ebbbdc1375ed67e32bba890ce941.svg +3 -0
  12. package/build/static/media/{download.8007f7c72e2080a9ffa96fa63d480dcf.svg → download.a8452bc23334e9f8e53fe1225742d216.svg} +1 -1
  13. package/build/static/media/gallery.15d1f3308921480a8c9d96d9a77c9966.svg +3 -0
  14. package/build/static/media/{logout.b544fcd2969edf431a1e998333119834.svg → logout.bab56bd407f25eb34d6eff401a436ce1.svg} +1 -1
  15. package/build/static/media/next-arrow.b13263d05d107ceb5e99bc4fabb41279.svg +3 -0
  16. package/build/static/media/plus.329672cb2feb55345490589e91481b88.svg +3 -0
  17. package/package.json +8 -5
  18. package/public/index.html +0 -3
  19. package/public/js/settings.example.js +1 -1
  20. package/src/Router.tsx +2 -2
  21. package/src/Store/Store.ts +2 -0
  22. package/src/Store/requestStore.ts +70 -0
  23. package/src/Store/resultStore.ts +25 -0
  24. package/src/Store/search/Search.ts +2 -33
  25. package/src/Store/search/search.initialState.ts +1 -4
  26. package/src/Store/search/types.ts +0 -5
  27. package/src/common/assets/icons/arrow_enter.svg +3 -0
  28. package/src/common/assets/icons/camera_simple.svg +3 -0
  29. package/src/common/assets/icons/collpase.svg +6 -0
  30. package/src/common/assets/icons/crop.svg +3 -0
  31. package/src/common/assets/icons/download.svg +1 -1
  32. package/src/common/assets/icons/gallery.svg +3 -0
  33. package/src/common/assets/icons/logout.svg +1 -1
  34. package/src/common/assets/icons/next-arrow.svg +3 -0
  35. package/src/common/assets/icons/plus.svg +3 -0
  36. package/src/components/CadenasWebViewer.tsx +1 -1
  37. package/src/components/DragDropFile.tsx +17 -77
  38. package/src/components/Experience-visual-search/ExperienceVisualSearch.tsx +47 -71
  39. package/src/components/Feedback.tsx +23 -9
  40. package/src/components/GoBackButton.tsx +15 -18
  41. package/src/components/HeaderMobile.tsx +342 -246
  42. package/src/components/ImageCaptureHelpModal.tsx +63 -65
  43. package/src/components/ImagePreview.tsx +564 -0
  44. package/src/components/Inquiry/InquiryBanner.tsx +1 -1
  45. package/src/components/Inquiry/InquiryModal.tsx +4 -7
  46. package/src/components/Layout.tsx +9 -18
  47. package/src/components/MobileLayout.tsx +51 -0
  48. package/src/components/MobilePostFilter.tsx +9 -3
  49. package/src/components/PanelResult/PostFilterAlgolia.tsx +4 -32
  50. package/src/components/PanelResult/expandable-panel.tsx +3 -16
  51. package/src/components/PanelResult/virtual-state-results.ts +17 -22
  52. package/src/components/SidePanel.tsx +7 -97
  53. package/src/components/UploadDisclaimer.tsx +85 -0
  54. package/src/components/appMobile.scss +2 -2
  55. package/src/components/common.scss +57 -27
  56. package/src/components/drawer/cameraCustom.tsx +389 -231
  57. package/src/components/icon-label/icon-label.tsx +1 -1
  58. package/src/components/input/inputSearch.tsx +197 -338
  59. package/src/components/pre-filter/index.tsx +70 -71
  60. package/src/components/results/ItemResult.tsx +33 -16
  61. package/src/components/rfq/RfqBanner.tsx +1 -4
  62. package/src/components/rfq/RfqModal.tsx +10 -10
  63. package/src/hooks/useFilteredRegions.ts +1 -1
  64. package/src/hooks/useImageSearch.ts +189 -0
  65. package/src/hooks/useSearchOrRedirect.ts +84 -0
  66. package/src/index.css +4 -0
  67. package/src/page/landingPage/Home.tsx +49 -0
  68. package/src/page/landingPage/{AppMD.tsx → HomeDesktop.tsx} +7 -34
  69. package/src/page/landingPage/{AppMobile.tsx → HomeMobile.tsx} +8 -37
  70. package/src/page/landingPage/common.scss +9 -1
  71. package/src/page/result/index.tsx +118 -232
  72. package/src/services/Feedback.ts +4 -5
  73. package/src/services/image.ts +19 -0
  74. package/src/types.ts +9 -8
  75. package/src/utils.ts +44 -0
  76. package/tailwind.config.js +54 -0
  77. package/build/static/css/main.67965609.css +0 -2
  78. package/build/static/css/main.67965609.css.map +0 -1
  79. package/build/static/js/main.8728b671.js +0 -3
  80. package/build/static/js/main.8728b671.js.map +0 -1
  81. package/build/static/media/arrow_down.f417689ce292978a8292a7f00407fdd5.svg +0 -3
  82. package/build/static/media/arrow_left.73d03a534eaf9b99ab196e0fb67da602.svg +0 -3
  83. package/build/static/media/arrow_right.59a4594a3a1657037537dbae1eee0251.svg +0 -3
  84. package/build/static/media/arrow_up.85dbe70bc51ec32c8894a06499330f14.svg +0 -3
  85. package/build/static/media/home.9ffb65a9c0be8fc5a502ba05cf5f719c.svg +0 -3
  86. package/build/static/media/icon_camera_mobile.6772053c4dfef487255649d2a05cc9d4.svg +0 -3
  87. package/build/static/media/reverse_camera.cee0200b151941cc83c182167a85d667.svg +0 -5
  88. package/src/App.tsx +0 -18
  89. package/src/components/AppMobile.tsx +0 -117
  90. package/src/components/FooterMobile.tsx +0 -230
  91. package/src/components/ImagePreviewMobile.tsx +0 -237
  92. /package/build/static/media/{add.2b72cedb98c4c89c954266d2356c166c.svg → add-rounded.2b72cedb98c4c89c954266d2356c166c.svg} +0 -0
  93. /package/src/common/assets/icons/{add.svg → add-rounded.svg} +0 -0
@@ -16,6 +16,16 @@ object-assign
16
16
  http://jedwatson.github.io/classnames
17
17
  */
18
18
 
19
+ /*!
20
+ * Compressor.js v1.2.1
21
+ * https://fengyuanchen.github.io/compressorjs
22
+ *
23
+ * Copyright 2018-present Chen Fengyuan
24
+ * Released under the MIT license
25
+ *
26
+ * Date: 2023-02-28T14:09:41.732Z
27
+ */
28
+
19
29
  /*!
20
30
  * jQuery JavaScript Library v3.7.1
21
31
  * https://jquery.com/
@@ -222,6 +232,26 @@ object-assign
222
232
  * LICENSE file in the root directory of this source tree.
223
233
  */
224
234
 
235
+ /**
236
+ * @license React
237
+ * use-sync-external-store-shim.production.min.js
238
+ *
239
+ * Copyright (c) Facebook, Inc. and its affiliates.
240
+ *
241
+ * This source code is licensed under the MIT license found in the
242
+ * LICENSE file in the root directory of this source tree.
243
+ */
244
+
245
+ /**
246
+ * @license React
247
+ * use-sync-external-store-shim/with-selector.production.min.js
248
+ *
249
+ * Copyright (c) Facebook, Inc. and its affiliates.
250
+ *
251
+ * This source code is licensed under the MIT license found in the
252
+ * LICENSE file in the root directory of this source tree.
253
+ */
254
+
225
255
  /**
226
256
  * @license React
227
257
  * use-sync-external-store-with-selector.production.min.js
@@ -266,3 +296,28 @@ object-assign
266
296
  * This source code is licensed under the MIT license found in the
267
297
  * LICENSE file in the root directory of this source tree.
268
298
  */
299
+
300
+ /**!
301
+ * @fileOverview Kickass library to create and place poppers near their reference elements.
302
+ * @version 1.16.1-lts
303
+ * @license
304
+ * Copyright (c) 2016 Federico Zivolo and contributors
305
+ *
306
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
307
+ * of this software and associated documentation files (the "Software"), to deal
308
+ * in the Software without restriction, including without limitation the rights
309
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
310
+ * copies of the Software, and to permit persons to whom the Software is
311
+ * furnished to do so, subject to the following conditions:
312
+ *
313
+ * The above copyright notice and this permission notice shall be included in all
314
+ * copies or substantial portions of the Software.
315
+ *
316
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
317
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
318
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
319
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
320
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
321
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
322
+ * SOFTWARE.
323
+ */