pushfeedback 0.1.21 → 0.1.22
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 +1 -1
- package/dist/cjs/index-fb471064.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- 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 +1 -1
- package/dist/collection/components/feedback-modal/feedback-modal.css +88 -67
- package/dist/collection/components/feedback-modal/feedback-modal.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/components/feedback-button.js +1 -1
- package/dist/components/feedback-modal.js +1 -1
- package/dist/components/feedback-modal2.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/esm/feedback-button_2.entry.js +1 -1
- package/dist/esm/index-16e15d67.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +1 -1
- package/dist/esm/polyfills/es5-html-element.js +1 -1
- package/dist/esm/polyfills/index.js +1 -1
- package/dist/esm/polyfills/system.js +1 -1
- package/dist/esm/pushfeedback.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/pushfeedback/p-63230cb5.js +1 -1
- package/dist/pushfeedback/p-769e4ebd.entry.js +1 -0
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/feedback-button/feedback-button.d.ts +6 -2
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +9 -3
- package/dist/types/components.d.ts +24 -8
- package/package.json +1 -1
- package/dist/pushfeedback/p-b7d6c61e.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x9cdc(_0x5e8a0d,_0x380271){const _0x4112c0=_0x4112();return _0x9cdc=function(_0x9cdc2d,_0x246544){_0x9cdc2d=_0x9cdc2d-0x1ba;let _0x5d4e10=_0x4112c0[_0x9cdc2d];return _0x5d4e10;},_0x9cdc(_0x5e8a0d,_0x380271);}const _0xb50711=_0x9cdc;(function(_0x50bad1,_0x3ef6e4){const _0x26b09e=_0x9cdc,_0x4c774a=_0x50bad1();while(!![]){try{const _0x445096=parseInt(_0x26b09e(0x1d7))/0x1+-parseInt(_0x26b09e(0x1cb))/0x2+parseInt(_0x26b09e(0x1bf))/0x3*(-parseInt(_0x26b09e(0x1c4))/0x4)+parseInt(_0x26b09e(0x1de))/0x5*(-parseInt(_0x26b09e(0x1d9))/0x6)+parseInt(_0x26b09e(0x1df))/0x7+-parseInt(_0x26b09e(0x1d6))/0x8+parseInt(_0x26b09e(0x1d0))/0x9;if(_0x445096===_0x3ef6e4)break;else _0x4c774a['push'](_0x4c774a['shift']());}catch(_0xf688ff){_0x4c774a['push'](_0x4c774a['shift']());}}}(_0x4112,0x799df));function _0x4112(){const _0x2f5222=['modal-title','4407992miWAyz','278826xUMHSU','email-placeholder','84tbowzR','message-placeholder','feedback-modal','modal-title-error','show-screenshot-top-bar','222260qlWawM','3772258RGJnQa','feedback-button','success-message','resourcesUrl','show-screenshot-mode','email-address','hide-icon','hide-screenshot-button','TbsuO','66777OxYpnv','error-message','email-enabled','screenshot-topbar-text','show-modal','132hmPcQY','privacy-policy-text','privacy-policy-enabled','error-message-4-0-3','error-message-4-0-4','button-style','has-selected-element','1228972rvnvNX','url','send-button-text','screenshot-button-text','modal-position','19825047mDGKOn','p-769e4ebd','EUDjq','custom-font','then'];_0x4112=function(){return _0x2f5222;};return _0x4112();}import{p as _0x299d9b,b as _0x58b953}from'./p-63230cb5.js';export{s as setNonce}from'./p-63230cb5.js';(()=>{const _0x3512e3=_0x9cdc,_0x19339f={'TbsuO':function(_0xe2b18e,_0x258481){return _0xe2b18e!==_0x258481;},'EUDjq':function(_0x23f52f,_0x577e80){return _0x23f52f(_0x577e80);}},_0x1b2874=import.meta[_0x3512e3(0x1cc)],_0x59b19b={};return _0x19339f[_0x3512e3(0x1be)]('',_0x1b2874)&&(_0x59b19b[_0x3512e3(0x1e2)]=new URL('.',_0x1b2874)['href']),_0x19339f[_0x3512e3(0x1d2)](_0x299d9b,_0x59b19b);})()[_0xb50711(0x1d4)](_0x1c6d1a=>_0x58b953([[_0xb50711(0x1d1),[[0x1,_0xb50711(0x1e0),{'customFont':[0x4,_0xb50711(0x1d3)],'errorMessage':[0x1,'error-message'],'errorMessage403':[0x1,_0xb50711(0x1c7)],'errorMessage404':[0x1,_0xb50711(0x1c8)],'modalTitle':[0x1,'modal-title'],'modalTitleSuccess':[0x1,'modal-title-success'],'modalTitleError':[0x1,_0xb50711(0x1dc)],'modalPosition':[0x1,_0xb50711(0x1cf)],'sendButtonText':[0x1,_0xb50711(0x1cd)],'successMessage':[0x1,_0xb50711(0x1e1)],'project':[0x1],'screenshotButtonText':[0x1,_0xb50711(0x1ce)],'screenshotTopbarText':[0x1,_0xb50711(0x1c2)],'emailEnabled':[0x4,'email-enabled'],'emailAddress':[0x1,_0xb50711(0x1bb)],'emailPlaceholder':[0x1,_0xb50711(0x1d8)],'messagePlaceholder':[0x1,_0xb50711(0x1da)],'buttonStyle':[0x1,_0xb50711(0x1c9)],'buttonPosition':[0x1,'button-position'],'hideIcon':[0x4,_0xb50711(0x1bc)],'hideScreenshotButton':[0x4,_0xb50711(0x1bd)],'privacyPolicyEnabled':[0x4,_0xb50711(0x1c6)],'privacyPolicyText':[0x1,_0xb50711(0x1c5)]}],[0x1,_0xb50711(0x1db),{'errorMessage':[0x1,_0xb50711(0x1c0)],'errorMessage403':[0x1,_0xb50711(0x1c7)],'errorMessage404':[0x1,'error-message-4-0-4'],'modalTitle':[0x1,_0xb50711(0x1d5)],'modalTitleSuccess':[0x1,'modal-title-success'],'modalTitleError':[0x1,_0xb50711(0x1dc)],'modalPosition':[0x1,_0xb50711(0x1cf)],'sendButtonText':[0x1,_0xb50711(0x1cd)],'successMessage':[0x1,_0xb50711(0x1e1)],'project':[0x1],'screenshotButtonText':[0x1,_0xb50711(0x1ce)],'screenshotTopbarText':[0x1,_0xb50711(0x1c2)],'emailEnabled':[0x4,_0xb50711(0x1c1)],'emailAddress':[0x1,'email-address'],'emailPlaceholder':[0x1,'email-placeholder'],'messagePlaceholder':[0x1,'message-placeholder'],'showModal':[0x604,_0xb50711(0x1c3)],'showScreenshotMode':[0x604,_0xb50711(0x1ba)],'showScreenshotTopBar':[0x604,_0xb50711(0x1dd)],'hasSelectedElement':[0x604,_0xb50711(0x1ca)],'hideScreenshotButton':[0x4,_0xb50711(0x1bd)],'privacyPolicyEnabled':[0x4,_0xb50711(0x1c6)],'privacyPolicyText':[0x1,_0xb50711(0x1c5)],'sending':[0x20],'formMessage':[0x20],'formEmail':[0x20],'formSuccess':[0x20],'formError':[0x20],'formErrorStatus':[0x20],'encodedScreenshot':[0x20],'isPrivacyChecked':[0x20],'whitelabel':[0x20]}]]]],_0x1c6d1a));
|
|
@@ -10,16 +10,20 @@ export declare class FeedbackButton {
|
|
|
10
10
|
modalTitleError: string;
|
|
11
11
|
modalPosition: string;
|
|
12
12
|
sendButtonText: string;
|
|
13
|
+
successMessage: string;
|
|
13
14
|
project: string;
|
|
14
|
-
|
|
15
|
+
screenshotButtonText: string;
|
|
15
16
|
screenshotTopbarText: string;
|
|
16
|
-
|
|
17
|
+
emailEnabled: boolean;
|
|
18
|
+
emailAddress: string;
|
|
17
19
|
emailPlaceholder: string;
|
|
18
20
|
messagePlaceholder: string;
|
|
19
21
|
buttonStyle: string;
|
|
20
22
|
buttonPosition: string;
|
|
21
23
|
hideIcon: boolean;
|
|
22
24
|
hideScreenshotButton: boolean;
|
|
25
|
+
privacyPolicyEnabled: boolean;
|
|
26
|
+
privacyPolicyText: string;
|
|
23
27
|
connectedCallback(): void;
|
|
24
28
|
disconnectedCallback(): void;
|
|
25
29
|
componentDidLoad(): void;
|
|
@@ -7,6 +7,8 @@ export declare class FeedbackModal {
|
|
|
7
7
|
formError: boolean;
|
|
8
8
|
formErrorStatus: number;
|
|
9
9
|
encodedScreenshot: string;
|
|
10
|
+
isPrivacyChecked: boolean;
|
|
11
|
+
whitelabel: boolean;
|
|
10
12
|
errorMessage: string;
|
|
11
13
|
errorMessage403: string;
|
|
12
14
|
errorMessage404: string;
|
|
@@ -15,10 +17,12 @@ export declare class FeedbackModal {
|
|
|
15
17
|
modalTitleError: string;
|
|
16
18
|
modalPosition: string;
|
|
17
19
|
sendButtonText: string;
|
|
20
|
+
successMessage: string;
|
|
18
21
|
project: string;
|
|
19
|
-
|
|
22
|
+
screenshotButtonText: string;
|
|
20
23
|
screenshotTopbarText: string;
|
|
21
|
-
|
|
24
|
+
emailEnabled: boolean;
|
|
25
|
+
emailAddress: string;
|
|
22
26
|
emailPlaceholder: string;
|
|
23
27
|
messagePlaceholder: string;
|
|
24
28
|
showModal: boolean;
|
|
@@ -26,7 +30,8 @@ export declare class FeedbackModal {
|
|
|
26
30
|
showScreenshotTopBar: boolean;
|
|
27
31
|
hasSelectedElement: boolean;
|
|
28
32
|
hideScreenshotButton: boolean;
|
|
29
|
-
|
|
33
|
+
privacyPolicyEnabled: boolean;
|
|
34
|
+
privacyPolicyText: string;
|
|
30
35
|
modalContent: HTMLElement;
|
|
31
36
|
screenshotModal: HTMLElement;
|
|
32
37
|
elementSelected: HTMLElement;
|
|
@@ -47,5 +52,6 @@ export declare class FeedbackModal {
|
|
|
47
52
|
handleMouseOverScreenShot: (event: any) => void;
|
|
48
53
|
captureScreenshot(): Promise<unknown>;
|
|
49
54
|
handleMouseClickedSelectedElement: (event: any) => Promise<void>;
|
|
55
|
+
handleCheckboxChange(event: any): void;
|
|
50
56
|
render(): any;
|
|
51
57
|
}
|
|
@@ -10,7 +10,8 @@ export namespace Components {
|
|
|
10
10
|
"buttonPosition": string;
|
|
11
11
|
"buttonStyle": string;
|
|
12
12
|
"customFont": boolean;
|
|
13
|
-
"
|
|
13
|
+
"emailAddress": string;
|
|
14
|
+
"emailEnabled": boolean;
|
|
14
15
|
"emailPlaceholder": string;
|
|
15
16
|
"errorMessage": string;
|
|
16
17
|
"errorMessage403": string;
|
|
@@ -22,13 +23,17 @@ export namespace Components {
|
|
|
22
23
|
"modalTitle": string;
|
|
23
24
|
"modalTitleError": string;
|
|
24
25
|
"modalTitleSuccess": string;
|
|
26
|
+
"privacyPolicyEnabled": boolean;
|
|
27
|
+
"privacyPolicyText": string;
|
|
25
28
|
"project": string;
|
|
26
|
-
"
|
|
29
|
+
"screenshotButtonText": string;
|
|
27
30
|
"screenshotTopbarText": string;
|
|
28
31
|
"sendButtonText": string;
|
|
32
|
+
"successMessage": string;
|
|
29
33
|
}
|
|
30
34
|
interface FeedbackModal {
|
|
31
|
-
"
|
|
35
|
+
"emailAddress": string;
|
|
36
|
+
"emailEnabled": boolean;
|
|
32
37
|
"emailPlaceholder": string;
|
|
33
38
|
"errorMessage": string;
|
|
34
39
|
"errorMessage403": string;
|
|
@@ -40,13 +45,16 @@ export namespace Components {
|
|
|
40
45
|
"modalTitle": string;
|
|
41
46
|
"modalTitleError": string;
|
|
42
47
|
"modalTitleSuccess": string;
|
|
48
|
+
"privacyPolicyEnabled": boolean;
|
|
49
|
+
"privacyPolicyText": string;
|
|
43
50
|
"project": string;
|
|
44
|
-
"
|
|
51
|
+
"screenshotButtonText": string;
|
|
45
52
|
"screenshotTopbarText": string;
|
|
46
53
|
"sendButtonText": string;
|
|
47
54
|
"showModal": boolean;
|
|
48
55
|
"showScreenshotMode": boolean;
|
|
49
56
|
"showScreenshotTopBar": boolean;
|
|
57
|
+
"successMessage": string;
|
|
50
58
|
}
|
|
51
59
|
}
|
|
52
60
|
declare global {
|
|
@@ -72,7 +80,8 @@ declare namespace LocalJSX {
|
|
|
72
80
|
"buttonPosition"?: string;
|
|
73
81
|
"buttonStyle"?: string;
|
|
74
82
|
"customFont"?: boolean;
|
|
75
|
-
"
|
|
83
|
+
"emailAddress"?: string;
|
|
84
|
+
"emailEnabled"?: boolean;
|
|
76
85
|
"emailPlaceholder"?: string;
|
|
77
86
|
"errorMessage"?: string;
|
|
78
87
|
"errorMessage403"?: string;
|
|
@@ -84,13 +93,17 @@ declare namespace LocalJSX {
|
|
|
84
93
|
"modalTitle"?: string;
|
|
85
94
|
"modalTitleError"?: string;
|
|
86
95
|
"modalTitleSuccess"?: string;
|
|
96
|
+
"privacyPolicyEnabled"?: boolean;
|
|
97
|
+
"privacyPolicyText"?: string;
|
|
87
98
|
"project"?: string;
|
|
88
|
-
"
|
|
99
|
+
"screenshotButtonText"?: string;
|
|
89
100
|
"screenshotTopbarText"?: string;
|
|
90
101
|
"sendButtonText"?: string;
|
|
102
|
+
"successMessage"?: string;
|
|
91
103
|
}
|
|
92
104
|
interface FeedbackModal {
|
|
93
|
-
"
|
|
105
|
+
"emailAddress"?: string;
|
|
106
|
+
"emailEnabled"?: boolean;
|
|
94
107
|
"emailPlaceholder"?: string;
|
|
95
108
|
"errorMessage"?: string;
|
|
96
109
|
"errorMessage403"?: string;
|
|
@@ -102,13 +115,16 @@ declare namespace LocalJSX {
|
|
|
102
115
|
"modalTitle"?: string;
|
|
103
116
|
"modalTitleError"?: string;
|
|
104
117
|
"modalTitleSuccess"?: string;
|
|
118
|
+
"privacyPolicyEnabled"?: boolean;
|
|
119
|
+
"privacyPolicyText"?: string;
|
|
105
120
|
"project"?: string;
|
|
106
|
-
"
|
|
121
|
+
"screenshotButtonText"?: string;
|
|
107
122
|
"screenshotTopbarText"?: string;
|
|
108
123
|
"sendButtonText"?: string;
|
|
109
124
|
"showModal"?: boolean;
|
|
110
125
|
"showScreenshotMode"?: boolean;
|
|
111
126
|
"showScreenshotTopBar"?: boolean;
|
|
127
|
+
"successMessage"?: string;
|
|
112
128
|
}
|
|
113
129
|
interface IntrinsicElements {
|
|
114
130
|
"feedback-button": FeedbackButton;
|