pushfeedback 0.1.43 → 0.1.44

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.
@@ -1 +1 @@
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)));
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-fb4e4a0c",[[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)));
@@ -1,43 +1,43 @@
1
- export declare class FeedbackButton {
2
- feedbackModal: any;
3
- el: HTMLElement;
4
- sessionId: string;
5
- customFont: boolean;
6
- errorMessage: string;
7
- errorMessage403: string;
8
- errorMessage404: string;
9
- modalTitle: string;
10
- modalTitleSuccess: string;
11
- modalTitleError: string;
12
- modalPosition: string;
13
- sendButtonText: string;
14
- successMessage: string;
15
- project: string;
16
- screenshotButtonText: string;
17
- screenshotTopbarText: string;
18
- hideEmail: boolean;
19
- emailAddress: string;
20
- emailPlaceholder: string;
21
- messagePlaceholder: string;
22
- hideRating: boolean;
23
- rating: number;
24
- ratingMode: string;
25
- ratingPlaceholder: string;
26
- ratingStarsPlaceholder: string;
27
- buttonStyle: string;
28
- buttonPosition: string;
29
- hideIcon: boolean;
30
- hideScreenshotButton: boolean;
31
- hidePrivacyPolicy: boolean;
32
- privacyPolicyText: string;
33
- fetchData: boolean;
34
- componentWillLoad(): void;
35
- componentDidLoad(): void;
36
- connectedCallback(): void;
37
- disconnectedCallback(): void;
38
- generateRandomSessionId(length?: number): string;
39
- isSafariBrowser(): boolean;
40
- loadInterFont(): void;
41
- showModal(): void;
42
- render(): any;
43
- }
1
+ export declare class FeedbackButton {
2
+ feedbackModal: any;
3
+ el: HTMLElement;
4
+ sessionId: string;
5
+ customFont: boolean;
6
+ errorMessage: string;
7
+ errorMessage403: string;
8
+ errorMessage404: string;
9
+ modalTitle: string;
10
+ modalTitleSuccess: string;
11
+ modalTitleError: string;
12
+ modalPosition: string;
13
+ sendButtonText: string;
14
+ successMessage: string;
15
+ project: string;
16
+ screenshotButtonText: string;
17
+ screenshotTopbarText: string;
18
+ hideEmail: boolean;
19
+ emailAddress: string;
20
+ emailPlaceholder: string;
21
+ messagePlaceholder: string;
22
+ hideRating: boolean;
23
+ rating: number;
24
+ ratingMode: string;
25
+ ratingPlaceholder: string;
26
+ ratingStarsPlaceholder: string;
27
+ buttonStyle: string;
28
+ buttonPosition: string;
29
+ hideIcon: boolean;
30
+ hideScreenshotButton: boolean;
31
+ hidePrivacyPolicy: boolean;
32
+ privacyPolicyText: string;
33
+ fetchData: boolean;
34
+ componentWillLoad(): void;
35
+ componentDidLoad(): void;
36
+ connectedCallback(): void;
37
+ disconnectedCallback(): void;
38
+ generateRandomSessionId(length?: number): string;
39
+ isSafariBrowser(): boolean;
40
+ loadInterFont(): void;
41
+ showModal(): void;
42
+ render(): any;
43
+ }
@@ -1,67 +1,67 @@
1
- export declare class FeedbackModal {
2
- scrollTimeout: any;
3
- sending: boolean;
4
- formMessage: string;
5
- formEmail: string;
6
- formSuccess: boolean;
7
- formVerification: string;
8
- formError: boolean;
9
- formErrorStatus: number;
10
- encodedScreenshot: string;
11
- isPrivacyChecked: boolean;
12
- whitelabel: boolean;
13
- selectedRating: number;
14
- errorMessage: string;
15
- errorMessage403: string;
16
- errorMessage404: string;
17
- modalTitle: string;
18
- modalTitleSuccess: string;
19
- modalTitleError: string;
20
- modalPosition: string;
21
- sendButtonText: string;
22
- successMessage: string;
23
- project: string;
24
- screenshotButtonText: string;
25
- screenshotTopbarText: string;
26
- hideEmail: boolean;
27
- emailAddress: string;
28
- emailPlaceholder: string;
29
- messagePlaceholder: string;
30
- hideRating: boolean;
31
- rating: number;
32
- ratingMode: string;
33
- ratingPlaceholder: string;
34
- ratingStarsPlaceholder: string;
35
- showModal: boolean;
36
- showScreenshotMode: boolean;
37
- showScreenshotTopBar: boolean;
38
- hasSelectedElement: boolean;
39
- hideScreenshotButton: boolean;
40
- hidePrivacyPolicy: boolean;
41
- privacyPolicyText: string;
42
- fetchData: boolean;
43
- modalContent: HTMLElement;
44
- screenshotModal: HTMLElement;
45
- elementSelected: HTMLElement;
46
- topSide: HTMLElement;
47
- leftSide: HTMLElement;
48
- bottomSide: HTMLElement;
49
- rightSide: HTMLElement;
50
- componentWillLoad(): void;
51
- fetchProjectData(): Promise<void>;
52
- onScrollDebounced: () => void;
53
- resetOverflow(): void;
54
- handleMessageInput(event: Event): void;
55
- handleEmailInput(event: Event): void;
56
- handleSubmit: (event: Event) => Promise<void>;
57
- close: () => void;
58
- openScreenShot: () => void;
59
- closeScreenShot: () => void;
60
- handleMouseOverScreenShot: (event: any) => void;
61
- captureScreenshot(): Promise<unknown>;
62
- handleMouseClickedSelectedElement: (event: any) => Promise<void>;
63
- handleCheckboxChange(event: any): void;
64
- handleVerification(event: Event): void;
65
- handleRatingChange(newRating: number): void;
66
- render(): any;
67
- }
1
+ export declare class FeedbackModal {
2
+ scrollTimeout: any;
3
+ sending: boolean;
4
+ formMessage: string;
5
+ formEmail: string;
6
+ formSuccess: boolean;
7
+ formVerification: string;
8
+ formError: boolean;
9
+ formErrorStatus: number;
10
+ encodedScreenshot: string;
11
+ isPrivacyChecked: boolean;
12
+ whitelabel: boolean;
13
+ selectedRating: number;
14
+ errorMessage: string;
15
+ errorMessage403: string;
16
+ errorMessage404: string;
17
+ modalTitle: string;
18
+ modalTitleSuccess: string;
19
+ modalTitleError: string;
20
+ modalPosition: string;
21
+ sendButtonText: string;
22
+ successMessage: string;
23
+ project: string;
24
+ screenshotButtonText: string;
25
+ screenshotTopbarText: string;
26
+ hideEmail: boolean;
27
+ emailAddress: string;
28
+ emailPlaceholder: string;
29
+ messagePlaceholder: string;
30
+ hideRating: boolean;
31
+ rating: number;
32
+ ratingMode: string;
33
+ ratingPlaceholder: string;
34
+ ratingStarsPlaceholder: string;
35
+ showModal: boolean;
36
+ showScreenshotMode: boolean;
37
+ showScreenshotTopBar: boolean;
38
+ hasSelectedElement: boolean;
39
+ hideScreenshotButton: boolean;
40
+ hidePrivacyPolicy: boolean;
41
+ privacyPolicyText: string;
42
+ fetchData: boolean;
43
+ modalContent: HTMLElement;
44
+ screenshotModal: HTMLElement;
45
+ elementSelected: HTMLElement;
46
+ topSide: HTMLElement;
47
+ leftSide: HTMLElement;
48
+ bottomSide: HTMLElement;
49
+ rightSide: HTMLElement;
50
+ componentWillLoad(): void;
51
+ fetchProjectData(): Promise<void>;
52
+ onScrollDebounced: () => void;
53
+ resetOverflow(): void;
54
+ handleMessageInput(event: Event): void;
55
+ handleEmailInput(event: Event): void;
56
+ handleSubmit: (event: Event) => Promise<void>;
57
+ close: () => void;
58
+ openScreenShot: () => void;
59
+ closeScreenShot: () => void;
60
+ handleMouseOverScreenShot: (event: any) => void;
61
+ captureScreenshot(): Promise<unknown>;
62
+ handleMouseClickedSelectedElement: (event: any) => Promise<void>;
63
+ handleCheckboxChange(event: any): void;
64
+ handleVerification(event: Event): void;
65
+ handleRatingChange(newRating: number): void;
66
+ render(): any;
67
+ }
@@ -1 +1 @@
1
- export * from './components';
1
+ export * from './components';
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.43",
5
+ "version": "0.1.44",
6
6
  "description": "Feedback widget for websites.",
7
7
  "main": "dist/index.cjs.js",
8
8
  "module": "dist/index.js",