pushfeedback 0.1.41 → 0.1.43
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 +28 -28
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/pushfeedback.cjs.js +2 -2
- package/dist/collection/components/feedback-button/feedback-button.js +28 -16
- package/dist/collection/components/feedback-modal/feedback-modal.js +2 -33
- package/dist/components/feedback-button.js +27 -15
- package/dist/components/feedback-modal2.js +2 -16
- package/dist/esm/feedback-button_2.entry.js +28 -28
- package/dist/esm/loader.js +3 -3
- package/dist/esm/pushfeedback.js +3 -3
- package/dist/pushfeedback/{p-e3d40c86.entry.js → p-4571809a.entry.js} +2 -2
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/feedback-button/feedback-button.d.ts +3 -1
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +0 -3
- package/dist/types/components.d.ts +0 -2
- package/package.json +3 -4
- /package/dist/cjs/{index-a717311c.js → index-b596cc3a.js} +0 -0
- /package/dist/esm/{index-37061d71.js → index-deb00b84.js} +0 -0
- /package/dist/pushfeedback/{p-9e531691.js → p-90e8ba79.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-
|
|
1
|
+
import{p as e,b as t}from"./p-90e8ba79.js";export{s as setNonce}from"./p-90e8ba79.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-4571809a",[[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"],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"]}],[1,"feedback-modal",{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"],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]}]]]],e)));
|
|
@@ -31,10 +31,12 @@ export declare class FeedbackButton {
|
|
|
31
31
|
hidePrivacyPolicy: boolean;
|
|
32
32
|
privacyPolicyText: string;
|
|
33
33
|
fetchData: boolean;
|
|
34
|
+
componentWillLoad(): void;
|
|
35
|
+
componentDidLoad(): void;
|
|
34
36
|
connectedCallback(): void;
|
|
35
37
|
disconnectedCallback(): void;
|
|
38
|
+
generateRandomSessionId(length?: number): string;
|
|
36
39
|
isSafariBrowser(): boolean;
|
|
37
|
-
componentDidLoad(): void;
|
|
38
40
|
loadInterFont(): void;
|
|
39
41
|
showModal(): void;
|
|
40
42
|
render(): any;
|
|
@@ -11,8 +11,6 @@ export declare class FeedbackModal {
|
|
|
11
11
|
isPrivacyChecked: boolean;
|
|
12
12
|
whitelabel: boolean;
|
|
13
13
|
selectedRating: number;
|
|
14
|
-
session: string;
|
|
15
|
-
sessionId: string;
|
|
16
14
|
errorMessage: string;
|
|
17
15
|
errorMessage403: string;
|
|
18
16
|
errorMessage404: string;
|
|
@@ -51,7 +49,6 @@ export declare class FeedbackModal {
|
|
|
51
49
|
rightSide: HTMLElement;
|
|
52
50
|
componentWillLoad(): void;
|
|
53
51
|
fetchProjectData(): Promise<void>;
|
|
54
|
-
generateRandomSessionId(length?: number): string;
|
|
55
52
|
onScrollDebounced: () => void;
|
|
56
53
|
resetOverflow(): void;
|
|
57
54
|
handleMessageInput(event: Event): void;
|
|
@@ -64,7 +64,6 @@ export namespace Components {
|
|
|
64
64
|
"screenshotButtonText": string;
|
|
65
65
|
"screenshotTopbarText": string;
|
|
66
66
|
"sendButtonText": string;
|
|
67
|
-
"sessionId": string;
|
|
68
67
|
"showModal": boolean;
|
|
69
68
|
"showScreenshotMode": boolean;
|
|
70
69
|
"showScreenshotTopBar": boolean;
|
|
@@ -148,7 +147,6 @@ declare namespace LocalJSX {
|
|
|
148
147
|
"screenshotButtonText"?: string;
|
|
149
148
|
"screenshotTopbarText"?: string;
|
|
150
149
|
"sendButtonText"?: string;
|
|
151
|
-
"sessionId"?: string;
|
|
152
150
|
"showModal"?: boolean;
|
|
153
151
|
"showScreenshotMode"?: boolean;
|
|
154
152
|
"showScreenshotTopBar"?: 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.43",
|
|
6
6
|
"description": "Feedback widget for websites.",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"unpkg": "dist/pushfeedback/pushfeedback.esm.js",
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "https://github.com/
|
|
17
|
+
"url": "https://github.com/TechDocsStudio/pushfeedback.git"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"dist/",
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stencil/core": "^2.13.0",
|
|
32
|
-
"html2canvas": "^1.4.1"
|
|
33
|
-
"pushfeedback": "file:"
|
|
32
|
+
"html2canvas": "^1.4.1"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
35
|
"@stencil/react-output-target": "^0.5.3",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|