@nyris/nyris-webapp 0.3.62 → 0.3.63

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/README.md CHANGED
@@ -1,46 +1,17 @@
1
- # Getting Started with Create React App
1
+ ### To run the project locally add ```setting.js``` file in packages\nyris-webapp\public\js
2
2
 
3
- This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4
3
 
5
4
  ## Available Scripts
6
5
 
7
6
  In the project directory, you can run:
8
7
 
9
- ### `npm start`
8
+ ### `yarn start`
10
9
 
11
10
  Runs the app in the development mode.\
12
11
  Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13
12
 
14
- The page will reload if you make edits.\
15
- You will also see any lint errors in the console.
16
-
17
- ### `npm test`
18
-
19
- Launches the test runner in the interactive watch mode.\
20
- See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
-
22
- ### `npm run build`
13
+ ### `yarn run build`
23
14
 
24
15
  Builds the app for production to the `build` folder.\
25
16
  It correctly bundles React in production mode and optimizes the build for the best performance.
26
17
 
27
- The build is minified and the filenames include the hashes.\
28
- Your app is ready to be deployed!
29
-
30
- See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31
-
32
- ### `npm run eject`
33
-
34
- **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35
-
36
- If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37
-
38
- Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39
-
40
- You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41
-
42
- ## Learn More
43
-
44
- You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
-
46
- To learn React, check out the [React documentation](https://reactjs.org/).
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "/static/css/main.3a42f868.css",
4
- "main.js": "/static/js/main.175f27e1.js",
4
+ "main.js": "/static/js/main.8813b740.js",
5
5
  "static/media/bgDragmobile.svg": "/static/media/bgDragmobile.487091d95d6abb2a2711.svg",
6
6
  "static/media/SourceSans3-Regular.ttf": "/static/media/SourceSans3-Regular.c69f9658f16351f79f33.ttf",
7
7
  "static/media/SourceSans3-SemiBold.ttf": "/static/media/SourceSans3-SemiBold.5ad6683a8a06e3ccea94.ttf",
@@ -48,18 +48,18 @@
48
48
  "static/media/img-1-1.png": "/static/media/img-1-1.130fb8d0203452fee547.png",
49
49
  "static/media/img3-1.png": "/static/media/img3-1.6eb26a22e6ea83629d27.png",
50
50
  "static/media/ic_cam.svg": "/static/media/ic_cam.659852ba686874f710cc.svg",
51
- "index.html": "/index.html",
52
51
  "static/media/experience-visual-icon.svg": "/static/media/experience-visual-icon.41d0f3ebf64076a3b627a748e30596a5.svg",
53
52
  "static/media/sectionTransBack.svg": "/static/media/sectionTransBack.20491b21c659cd29499a.svg",
54
53
  "static/media/ic_shopNowLight.svg": "/static/media/ic_shopNowLight.628bb04870f5af9a524f.svg",
55
54
  "static/media/ic_shopNow.svg": "/static/media/ic_shopNow.71d2c270d716e3774615.svg",
55
+ "index.html": "/index.html",
56
56
  "static/media/ic_close_feedback.svg": "/static/media/ic_close_feedback.f0ab3c1557a131281039.svg",
57
57
  "static/media/sectionTransTop.svg": "/static/media/sectionTransTop.3a1dd8204a4137b92722.svg",
58
58
  "main.3a42f868.css.map": "/static/css/main.3a42f868.css.map",
59
- "main.175f27e1.js.map": "/static/js/main.175f27e1.js.map"
59
+ "main.8813b740.js.map": "/static/js/main.8813b740.js.map"
60
60
  },
61
61
  "entrypoints": [
62
62
  "static/css/main.3a42f868.css",
63
- "static/js/main.175f27e1.js"
63
+ "static/js/main.8813b740.js"
64
64
  ]
65
65
  }
package/build/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,viewport-fit=auto,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" sizes="180x180" href="images/fav2/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="images/fav2/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="images/fav2/favicon-16x16.png"/><link rel="manifest" href="images/fav2/site.webmanifest"/><link rel="mask-icon" href="images/fav2/safari-pinned-tab.svg" color="#5bbad5"/><link rel="shortcut icon" href="images/fav2/favicon.ico"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#ffffff"/><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/><script src="js/settings.js?CI_COMMIT_SHA"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@algolia/autocomplete-theme-classic"/><script type="text/javascript">!function(e,t,a,i){e[a]=e[a]||[],e[a].push({start:(new Date).getTime(),event:"stg.start"});var n=t.getElementsByTagName("script")[0],r=t.createElement("script");var c=(e.location.href.match("stg_debug")||t.cookie.match("stg_debug"))&&!e.location.href.match("stg_disable_debug");!function(e,a,i){var n="";if(i){var r=new Date;r.setTime(r.getTime()+24*i*60*60*1e3),n="; expires="+r.toUTCString(),f="; SameSite=Strict"}t.cookie=e+"="+a+n+f+"; path=/"}("stg_debug",c?1:"",c?14:-1);var s=[];c&&s.push("stg_debug");var o=s.length>0?"?"+s.join("&"):"";r.async=!0,r.src="https://nyris.containers.piwik.pro/ace6a922-26e4-44b2-becf-ac94e9e5ecb4.js"+o,n.parentNode.insertBefore(r,n),function(t,i,n){t[i]=t[i]||{};for(var r=0;r<n.length;r++)!function(n){t[i][n]=t[i][n]||{},t[i][n].api=t[i][n].api||function(){var t=[].slice.call(arguments,0);"string"==typeof t[0]&&e[a].push({event:i+"."+n+":"+t[0],parameters:[].slice.call(arguments,1)})}}(n[r])}(e,"ppms",["tm","cm"])}(window,document,"dataLayer")</script><script>let vh=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${vh}px`)</script><link rel="stylesheet" href="https://assets.nyris.io/nyris-widget/cadenas/8.1.0/api/css/psol.components.min.css"><script type="text/javascript" src="https://assets.nyris.io/nyris-widget/cadenas/8.1.0/api/js/thirdparty.min.js"></script><script type="text/javascript" src="https://assets.nyris.io/nyris-widget/cadenas/8.1.0/api/js/psol.components.min.js"></script><script defer="defer" src="/static/js/main.175f27e1.js"></script><link href="/static/css/main.3a42f868.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,viewport-fit=auto,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" sizes="180x180" href="images/fav2/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="images/fav2/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="images/fav2/favicon-16x16.png"/><link rel="manifest" href="images/fav2/site.webmanifest"/><link rel="mask-icon" href="images/fav2/safari-pinned-tab.svg" color="#5bbad5"/><link rel="shortcut icon" href="images/fav2/favicon.ico"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#ffffff"/><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/><script src="js/settings.js?CI_COMMIT_SHA"></script><script>let vh=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${vh}px`)</script><link rel="stylesheet" href="https://assets.nyris.io/nyris-widget/cadenas/8.1.0/api/css/psol.components.min.css"><script type="text/javascript" src="https://assets.nyris.io/nyris-widget/cadenas/8.1.0/api/js/thirdparty.min.js"></script><script type="text/javascript" src="https://assets.nyris.io/nyris-widget/cadenas/8.1.0/api/js/psol.components.min.js"></script><script defer="defer" src="/static/js/main.8813b740.js"></script><link href="/static/css/main.3a42f868.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -39,19 +39,12 @@ var settings = {
39
39
  logoWidth: '',
40
40
  primaryColor: '',
41
41
  secondaryColor: '',
42
- CTAButtonColor: '',
43
- CTAButtonTextColor: '',
44
- secondaryCTAButtonColor: '',
45
- mainTextColor: '',
46
- brandFieldBackground: '',
47
- brandFieldPadding: '',
48
42
  },
49
43
  // Card Results
50
44
  mainTitle: '',
51
45
  secondaryTitle: '',
46
+ productDetails: 'keyword_1',
52
47
  attributes: {
53
- productAttributes: true,
54
- labelsAttributes: true,
55
48
  attributeOneLabelValue: '',
56
49
  attributeOneValue: '',
57
50
  attributeTwoLabelValue: '',
@@ -67,7 +60,6 @@ var settings = {
67
60
  secondaryCTAButtonTextColor: '',
68
61
  secondaryCTAButtonColor: '',
69
62
  secondaryCTAIcon: '',
70
- secondaryCTAIconSource: '',
71
63
  secondaryCTALinkField: '',
72
64
  },
73
65
  CTAButton: {
@@ -76,13 +68,8 @@ var settings = {
76
68
  CTAButtonTextColor: '',
77
69
  CTAButtonColor: '',
78
70
  CTAIcon: '',
79
- CTAIconSource: '',
80
71
  CTALinkField: '',
81
72
  },
82
- //field mappins
83
- field: {
84
- productDetails: 'keyword_1',
85
- },
86
73
  language: 'en',
87
74
  // features
88
75
  showPoweredByNyris: '',
@@ -90,6 +77,10 @@ var settings = {
90
77
  preFilterOption: '',
91
78
  experienceVisualSearch: false,
92
79
  experienceVisualSearchImages: [],
80
+ simpleCardView: false,
81
+ clarityId: '',
82
+ noSimilarSearch: false,
83
+ showFeedback: false,
93
84
  rfq: {
94
85
  enabled: '',
95
86
  emailTemplateId: '',
@@ -108,14 +99,8 @@ var settings = {
108
99
  },
109
100
  //UI - labels
110
101
  appTitle: '',
111
- brandName: '',
112
102
  headerText: '',
113
103
  preFilterTitle: '',
114
- CTAButtonText: 'View More',
115
- simpleCardView: false,
116
- secondaryCTAButtonText: 'Configure Now',
117
- clarityId: '',
118
- noSimilarSearch: false,
119
104
  };
120
105
  settings['customSearchRequest'] = null;
121
106
  settings['responseHook'] = null;