pushfeedback 0.1.65 → 0.1.66
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 +41 -15
- 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 +44 -0
- package/dist/collection/components/feedback-modal/feedback-modal.css +33 -0
- package/dist/collection/components/feedback-modal/feedback-modal.js +67 -14
- package/dist/components/feedback-button.js +10 -0
- package/dist/components/feedback-modal2.js +35 -15
- package/dist/esm/feedback-button_2.entry.js +41 -15
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pushfeedback.js +1 -1
- package/dist/pushfeedback/{p-d671215c.entry.js → p-e6c2f829.entry.js} +2 -2
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/feedback-button/feedback-button.d.ts +2 -0
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +4 -0
- package/dist/types/components.d.ts +8 -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-e6c2f829",[[1,"feedback-button",{buttonPosition:[1,"button-position"],buttonStyle:[1,"button-style"],hideIcon:[4,"hide-icon"],hideMobile:[4,"hide-mobile"],sessionId:[1537,"session-id"],metadata:[1],submit:[4],customFont:[4,"custom-font"],emailAddress:[1,"email-address"],isEmailRequired:[4,"is-email-required"],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"],screenshotAttachedText:[1,"screenshot-attached-text"],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"],isEmailRequired:[4,"is-email-required"],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],metadata:[1],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"],screenshotAttachedText:[1,"screenshot-attached-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)));
|
|
@@ -7,6 +7,7 @@ export declare class FeedbackButton {
|
|
|
7
7
|
hideIcon: boolean;
|
|
8
8
|
hideMobile: boolean;
|
|
9
9
|
sessionId: string;
|
|
10
|
+
metadata: string;
|
|
10
11
|
submit: boolean;
|
|
11
12
|
customFont: boolean;
|
|
12
13
|
emailAddress: string;
|
|
@@ -32,6 +33,7 @@ export declare class FeedbackButton {
|
|
|
32
33
|
privacyPolicyText: string;
|
|
33
34
|
ratingPlaceholder: string;
|
|
34
35
|
ratingStarsPlaceholder: string;
|
|
36
|
+
screenshotAttachedText: string;
|
|
35
37
|
screenshotButtonText: string;
|
|
36
38
|
screenshotTopbarText: string;
|
|
37
39
|
sendButtonText: string;
|
|
@@ -28,6 +28,7 @@ export declare class FeedbackModal {
|
|
|
28
28
|
showScreenshotTopBar: boolean;
|
|
29
29
|
showModal: boolean;
|
|
30
30
|
rating: number;
|
|
31
|
+
metadata: '';
|
|
31
32
|
fetchData: boolean;
|
|
32
33
|
emailPlaceholder: string;
|
|
33
34
|
errorMessage: string;
|
|
@@ -44,6 +45,7 @@ export declare class FeedbackModal {
|
|
|
44
45
|
ratingStarsPlaceholder: string;
|
|
45
46
|
sendButtonText: string;
|
|
46
47
|
screenshotButtonText: string;
|
|
48
|
+
screenshotAttachedText: string;
|
|
47
49
|
screenshotTopbarText: string;
|
|
48
50
|
successMessage: string;
|
|
49
51
|
feedbackSent: EventEmitter<{
|
|
@@ -59,6 +61,8 @@ export declare class FeedbackModal {
|
|
|
59
61
|
leftSide: HTMLElement;
|
|
60
62
|
bottomSide: HTMLElement;
|
|
61
63
|
rightSide: HTMLElement;
|
|
64
|
+
selectedElementBounds: DOMRect;
|
|
65
|
+
originalElement: HTMLElement;
|
|
62
66
|
componentWillLoad(): void;
|
|
63
67
|
fetchProjectData(): Promise<void>;
|
|
64
68
|
onScrollDebounced: () => void;
|
|
@@ -25,6 +25,7 @@ export namespace Components {
|
|
|
25
25
|
"hideScreenshotButton": boolean;
|
|
26
26
|
"isEmailRequired": boolean;
|
|
27
27
|
"messagePlaceholder": string;
|
|
28
|
+
"metadata": string;
|
|
28
29
|
"modalPosition": string;
|
|
29
30
|
"modalTitle": string;
|
|
30
31
|
"modalTitleError": string;
|
|
@@ -35,6 +36,7 @@ export namespace Components {
|
|
|
35
36
|
"ratingMode": string;
|
|
36
37
|
"ratingPlaceholder": string;
|
|
37
38
|
"ratingStarsPlaceholder": string;
|
|
39
|
+
"screenshotAttachedText": string;
|
|
38
40
|
"screenshotButtonText": string;
|
|
39
41
|
"screenshotTopbarText": string;
|
|
40
42
|
"sendButtonText": string;
|
|
@@ -58,6 +60,7 @@ export namespace Components {
|
|
|
58
60
|
"hideScreenshotButton": boolean;
|
|
59
61
|
"isEmailRequired": boolean;
|
|
60
62
|
"messagePlaceholder": string;
|
|
63
|
+
"metadata": '';
|
|
61
64
|
"modalPosition": string;
|
|
62
65
|
"modalTitle": string;
|
|
63
66
|
"modalTitleError": string;
|
|
@@ -69,6 +72,7 @@ export namespace Components {
|
|
|
69
72
|
"ratingMode": string;
|
|
70
73
|
"ratingPlaceholder": string;
|
|
71
74
|
"ratingStarsPlaceholder": string;
|
|
75
|
+
"screenshotAttachedText": string;
|
|
72
76
|
"screenshotButtonText": string;
|
|
73
77
|
"screenshotTopbarText": string;
|
|
74
78
|
"sendButtonText": string;
|
|
@@ -124,6 +128,7 @@ declare namespace LocalJSX {
|
|
|
124
128
|
"hideScreenshotButton"?: boolean;
|
|
125
129
|
"isEmailRequired"?: boolean;
|
|
126
130
|
"messagePlaceholder"?: string;
|
|
131
|
+
"metadata"?: string;
|
|
127
132
|
"modalPosition"?: string;
|
|
128
133
|
"modalTitle"?: string;
|
|
129
134
|
"modalTitleError"?: string;
|
|
@@ -136,6 +141,7 @@ declare namespace LocalJSX {
|
|
|
136
141
|
"ratingMode"?: string;
|
|
137
142
|
"ratingPlaceholder"?: string;
|
|
138
143
|
"ratingStarsPlaceholder"?: string;
|
|
144
|
+
"screenshotAttachedText"?: string;
|
|
139
145
|
"screenshotButtonText"?: string;
|
|
140
146
|
"screenshotTopbarText"?: string;
|
|
141
147
|
"sendButtonText"?: string;
|
|
@@ -159,6 +165,7 @@ declare namespace LocalJSX {
|
|
|
159
165
|
"hideScreenshotButton"?: boolean;
|
|
160
166
|
"isEmailRequired"?: boolean;
|
|
161
167
|
"messagePlaceholder"?: string;
|
|
168
|
+
"metadata"?: '';
|
|
162
169
|
"modalPosition"?: string;
|
|
163
170
|
"modalTitle"?: string;
|
|
164
171
|
"modalTitleError"?: string;
|
|
@@ -171,6 +178,7 @@ declare namespace LocalJSX {
|
|
|
171
178
|
"ratingMode"?: string;
|
|
172
179
|
"ratingPlaceholder"?: string;
|
|
173
180
|
"ratingStarsPlaceholder"?: string;
|
|
181
|
+
"screenshotAttachedText"?: string;
|
|
174
182
|
"screenshotButtonText"?: string;
|
|
175
183
|
"screenshotTopbarText"?: string;
|
|
176
184
|
"sendButtonText"?: string;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "pushfeedback",
|
|
3
3
|
"author": "TechDocs Studio <info@techdocs.studio>",
|
|
4
4
|
"homepage": "https://pushfeedback.com/",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.66",
|
|
6
6
|
"description": "Feedback widget for websites.",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"module": "dist/index.js",
|