pushfeedback 0.1.54 → 0.1.55
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 +51 -4
- 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 +84 -2
- package/dist/collection/components/feedback-modal/feedback-modal.css +2 -1
- package/dist/collection/components/feedback-modal/feedback-modal.js +20 -1
- package/dist/components/feedback-button.js +51 -3
- package/dist/components/feedback-modal2.js +4 -2
- package/dist/esm/feedback-button_2.entry.js +51 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pushfeedback.js +1 -1
- package/dist/pushfeedback/{p-41eb03ff.entry.js → p-366db9ef.entry.js} +2 -2
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/feedback-button/feedback-button.d.ts +3 -0
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +1 -0
- package/dist/types/components.d.ts +6 -0
- package/package.json +1 -1
|
@@ -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-366db9ef",[[1,"feedback-button",{sessionId:[1537,"session-id"],customFont:[4,"custom-font"],errorMessage:[1,"error-message"],errorMessage403:[1,"error-message-4-0-3"],errorMessage404:[1,"error-message-4-0-4"],modalTitle:[1,"modal-title"],modalTitleSuccess:[1,"modal-title-success"],modalTitleError:[1,"modal-title-error"],modalPosition:[1,"modal-position"],sendButtonText:[1,"send-button-text"],successMessage:[1,"success-message"],project:[1],screenshotButtonText:[1,"screenshot-button-text"],screenshotTopbarText:[1,"screenshot-topbar-text"],hideEmail:[4,"hide-email"],emailAddress:[1,"email-address"],emailPlaceholder:[1,"email-placeholder"],messagePlaceholder:[1,"message-placeholder"],hideRating:[4,"hide-rating"],rating:[2],ratingMode:[1,"rating-mode"],ratingPlaceholder:[1,"rating-placeholder"],ratingStarsPlaceholder:[1,"rating-stars-placeholder"],footerText:[1,"footer-text"],buttonStyle:[1,"button-style"],buttonPosition:[1,"button-position"],hideIcon:[4,"hide-icon"],hideScreenshotButton:[4,"hide-screenshot-button"],hidePrivacyPolicy:[4,"hide-privacy-policy"],privacyPolicyText:[1,"privacy-policy-text"],fetchData:[4,"fetch-data"],submit:[4]}],[1,"feedback-modal",{customFont:[4,"custom-font"],errorMessage:[1,"error-message"],errorMessage403:[1,"error-message-4-0-3"],errorMessage404:[1,"error-message-4-0-4"],modalTitle:[1,"modal-title"],modalTitleSuccess:[1,"modal-title-success"],modalTitleError:[1,"modal-title-error"],modalPosition:[1,"modal-position"],sendButtonText:[1,"send-button-text"],successMessage:[1,"success-message"],project:[1],screenshotButtonText:[1,"screenshot-button-text"],screenshotTopbarText:[1,"screenshot-topbar-text"],hideEmail:[4,"hide-email"],emailAddress:[1,"email-address"],emailPlaceholder:[1,"email-placeholder"],messagePlaceholder:[1,"message-placeholder"],hideRating:[4,"hide-rating"],rating:[2],ratingMode:[1,"rating-mode"],ratingPlaceholder:[1,"rating-placeholder"],ratingStarsPlaceholder:[1,"rating-stars-placeholder"],footerText:[1,"footer-text"],showModal:[1540,"show-modal"],showScreenshotMode:[1540,"show-screenshot-mode"],showScreenshotTopBar:[1540,"show-screenshot-top-bar"],hasSelectedElement:[1540,"has-selected-element"],hideScreenshotButton:[4,"hide-screenshot-button"],hidePrivacyPolicy:[4,"hide-privacy-policy"],privacyPolicyText:[1,"privacy-policy-text"],fetchData:[4,"fetch-data"],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)));
|
|
@@ -24,6 +24,7 @@ export declare class FeedbackButton {
|
|
|
24
24
|
ratingMode: string;
|
|
25
25
|
ratingPlaceholder: string;
|
|
26
26
|
ratingStarsPlaceholder: string;
|
|
27
|
+
footerText: string;
|
|
27
28
|
buttonStyle: string;
|
|
28
29
|
buttonPosition: string;
|
|
29
30
|
hideIcon: boolean;
|
|
@@ -31,6 +32,7 @@ export declare class FeedbackButton {
|
|
|
31
32
|
hidePrivacyPolicy: boolean;
|
|
32
33
|
privacyPolicyText: string;
|
|
33
34
|
fetchData: boolean;
|
|
35
|
+
submit: boolean;
|
|
34
36
|
componentWillLoad(): void;
|
|
35
37
|
componentDidLoad(): void;
|
|
36
38
|
connectedCallback(): void;
|
|
@@ -39,5 +41,6 @@ export declare class FeedbackButton {
|
|
|
39
41
|
isSafariBrowser(): boolean;
|
|
40
42
|
loadInterFont(): void;
|
|
41
43
|
showModal(): void;
|
|
44
|
+
submitRatingFeedback(): Promise<void>;
|
|
42
45
|
render(): any;
|
|
43
46
|
}
|
|
@@ -16,6 +16,7 @@ export namespace Components {
|
|
|
16
16
|
"errorMessage403": string;
|
|
17
17
|
"errorMessage404": string;
|
|
18
18
|
"fetchData": boolean;
|
|
19
|
+
"footerText": string;
|
|
19
20
|
"hideEmail": boolean;
|
|
20
21
|
"hideIcon": boolean;
|
|
21
22
|
"hidePrivacyPolicy": boolean;
|
|
@@ -36,6 +37,7 @@ export namespace Components {
|
|
|
36
37
|
"screenshotTopbarText": string;
|
|
37
38
|
"sendButtonText": string;
|
|
38
39
|
"sessionId": string;
|
|
40
|
+
"submit": boolean;
|
|
39
41
|
"successMessage": string;
|
|
40
42
|
}
|
|
41
43
|
interface FeedbackModal {
|
|
@@ -46,6 +48,7 @@ export namespace Components {
|
|
|
46
48
|
"errorMessage403": string;
|
|
47
49
|
"errorMessage404": string;
|
|
48
50
|
"fetchData": boolean;
|
|
51
|
+
"footerText": string;
|
|
49
52
|
"hasSelectedElement": boolean;
|
|
50
53
|
"hideEmail": boolean;
|
|
51
54
|
"hidePrivacyPolicy": boolean;
|
|
@@ -105,6 +108,7 @@ declare namespace LocalJSX {
|
|
|
105
108
|
"errorMessage403"?: string;
|
|
106
109
|
"errorMessage404"?: string;
|
|
107
110
|
"fetchData"?: boolean;
|
|
111
|
+
"footerText"?: string;
|
|
108
112
|
"hideEmail"?: boolean;
|
|
109
113
|
"hideIcon"?: boolean;
|
|
110
114
|
"hidePrivacyPolicy"?: boolean;
|
|
@@ -125,6 +129,7 @@ declare namespace LocalJSX {
|
|
|
125
129
|
"screenshotTopbarText"?: string;
|
|
126
130
|
"sendButtonText"?: string;
|
|
127
131
|
"sessionId"?: string;
|
|
132
|
+
"submit"?: boolean;
|
|
128
133
|
"successMessage"?: string;
|
|
129
134
|
}
|
|
130
135
|
interface FeedbackModal {
|
|
@@ -135,6 +140,7 @@ declare namespace LocalJSX {
|
|
|
135
140
|
"errorMessage403"?: string;
|
|
136
141
|
"errorMessage404"?: string;
|
|
137
142
|
"fetchData"?: boolean;
|
|
143
|
+
"footerText"?: string;
|
|
138
144
|
"hasSelectedElement"?: boolean;
|
|
139
145
|
"hideEmail"?: boolean;
|
|
140
146
|
"hidePrivacyPolicy"?: boolean;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "pushfeedback",
|
|
3
3
|
"author": "TechDocs Studio <hi@techdocs.studio>",
|
|
4
4
|
"homepage": "https://pushfeedback.com/",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.55",
|
|
6
6
|
"description": "Feedback widget for websites.",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"module": "dist/index.js",
|