@fullsession.io/fs-feedback-widget 1.5.7 → 1.5.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullsession.io/fs-feedback-widget",
3
- "version": "1.5.7",
3
+ "version": "1.5.9",
4
4
  "scripts": {
5
5
  "build": "rollup -c",
6
6
  "dev": "rollup -c -w",
package/src/App.svelte CHANGED
@@ -3,7 +3,6 @@
3
3
  import ReactionPage from "./widgetPages/reactionPage.svelte";
4
4
  export let feedback;
5
5
  export let widgetPosition;
6
- console.log(feedback);
7
6
  import { fly } from "svelte/transition";
8
7
  import "../src/widgetPages/App.css";
9
8
  $: widgetColor = feedback.wgAccentColor;
@@ -55,7 +54,6 @@
55
54
  "--positionState",
56
55
  positionState
57
56
  );
58
- console.log(positionState,"stateWidget")
59
57
  if (Number(feedback.wgPosition) == 0) {
60
58
  wgPositionHorizintal = "center";
61
59
  wgPositionVertical = "row-reverse";
@@ -137,7 +135,6 @@
137
135
  detail: widgetResponse,
138
136
  });
139
137
  window.dispatchEvent(event);
140
- console.log(widgetResponse);
141
138
  openThanksMessage();
142
139
  };
143
140
 
package/src/main.js CHANGED
@@ -13,7 +13,6 @@ export function feedbackCreator(response,htmlElement) {
13
13
  view = htmlElement;
14
14
  position = 'absolute';
15
15
  }
16
- console.log(view)
17
16
  new App({
18
17
  target: view,
19
18
  props: {
@@ -23,35 +22,35 @@ export function feedbackCreator(response,htmlElement) {
23
22
  });
24
23
  }
25
24
 
26
- let widget ={id: 1,
27
- wgStatus: 1,
28
- wgName: "ask",
29
- wgDescription: "test",
30
- wgCrtDt: "2021-12-05 10:49:14",
31
- wgResponses: null,
32
- wgUpdTime: null,
33
- SiteId: 98,
34
- UserId: 262,
35
- wgLanguage: "en",
36
- wgPosition: "0",
37
- wgAccentColor: "#51797b",
38
- wgAlternateColor: true,
39
- wgQuestion: "How would you rate your experience?" ,
40
- wgUserScreenshot: 1,
41
- wgEmailReqMsg: "We may wish to follow up. Enter your email if you're happy for us to contact you." ,
42
- wgEmailReqActivation: 1,
43
- wgAdditionalMsg: "Heads up! This is for feedback only. Need help? Contact us via our [link to Help Center].",
44
- wgAdditionalMsgActivation: 1,
45
- wgThanksMsg: "Thank you for sharing your feedback with us",
46
- wgThanksMsgActivation: 1,
47
- wgDesktop: 1,
48
- wgPhone: 1,
49
- wgTablet:1,
50
- wgPages: [{"id":0,"name":"*"}],
51
- wgWidgetToUsers: 0,
52
- wgPercentage:100,
53
- wgEmail: "abd@gmail.com",
54
- wgWidgetToAllPages: 1,
55
- wgReactionStyle: 0,
56
- wgResponseViaEmail: 1}
57
- feedbackCreator(widget,null);
25
+ // let widget ={id: 1,
26
+ // wgStatus: 1,
27
+ // wgName: "ask",
28
+ // wgDescription: "test",
29
+ // wgCrtDt: "2021-12-05 10:49:14",
30
+ // wgResponses: null,
31
+ // wgUpdTime: null,
32
+ // SiteId: 98,
33
+ // UserId: 262,
34
+ // wgLanguage: "en",
35
+ // wgPosition: "0",
36
+ // wgAccentColor: "#51797b",
37
+ // wgAlternateColor: true,
38
+ // wgQuestion: "How would you rate your experience?" ,
39
+ // wgUserScreenshot: 1,
40
+ // wgEmailReqMsg: "We may wish to follow up. Enter your email if you're happy for us to contact you." ,
41
+ // wgEmailReqActivation: 1,
42
+ // wgAdditionalMsg: "Heads up! This is for feedback only. Need help? Contact us via our [link to Help Center].",
43
+ // wgAdditionalMsgActivation: 1,
44
+ // wgThanksMsg: "Thank you for sharing your feedback with us",
45
+ // wgThanksMsgActivation: 1,
46
+ // wgDesktop: 1,
47
+ // wgPhone: 1,
48
+ // wgTablet:1,
49
+ // wgPages: [{"id":0,"name":"*"}],
50
+ // wgWidgetToUsers: 0,
51
+ // wgPercentage:100,
52
+ // wgEmail: "abd@gmail.com",
53
+ // wgWidgetToAllPages: 1,
54
+ // wgReactionStyle: 0,
55
+ // wgResponseViaEmail: 1}
56
+ // feedbackCreator(widget,null);
@@ -3,7 +3,6 @@
3
3
  import Icons from "../Icons/reactionIcons.svelte";
4
4
  import "../widgetPages/reactionpage.css"
5
5
  export let feedbackData;
6
- console.log("hiiih")
7
6
  $: widgetComponent = 1;
8
7
  let reactionNames = ["hate","dislike","neutral","like","love"];
9
8
  let changingReactionNames = reactionNames;
@@ -56,7 +55,6 @@
56
55
  }
57
56
  comment = "";
58
57
  comment = input.value;
59
- console.log(input.value)
60
58
  }
61
59
 
62
60
  // const EmailButtonDisable = () =>{
@@ -103,7 +101,6 @@
103
101
  const openComment = (state,rating,name) => {
104
102
  let prevName = reactionName
105
103
  reactionName = name
106
- console.log(name)
107
104
 
108
105
  widgetComponent = state;
109
106
  reactionType = String(rating);
@@ -152,7 +149,6 @@
152
149
  }
153
150
 
154
151
  const endEmailInterval =()=> {
155
- console.log("444")
156
152
  clearInterval(checkEmailAreaInterval);
157
153
  document.querySelector("#fsEmailTextArea").value="";
158
154