pushfeedback 0.1.63 → 0.1.64
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/dist/cjs/feedback-button_2.cjs.entry.js +101 -94
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pushfeedback.cjs.js +1 -1
- package/dist/collection/components/feedback-button/feedback-button.js +212 -212
- package/dist/collection/components/feedback-modal/feedback-modal.js +212 -206
- package/dist/components/feedback-button.js +74 -74
- package/dist/components/feedback-modal2.js +73 -66
- package/dist/esm/feedback-button_2.entry.js +101 -94
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pushfeedback.js +1 -1
- package/dist/pushfeedback/{p-90a99a78.entry.js → p-1c7756d1.entry.js} +2 -2
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/feedback-button/feedback-button.d.ts +24 -24
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +22 -22
- package/package.json +11 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-af2a1f7f.js";export{s as setNonce}from"./p-af2a1f7f.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-
|
|
1
|
+
import{p as e,b as t}from"./p-af2a1f7f.js";export{s as setNonce}from"./p-af2a1f7f.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-1c7756d1",[[1,"feedback-button",{buttonPosition:[1,"button-position"],buttonStyle:[1,"button-style"],hideIcon:[4,"hide-icon"],hideMobile:[4,"hide-mobile"],sessionId:[1537,"session-id"],submit:[4],customFont:[4,"custom-font"],emailAddress:[1,"email-address"],fetchData:[4,"fetch-data"],hideEmail:[4,"hide-email"],hidePrivacyPolicy:[4,"hide-privacy-policy"],hideRating:[4,"hide-rating"],hideScreenshotButton:[4,"hide-screenshot-button"],modalPosition:[1,"modal-position"],project:[1],rating:[2],ratingMode:[1,"rating-mode"],emailPlaceholder:[1,"email-placeholder"],errorMessage:[1,"error-message"],errorMessage403:[1,"error-message-4-0-3"],errorMessage404:[1,"error-message-4-0-4"],footerText:[1,"footer-text"],messagePlaceholder:[1,"message-placeholder"],modalTitle:[1,"modal-title"],modalTitleError:[1,"modal-title-error"],modalTitleSuccess:[1,"modal-title-success"],privacyPolicyText:[1,"privacy-policy-text"],ratingPlaceholder:[1,"rating-placeholder"],ratingStarsPlaceholder:[1,"rating-stars-placeholder"],screenshotButtonText:[1,"screenshot-button-text"],screenshotTopbarText:[1,"screenshot-topbar-text"],sendButtonText:[1,"send-button-text"],successMessage:[1,"success-message"]}],[1,"feedback-modal",{customFont:[4,"custom-font"],emailAddress:[1,"email-address"],hideEmail:[4,"hide-email"],ratingMode:[1,"rating-mode"],hasSelectedElement:[1540,"has-selected-element"],hidePrivacyPolicy:[4,"hide-privacy-policy"],hideRating:[4,"hide-rating"],hideScreenshotButton:[4,"hide-screenshot-button"],project:[1],showScreenshotMode:[1540,"show-screenshot-mode"],showScreenshotTopBar:[1540,"show-screenshot-top-bar"],showModal:[1540,"show-modal"],rating:[2],fetchData:[4,"fetch-data"],emailPlaceholder:[1,"email-placeholder"],errorMessage:[1,"error-message"],errorMessage403:[1,"error-message-4-0-3"],errorMessage404:[1,"error-message-4-0-4"],messagePlaceholder:[1,"message-placeholder"],footerText:[1,"footer-text"],modalPosition:[1,"modal-position"],modalTitle:[1,"modal-title"],modalTitleError:[1,"modal-title-error"],modalTitleSuccess:[1,"modal-title-success"],privacyPolicyText:[1,"privacy-policy-text"],ratingPlaceholder:[1,"rating-placeholder"],ratingStarsPlaceholder:[1,"rating-stars-placeholder"],sendButtonText:[1,"send-button-text"],screenshotButtonText:[1,"screenshot-button-text"],screenshotTopbarText:[1,"screenshot-topbar-text"],successMessage:[1,"success-message"],sending:[32],formMessage:[32],formEmail:[32],formSuccess:[32],formVerification:[32],formError:[32],formErrorStatus:[32],encodedScreenshot:[32],isPrivacyChecked:[32],whitelabel:[32],selectedRating:[32],overlayVisible:[32],isAnimating:[32],openModal:[64]}]]]],e)));
|
|
@@ -2,39 +2,39 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
export declare class FeedbackButton {
|
|
3
3
|
feedbackModal: any;
|
|
4
4
|
el: HTMLElement;
|
|
5
|
+
buttonPosition: string;
|
|
6
|
+
buttonStyle: string;
|
|
7
|
+
hideIcon: boolean;
|
|
8
|
+
hideMobile: boolean;
|
|
5
9
|
sessionId: string;
|
|
10
|
+
submit: boolean;
|
|
6
11
|
customFont: boolean;
|
|
12
|
+
emailAddress: string;
|
|
13
|
+
fetchData: boolean;
|
|
14
|
+
hideEmail: boolean;
|
|
15
|
+
hidePrivacyPolicy: boolean;
|
|
16
|
+
hideRating: boolean;
|
|
17
|
+
hideScreenshotButton: boolean;
|
|
18
|
+
modalPosition: string;
|
|
19
|
+
project: string;
|
|
20
|
+
rating: number;
|
|
21
|
+
ratingMode: string;
|
|
22
|
+
emailPlaceholder: string;
|
|
7
23
|
errorMessage: string;
|
|
8
24
|
errorMessage403: string;
|
|
9
25
|
errorMessage404: string;
|
|
26
|
+
footerText: string;
|
|
27
|
+
messagePlaceholder: string;
|
|
10
28
|
modalTitle: string;
|
|
11
|
-
modalTitleSuccess: string;
|
|
12
29
|
modalTitleError: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
successMessage: string;
|
|
16
|
-
project: string;
|
|
17
|
-
screenshotButtonText: string;
|
|
18
|
-
screenshotTopbarText: string;
|
|
19
|
-
hideEmail: boolean;
|
|
20
|
-
emailAddress: string;
|
|
21
|
-
emailPlaceholder: string;
|
|
22
|
-
messagePlaceholder: string;
|
|
23
|
-
hideRating: boolean;
|
|
24
|
-
rating: number;
|
|
25
|
-
ratingMode: string;
|
|
30
|
+
modalTitleSuccess: string;
|
|
31
|
+
privacyPolicyText: string;
|
|
26
32
|
ratingPlaceholder: string;
|
|
27
33
|
ratingStarsPlaceholder: string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
hideScreenshotButton: boolean;
|
|
33
|
-
hidePrivacyPolicy: boolean;
|
|
34
|
-
hideMobile: boolean;
|
|
35
|
-
privacyPolicyText: string;
|
|
36
|
-
fetchData: boolean;
|
|
37
|
-
submit: boolean;
|
|
34
|
+
screenshotButtonText: string;
|
|
35
|
+
screenshotTopbarText: string;
|
|
36
|
+
sendButtonText: string;
|
|
37
|
+
successMessage: string;
|
|
38
38
|
feedbackSent: EventEmitter<{
|
|
39
39
|
feedback: any;
|
|
40
40
|
}>;
|
|
@@ -15,36 +15,36 @@ export declare class FeedbackModal {
|
|
|
15
15
|
overlayVisible: boolean;
|
|
16
16
|
isAnimating: boolean;
|
|
17
17
|
customFont: boolean;
|
|
18
|
+
emailAddress: string;
|
|
19
|
+
hideEmail: boolean;
|
|
20
|
+
ratingMode: string;
|
|
21
|
+
hasSelectedElement: boolean;
|
|
22
|
+
hidePrivacyPolicy: boolean;
|
|
23
|
+
hideRating: boolean;
|
|
24
|
+
hideScreenshotButton: boolean;
|
|
25
|
+
project: string;
|
|
26
|
+
showScreenshotMode: boolean;
|
|
27
|
+
showScreenshotTopBar: boolean;
|
|
28
|
+
showModal: boolean;
|
|
29
|
+
rating: number;
|
|
30
|
+
fetchData: boolean;
|
|
31
|
+
emailPlaceholder: string;
|
|
18
32
|
errorMessage: string;
|
|
19
33
|
errorMessage403: string;
|
|
20
34
|
errorMessage404: string;
|
|
35
|
+
messagePlaceholder: string;
|
|
36
|
+
footerText: string;
|
|
37
|
+
modalPosition: string;
|
|
21
38
|
modalTitle: string;
|
|
22
|
-
modalTitleSuccess: string;
|
|
23
39
|
modalTitleError: string;
|
|
24
|
-
|
|
40
|
+
modalTitleSuccess: string;
|
|
41
|
+
privacyPolicyText: string;
|
|
42
|
+
ratingPlaceholder: string;
|
|
43
|
+
ratingStarsPlaceholder: string;
|
|
25
44
|
sendButtonText: string;
|
|
26
|
-
successMessage: string;
|
|
27
|
-
project: string;
|
|
28
45
|
screenshotButtonText: string;
|
|
29
46
|
screenshotTopbarText: string;
|
|
30
|
-
|
|
31
|
-
emailAddress: string;
|
|
32
|
-
emailPlaceholder: string;
|
|
33
|
-
messagePlaceholder: string;
|
|
34
|
-
hideRating: boolean;
|
|
35
|
-
rating: number;
|
|
36
|
-
ratingMode: string;
|
|
37
|
-
ratingPlaceholder: string;
|
|
38
|
-
ratingStarsPlaceholder: string;
|
|
39
|
-
footerText: string;
|
|
40
|
-
showModal: boolean;
|
|
41
|
-
showScreenshotMode: boolean;
|
|
42
|
-
showScreenshotTopBar: boolean;
|
|
43
|
-
hasSelectedElement: boolean;
|
|
44
|
-
hideScreenshotButton: boolean;
|
|
45
|
-
hidePrivacyPolicy: boolean;
|
|
46
|
-
privacyPolicyText: string;
|
|
47
|
-
fetchData: boolean;
|
|
47
|
+
successMessage: string;
|
|
48
48
|
feedbackSent: EventEmitter<{
|
|
49
49
|
feedback: any;
|
|
50
50
|
}>;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushfeedback",
|
|
3
|
-
"author": "TechDocs Studio <
|
|
3
|
+
"author": "TechDocs Studio <info@techdocs.studio>",
|
|
4
4
|
"homepage": "https://pushfeedback.com/",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.64",
|
|
6
6
|
"description": "Feedback widget for websites.",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
"start": "stencil build --dev --watch --serve",
|
|
26
26
|
"test": "stencil test --spec --e2e",
|
|
27
27
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
28
|
-
"generate": "stencil generate"
|
|
28
|
+
"generate": "stencil generate",
|
|
29
|
+
"lint": "eslint . --ext .ts,.tsx",
|
|
30
|
+
"lint:fix": "eslint . --ext .ts,.tsx --fix"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
33
|
"@stencil/core": "^2.13.0",
|
|
@@ -34,6 +36,12 @@
|
|
|
34
36
|
"devDependencies": {
|
|
35
37
|
"@stencil/react-output-target": "^0.5.3",
|
|
36
38
|
"@types/jest": "^27.0.3",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
40
|
+
"@typescript-eslint/parser": "^5.59.0",
|
|
41
|
+
"eslint": "^8.38.0",
|
|
42
|
+
"eslint-config-prettier": "^8.8.0",
|
|
43
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
44
|
+
"prettier": "^2.8.7",
|
|
37
45
|
"jest": "^27.4.5",
|
|
38
46
|
"jest-cli": "^27.4.5",
|
|
39
47
|
"puppeteer": "^10.0.0"
|