pushfeedback 0.1.36 → 0.1.38

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.
Files changed (37) hide show
  1. package/dist/cjs/feedback-button_2.cjs.entry.js +8245 -1
  2. package/dist/cjs/index-a717311c.js +1551 -0
  3. package/dist/cjs/index.cjs.js +2 -1
  4. package/dist/cjs/loader.cjs.js +22 -1
  5. package/dist/cjs/pushfeedback.cjs.js +23 -1
  6. package/dist/collection/components/feedback-button/feedback-button.js +640 -1
  7. package/dist/collection/components/feedback-modal/feedback-modal.js +837 -1
  8. package/dist/collection/index.js +1 -1
  9. package/dist/components/feedback-button.js +163 -1
  10. package/dist/components/feedback-modal.js +6 -1
  11. package/dist/components/feedback-modal2.js +8189 -1
  12. package/dist/components/index.js +3 -1
  13. package/dist/esm/feedback-button_2.entry.js +8240 -1
  14. package/dist/esm/index-37061d71.js +1523 -0
  15. package/dist/esm/index.js +1 -0
  16. package/dist/esm/loader.js +18 -1
  17. package/dist/esm/polyfills/core-js.js +11 -1
  18. package/dist/esm/polyfills/css-shim.js +1 -1
  19. package/dist/esm/polyfills/dom.js +79 -1
  20. package/dist/esm/polyfills/es5-html-element.js +1 -1
  21. package/dist/esm/polyfills/index.js +34 -1
  22. package/dist/esm/polyfills/system.js +6 -1
  23. package/dist/esm/pushfeedback.js +18 -1
  24. package/dist/index.cjs.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/pushfeedback/p-9e531691.js +2 -0
  27. package/dist/pushfeedback/p-d937f207.entry.js +22 -0
  28. package/dist/pushfeedback/pushfeedback.esm.js +1 -1
  29. package/dist/types/components/feedback-button/feedback-button.d.ts +40 -39
  30. package/dist/types/components/feedback-modal/feedback-modal.d.ts +65 -64
  31. package/dist/types/components.d.ts +4 -0
  32. package/dist/types/index.d.ts +1 -1
  33. package/package.json +5 -4
  34. package/dist/cjs/index-d64bfb06.js +0 -1
  35. package/dist/esm/index-b07fba3a.js +0 -1
  36. package/dist/pushfeedback/p-a0681be3.js +0 -1
  37. package/dist/pushfeedback/p-ea59cbec.entry.js +0 -1
@@ -1 +1,640 @@
1
- const _0x4d4c71=_0x5b25;(function(_0x2e416e,_0x29d84d){const _0x1fed77=_0x5b25,_0x12690c=_0x2e416e();while(!![]){try{const _0x51579f=-parseInt(_0x1fed77(0x238))/0x1+parseInt(_0x1fed77(0x2c5))/0x2*(parseInt(_0x1fed77(0x272))/0x3)+-parseInt(_0x1fed77(0x268))/0x4+parseInt(_0x1fed77(0x22a))/0x5+-parseInt(_0x1fed77(0x252))/0x6*(parseInt(_0x1fed77(0x283))/0x7)+-parseInt(_0x1fed77(0x213))/0x8+-parseInt(_0x1fed77(0x285))/0x9*(-parseInt(_0x1fed77(0x1f9))/0xa);if(_0x51579f===_0x29d84d)break;else _0x12690c['push'](_0x12690c['shift']());}catch(_0x4d409f){_0x12690c['push'](_0x12690c['shift']());}}}(_0x5db1,0xecb26));function _0x5b25(_0x470b13,_0x4098a5){const _0x5db1ef=_0x5db1();return _0x5b25=function(_0x5b257b,_0xe8fc5a){_0x5b257b=_0x5b257b-0x1f3;let _0x4e03f9=_0x5db1ef[_0x5b257b];return _0x4e03f9;},_0x5b25(_0x470b13,_0x4098a5);}import{Host,h}from'@stencil/core';export class FeedbackButton{constructor(){const _0x21bb31=_0x5b25,_0x394619={'CAKfh':'default','RGArF':_0x21bb31(0x2cf),'ccxpU':_0x21bb31(0x2c1),'QqnaD':_0x21bb31(0x246),'argyZ':_0x21bb31(0x212),'dpkdx':'The\x20request\x20URL\x20does\x20not\x20match\x20the\x20one\x20defined\x20in\x20PushFeedback\x20for\x20this\x20project.','jhLFE':_0x21bb31(0x2c2),'OjtEw':_0x21bb31(0x24b),'XeLVE':_0x21bb31(0x280),'PMyYp':_0x21bb31(0x232),'buAvW':_0x21bb31(0x220),'KiJEv':_0x21bb31(0x23b),'Qntju':_0x21bb31(0x20a),'toOvX':_0x21bb31(0x264),'xevKx':'How\x20would\x20you\x20rate\x20this\x20page?'},_0x5da760=_0x21bb31(0x279)[_0x21bb31(0x2ca)]('|');let _0x20dd1d=0x0;while(!![]){switch(_0x5da760[_0x20dd1d++]){case'0':this[_0x21bb31(0x1fc)]=_0x394619['CAKfh'];continue;case'1':this['modalTitle']=_0x394619[_0x21bb31(0x25a)];continue;case'2':this[_0x21bb31(0x1fb)]=_0x394619[_0x21bb31(0x21b)];continue;case'3':this[_0x21bb31(0x2d3)]=_0x394619[_0x21bb31(0x203)];continue;case'4':this[_0x21bb31(0x265)]=_0x394619[_0x21bb31(0x2a8)];continue;case'5':this['hideEmail']=![];continue;case'6':this[_0x21bb31(0x205)]=_0x394619[_0x21bb31(0x255)];continue;case'7':this['emailPlaceholder']=_0x394619[_0x21bb31(0x239)];continue;case'8':this['modalTitleError']=_0x394619[_0x21bb31(0x1f5)];continue;case'9':this[_0x21bb31(0x23c)]=!![];continue;case'10':this[_0x21bb31(0x2af)]=![];continue;case'11':this['customFont']=![];continue;case'12':this[_0x21bb31(0x2a0)]=_0x394619[_0x21bb31(0x28b)];continue;case'13':this[_0x21bb31(0x29c)]=_0x394619[_0x21bb31(0x23f)];continue;case'14':this[_0x21bb31(0x2c3)]='';continue;case'15':this[_0x21bb31(0x25d)]=_0x21bb31(0x245);continue;case'16':this['hideScreenshotButton']=![];continue;case'17':this['ratingMode']=_0x394619[_0x21bb31(0x295)];continue;case'18':this[_0x21bb31(0x2b4)]='';continue;case'19':this['screenshotButtonText']=_0x394619[_0x21bb31(0x260)];continue;case'20':this[_0x21bb31(0x23e)]='';continue;case'21':this[_0x21bb31(0x2a1)]=_0x21bb31(0x2d4);continue;case'22':this[_0x21bb31(0x202)]='Send';continue;case'23':this[_0x21bb31(0x208)]=!![];continue;case'24':this[_0x21bb31(0x25b)]=_0x394619[_0x21bb31(0x2b6)];continue;case'25':this[_0x21bb31(0x2c7)]=_0x394619[_0x21bb31(0x277)];continue;case'26':this[_0x21bb31(0x282)]=![];continue;case'27':this[_0x21bb31(0x234)]=_0x394619[_0x21bb31(0x262)];continue;}break;}}['connectedCallback'](){const _0x2e1a65=_0x5b25,_0x33665e={'yspKL':_0x2e1a65(0x28c),'OXpKi':'customFont','OReYl':_0x2e1a65(0x205),'pDFdR':_0x2e1a65(0x266),'SykgP':_0x2e1a65(0x265),'EEXbz':_0x2e1a65(0x20c),'eEWtP':_0x2e1a65(0x23e),'aiLYw':_0x2e1a65(0x2b4),'OaFnD':_0x2e1a65(0x250),'XJJFP':_0x2e1a65(0x24e),'iwvbU':_0x2e1a65(0x2c3),'QJjCt':_0x2e1a65(0x2b8),'qREAK':'messagePlaceholder','fuUAh':_0x2e1a65(0x2af),'tlNLQ':_0x2e1a65(0x25d),'PsMFq':_0x2e1a65(0x270),'qesGZ':_0x2e1a65(0x2c7),'ZIZRd':_0x2e1a65(0x208)};this['feedbackModal']=document[_0x2e1a65(0x22e)](_0x33665e[_0x2e1a65(0x25c)]);const _0x2e39b7=[_0x33665e[_0x2e1a65(0x274)],'errorMessage',_0x33665e[_0x2e1a65(0x257)],'errorMessage404',_0x33665e[_0x2e1a65(0x218)],_0x33665e['SykgP'],_0x33665e['EEXbz'],_0x2e1a65(0x1fb),_0x2e1a65(0x202),_0x33665e[_0x2e1a65(0x204)],_0x33665e[_0x2e1a65(0x27d)],_0x33665e[_0x2e1a65(0x236)],_0x2e1a65(0x25b),_0x33665e[_0x2e1a65(0x2a9)],_0x33665e['iwvbU'],_0x33665e[_0x2e1a65(0x2ba)],_0x33665e[_0x2e1a65(0x2d6)],_0x33665e[_0x2e1a65(0x27f)],_0x2e1a65(0x1f6),_0x33665e[_0x2e1a65(0x254)],'ratingStarsPlaceholder',_0x33665e[_0x2e1a65(0x1f3)],_0x2e1a65(0x23c),_0x33665e[_0x2e1a65(0x26a)],_0x33665e[_0x2e1a65(0x28f)]];_0x2e39b7[_0x2e1a65(0x222)](_0x51ae93=>{const _0x143757=_0x2e1a65;this[_0x143757(0x2b2)][_0x51ae93]=this[_0x51ae93];}),document[_0x2e1a65(0x2b7)][_0x2e1a65(0x22f)](this[_0x2e1a65(0x2b2)]);}[_0x4d4c71(0x2a3)](){const _0x1eb37f=_0x4d4c71;document[_0x1eb37f(0x2b7)][_0x1eb37f(0x247)](this[_0x1eb37f(0x2b2)]);}[_0x4d4c71(0x20b)](){const _0x1fefee=_0x4d4c71,_0x11161c=/safari/i[_0x1fefee(0x291)](navigator[_0x1fefee(0x251)])&&!/chrome/i[_0x1fefee(0x291)](navigator[_0x1fefee(0x251)]);return _0x11161c;}[_0x4d4c71(0x25f)](){const _0x3d0f77=_0x4d4c71,_0xe16448={'RoZsU':function(_0x56d644,_0xf187aa){return _0x56d644===_0xf187aa;},'oWlLw':_0x3d0f77(0x249),'tIQUv':function(_0x5285be,_0x5508ef){return _0x5285be*_0x5508ef;},'VOnEX':function(_0x19b98b,_0x3d2d42){return _0x19b98b/_0x3d2d42;},'FCKTZ':function(_0x12cb2e,_0x320b5f){return _0x12cb2e+_0x320b5f;}};if(_0xe16448[_0x3d0f77(0x281)](this['buttonPosition'],_0x3d0f77(0x2c9))){const _0x268d86=this['el'][_0x3d0f77(0x293)][_0x3d0f77(0x200)](_0xe16448[_0x3d0f77(0x271)]);let _0x1c97e4=0x0;this['isSafariBrowser']()&&(_0x1c97e4=0xa),_0x268d86[_0x3d0f77(0x2cd)][_0x3d0f77(0x237)]=_0xe16448['tIQUv'](_0xe16448[_0x3d0f77(0x2cc)](_0xe16448[_0x3d0f77(0x2c4)](_0x268d86[_0x3d0f77(0x287)],_0x1c97e4),0x2),-0x1)+'px';}!this[_0x3d0f77(0x215)]&&this[_0x3d0f77(0x201)]();}[_0x4d4c71(0x201)](){const _0x169289=_0x4d4c71,_0x221abf={'jNJjl':_0x169289(0x288),'rtnjo':_0x169289(0x2b9),'CYrkK':_0x169289(0x2ac)},_0x27dbc6=document[_0x169289(0x22e)](_0x221abf[_0x169289(0x1fe)]);_0x27dbc6[_0x169289(0x216)]=_0x221abf[_0x169289(0x210)],_0x27dbc6[_0x169289(0x253)]=_0x221abf[_0x169289(0x298)],document['head'][_0x169289(0x22f)](_0x27dbc6);}[_0x4d4c71(0x244)](){const _0xa1de63=_0x4d4c71;this['feedbackModal'][_0xa1de63(0x244)]=!![];}[_0x4d4c71(0x20e)](){const _0x43140a=_0x4d4c71,_0x42f91b={'CqhpM':function(_0x58a782,_0x3abb72,_0x5d4296,_0xcb4c4e){return _0x58a782(_0x3abb72,_0x5d4296,_0xcb4c4e);},'KpkWl':function(_0x1b64bb,_0x16fdda,_0x55c88a,_0x3b8e9e,_0x5f2d64,_0x5de9d0){return _0x1b64bb(_0x16fdda,_0x55c88a,_0x3b8e9e,_0x5f2d64,_0x5de9d0);},'QrTrX':function(_0x44fb0d,_0x2230f9){return _0x44fb0d===_0x2230f9;},'EPMQc':'dark','AlKpL':_0x43140a(0x21c),'sVWeP':_0x43140a(0x297),'vsWxo':function(_0x3a5b09,_0x3686aa,_0x2a3f01,_0x910965,_0x3f2968){return _0x3a5b09(_0x3686aa,_0x2a3f01,_0x910965,_0x3f2968);},'UXruw':_0x43140a(0x2ce),'YKaVZ':_0x43140a(0x229),'NLRmI':_0x43140a(0x28a),'srgor':_0x43140a(0x209),'NoiLD':'round','vYkOR':'feather\x20feather-edit-3','UhCGL':_0x43140a(0x242),'XtYFF':_0x43140a(0x20f),'XoMzC':_0x43140a(0x225),'qdvgS':_0x43140a(0x217),'aDZCe':function(_0x3c7689,_0x248527,_0x40932e,_0x464757){return _0x3c7689(_0x248527,_0x40932e,_0x464757);},'sBSUk':_0x43140a(0x231),'klJdn':function(_0x52a831,_0x1cbffa,_0x2a27c6){return _0x52a831(_0x1cbffa,_0x2a27c6);},'bYkgr':_0x43140a(0x29a)};return _0x42f91b[_0x43140a(0x275)](h,Host,null,_0x42f91b['KpkWl'](h,'a',{'class':'feedback-button-content\x20feedback-button-content--'+this[_0x43140a(0x2a1)]+_0x43140a(0x25e)+this['buttonPosition'],'onClick':()=>this[_0x43140a(0x244)]()},!this[_0x43140a(0x282)]&&_0x42f91b[_0x43140a(0x2c8)](this['buttonStyle'],_0x42f91b[_0x43140a(0x2b0)])&&h(_0x42f91b['AlKpL'],{'class':_0x42f91b[_0x43140a(0x2d0)]},_0x42f91b[_0x43140a(0x226)](h,_0x42f91b[_0x43140a(0x2ad)],{'xmlns':_0x42f91b[_0x43140a(0x2c0)],'width':'16','height':'16','viewBox':_0x43140a(0x231),'fill':_0x42f91b[_0x43140a(0x2ae)],'stroke':_0x42f91b['srgor'],'stroke-width':'2','stroke-linecap':_0x42f91b[_0x43140a(0x29f)],'stroke-linejoin':_0x42f91b['NoiLD'],'class':_0x42f91b['vYkOR']},h(_0x43140a(0x20f),{'d':_0x42f91b[_0x43140a(0x299)]}),h(_0x42f91b[_0x43140a(0x224)],{'d':_0x42f91b['XoMzC']}))),!this[_0x43140a(0x282)]&&this[_0x43140a(0x2a1)]===_0x42f91b[_0x43140a(0x1f7)]&&_0x42f91b[_0x43140a(0x2ab)](h,_0x42f91b[_0x43140a(0x235)],{'class':_0x42f91b[_0x43140a(0x2d0)]},h(_0x42f91b[_0x43140a(0x2ad)],{'xmlns':_0x42f91b[_0x43140a(0x2c0)],'width':'16','height':'16','viewBox':_0x42f91b[_0x43140a(0x27b)],'fill':_0x43140a(0x28a),'stroke':_0x43140a(0x223),'stroke-width':'2','stroke-linecap':_0x42f91b[_0x43140a(0x29f)],'stroke-linejoin':_0x43140a(0x233),'class':_0x42f91b[_0x43140a(0x2d2)]},h(_0x42f91b[_0x43140a(0x224)],{'d':_0x42f91b[_0x43140a(0x299)]}),_0x42f91b[_0x43140a(0x22b)](h,_0x42f91b[_0x43140a(0x224)],{'d':_0x42f91b[_0x43140a(0x26b)]}))),_0x42f91b[_0x43140a(0x22b)](h,_0x42f91b['bYkgr'],null)));}static get['is'](){const _0x347a72=_0x4d4c71,_0x4874cf={'PuznW':'feedback-button'};return _0x4874cf[_0x347a72(0x230)];}static get[_0x4d4c71(0x2bb)](){const _0x2c732d=_0x4d4c71,_0x56bd84={'KeuLv':_0x2c732d(0x23a)};return _0x56bd84[_0x2c732d(0x219)];}static get[_0x4d4c71(0x1ff)](){const _0x2ea2d=_0x4d4c71,_0x4fcab4={'ydgPk':_0x2ea2d(0x273)};return{'$':[_0x4fcab4['ydgPk']]};}static get[_0x4d4c71(0x214)](){const _0x40d9d1=_0x4d4c71,_0x138628={'HQVxz':_0x40d9d1(0x273)};return{'$':[_0x138628[_0x40d9d1(0x207)]]};}static get['properties'](){const _0x3d52af=_0x4d4c71,_0x49b6c2={'EyMih':_0x3d52af(0x24a),'lptUr':_0x3d52af(0x286),'VcnfI':'error-message','TvLSx':_0x3d52af(0x258),'mUHdA':_0x3d52af(0x2cb),'ZjMtZ':_0x3d52af(0x26d),'WQRdQ':'\x22We\x20could\x20not\x20find\x20the\x20provided\x20project\x20id\x20in\x20PushFeedback.\x22','DGBVx':'modal-title-success','ruOsS':_0x3d52af(0x2b3),'qPtIw':_0x3d52af(0x27a),'rIOaK':_0x3d52af(0x24d),'qlhFS':_0x3d52af(0x211),'iLMvJ':_0x3d52af(0x24c),'eVtvE':_0x3d52af(0x259),'Jexeu':'\x27Send\x27','PcVFN':'project','XRBUZ':'screenshot-button-text','nLbnz':_0x3d52af(0x26e),'viskv':_0x3d52af(0x26f),'YZAak':_0x3d52af(0x228),'uAToE':_0x3d52af(0x263),'xVKfe':_0x3d52af(0x294),'jRieg':'message-placeholder','gJKOl':_0x3d52af(0x20d),'CZsQG':_0x3d52af(0x1fd),'DLZjB':'rating-placeholder','FzXtH':'\x27Was\x20this\x20page\x20helpful?\x27','pqUmL':_0x3d52af(0x256),'BEGyJ':_0x3d52af(0x241),'HMMro':_0x3d52af(0x284),'bBDJZ':_0x3d52af(0x221),'jLjON':_0x3d52af(0x27c),'KROsY':_0x3d52af(0x26c),'RExIk':_0x3d52af(0x261),'JhsTF':'hide-privacy-policy','lhxoh':'privacy-policy-text','IElgY':_0x3d52af(0x248),'YeuhH':_0x3d52af(0x21a),'TVIvM':_0x3d52af(0x206)};return{'customFont':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2['EyMih'],'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2a6),'reflect':![],'defaultValue':_0x3d52af(0x294)},'errorMessage':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2bc)],'reflect':![],'defaultValue':_0x49b6c2['TvLSx']},'errorMessage403':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2['mUHdA'],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x1f8)]},'errorMessage404':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2d5),'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x27e)]},'modalTitle':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':'modal-title','reflect':![],'defaultValue':'\x27Share\x20your\x20feedback\x27'},'modalTitleSuccess':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':'string','references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x278)],'reflect':![],'defaultValue':_0x49b6c2['ruOsS']},'modalTitleError':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x267)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x290)]},'modalPosition':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x3d52af(0x286),'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x240)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x1f4)]},'sendButtonText':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x276)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x2a7)]},'successMessage':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x3d52af(0x286),'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x243),'reflect':![],'defaultValue':'\x22\x22'},'project':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x24f)],'reflect':![],'defaultValue':'\x27\x27'},'screenshotButtonText':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2['lptUr'],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x22c)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x28e)]},'screenshotTopbarText':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x21e)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x21f)]},'hideEmail':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':_0x49b6c2['EyMih'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2bf)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x289)]},'emailAddress':{'type':_0x3d52af(0x286),'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x3d52af(0x286),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2b1),'reflect':![],'defaultValue':'\x27\x27'},'emailPlaceholder':{'type':_0x3d52af(0x286),'mutable':![],'complexType':{'original':'string','resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2aa),'reflect':![],'defaultValue':_0x3d52af(0x23d)},'messagePlaceholder':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2a4)],'reflect':![],'defaultValue':_0x3d52af(0x2c6)},'hideRating':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2['gJKOl'],'reflect':![],'defaultValue':_0x3d52af(0x294)},'ratingMode':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2['lptUr'],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x296)],'reflect':![],'defaultValue':_0x3d52af(0x29b)},'ratingPlaceholder':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2['DLZjB'],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x2be)]},'ratingStarsPlaceholder':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2a5)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x22d)]},'buttonStyle':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x3d52af(0x286),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x21d)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x28d)]},'buttonPosition':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x3d52af(0x286),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2b5)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x28d)]},'hideIcon':{'type':_0x49b6c2['EyMih'],'mutable':![],'complexType':{'original':_0x3d52af(0x24a),'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x1fa)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x289)]},'hideScreenshotButton':{'type':_0x49b6c2['EyMih'],'mutable':![],'complexType':{'original':'boolean','resolved':_0x3d52af(0x24a),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x269)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x289)]},'hidePrivacyPolicy':{'type':'boolean','mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x227)],'reflect':![],'defaultValue':_0x3d52af(0x206)},'privacyPolicyText':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x29d)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x2a2)]},'fetchData':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':'boolean','references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2d1)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x29e)]}};}static get[_0x4d4c71(0x292)](){return'el';}}function _0x5db1(){const _0x2d0912=['M16.5\x203.5a2.121\x202.121\x200\x200\x201\x203\x203L7\x2019l-4\x201\x201-4L16.5\x203.5z','vsWxo','JhsTF','\x27Select\x20an\x20element\x20on\x20this\x20page\x27','http://www.w3.org/2000/svg','1949220sfnDTt','klJdn','XRBUZ','BEGyJ','createElement','appendChild','PuznW','0\x200\x2024\x2024','We\x20could\x20not\x20find\x20the\x20provided\x20project\x20id\x20in\x20PushFeedback.','round','ratingStarsPlaceholder','AlKpL','OaFnD','right','1770059scuJRE','jhLFE','shadow','Add\x20a\x20screenshot','hidePrivacyPolicy','\x27Email\x20address\x20(optional)\x27','successMessage','PMyYp','qlhFS','\x27How\x20would\x20you\x20rate\x20this\x20page?\x27','M12\x2020h9','success-message','showModal','Was\x20this\x20page\x20helpful?','Please\x20try\x20again\x20later.','removeChild','\x22I\x20have\x20read\x20and\x20expressly\x20consent\x20to\x20the\x20terms\x20of\x20the\x20<a\x20href=\x27https://pushfeedback.com/privacy\x27>Privacy\x20Policy</a>.\x22','.feedback-button-content','boolean','Oops!','\x27center\x27','\x22Oops!\x22','hideEmail','PcVFN','screenshotButtonText','userAgent','6abPpYa','rel','tlNLQ','dpkdx','rating-stars-placeholder','OReYl','\x22Please\x20try\x20again\x20later.\x22','send-button-text','RGArF','screenshotTopbarText','yspKL','ratingPlaceholder','\x20feedback-button-content--','componentDidLoad','KiJEv','hide-screenshot-button','xevKx','hide-email','I\x20have\x20read\x20and\x20expressly\x20consent\x20to\x20the\x20terms\x20of\x20the\x20<a\x20href=\x27https://pushfeedback.com/privacy\x27>Privacy\x20Policy</a>.','modalTitleSuccess','modalTitle','qPtIw','4702092BUuKyk','RExIk','qesGZ','XoMzC','hide-icon','\x22The\x20request\x20URL\x20does\x20not\x20match\x20the\x20one\x20defined\x20in\x20PushFeedback\x20for\x20this\x20project.\x22','\x27Add\x20a\x20screenshot\x27','screenshot-topbar-text','hideScreenshotButton','oWlLw','453JqoRsS','feedback-button.css','OXpKi','CqhpM','eVtvE','toOvX','DGBVx','11|3|6|13|1|4|8|2|22|20|18|19|24|5|14|7|12|10|17|15|27|21|0|26|16|9|25|23','modal-title-error','sBSUk','button-position','aiLYw','WQRdQ','fuUAh','Comments','RoZsU','hideIcon','5630933rmSUpm','button-style','9zCedYy','string','offsetWidth','link','xVKfe','none','XeLVE','feedback-modal','bBDJZ','nLbnz','ZIZRd','rIOaK','test','elementRef','shadowRoot','false','buAvW','CZsQG','feedback-button-content-icon','CYrkK','UhCGL','slot','\x27thumbs\x27','errorMessage404','lhxoh','TVIvM','NoiLD','messagePlaceholder','buttonStyle','IElgY','disconnectedCallback','jRieg','pqUmL','custom-font','Jexeu','argyZ','XJJFP','email-placeholder','aDZCe','stylesheet','UXruw','NLRmI','hideRating','EPMQc','email-address','feedbackModal','\x27Thanks\x20for\x20your\x20feedback!\x27','project','jLjON','Qntju','body','emailPlaceholder','https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap','QJjCt','encapsulation','VcnfI','EyMih','FzXtH','uAToE','YKaVZ','center','Email\x20address\x20(optional)','emailAddress','FCKTZ','25268wTdSYx','\x27Comments\x27','privacyPolicyText','QrTrX','center-right','split','error-message-4-0-3','VOnEX','style','svg','Share\x20your\x20feedback','sVWeP','YeuhH','vYkOR','errorMessage','default','error-message-4-0-4','qREAK','lptUr','PsMFq','iLMvJ','OjtEw','ratingMode','qdvgS','ZjMtZ','24697930ZdpjgE','KROsY','modalPosition','buttonPosition','rating-mode','jNJjl','originalStyleUrls','querySelector','loadInterFont','sendButtonText','QqnaD','eEWtP','errorMessage403','true','HQVxz','fetchData','#fff','Select\x20an\x20element\x20on\x20this\x20page','isSafariBrowser','modalTitleError','hide-rating','render','path','rtnjo','modal-position','Thanks\x20for\x20your\x20feedback!','382880cpywbp','styleUrls','customFont','href','light','pDFdR','KeuLv','fetch-data','ccxpU','span','HMMro','viskv','YZAak','thumbs','\x27default\x27','forEach','#0070F4','XtYFF'];_0x5db1=function(){return _0x2d0912;};return _0x5db1();}
1
+ import { Host, h } from '@stencil/core';
2
+ export class FeedbackButton {
3
+ constructor() {
4
+ this.customFont = false;
5
+ this.errorMessage = "Please try again later.";
6
+ this.errorMessage403 = "The request URL does not match the one defined in PushFeedback for this project.";
7
+ this.errorMessage404 = "We could not find the provided project id in PushFeedback.";
8
+ this.modalTitle = 'Share your feedback';
9
+ this.modalTitleSuccess = 'Thanks for your feedback!';
10
+ this.modalTitleError = "Oops!";
11
+ this.modalPosition = 'center';
12
+ this.sendButtonText = 'Send';
13
+ this.successMessage = "";
14
+ this.project = '';
15
+ this.screenshotButtonText = 'Add a screenshot';
16
+ this.screenshotTopbarText = 'Select an element on this page';
17
+ this.hideEmail = false;
18
+ this.emailAddress = '';
19
+ this.emailPlaceholder = 'Email address (optional)';
20
+ this.messagePlaceholder = 'Comments';
21
+ this.hideRating = false;
22
+ this.rating = 0;
23
+ this.ratingMode = 'thumbs';
24
+ this.ratingPlaceholder = 'Was this page helpful?';
25
+ this.ratingStarsPlaceholder = 'How would you rate this page?';
26
+ this.buttonStyle = 'default';
27
+ this.buttonPosition = 'default';
28
+ this.hideIcon = false;
29
+ this.hideScreenshotButton = false;
30
+ this.hidePrivacyPolicy = true;
31
+ this.privacyPolicyText = "I have read and expressly consent to the terms of the <a href='https://pushfeedback.com/privacy'>Privacy Policy</a>.";
32
+ this.fetchData = true;
33
+ }
34
+ connectedCallback() {
35
+ this.feedbackModal = document.createElement('feedback-modal');
36
+ const props = [
37
+ 'customFont',
38
+ 'errorMessage',
39
+ 'errorMessage403',
40
+ 'errorMessage404',
41
+ 'modalTitle',
42
+ 'modalTitleSuccess',
43
+ 'modalTitleError',
44
+ 'modalPosition',
45
+ 'sendButtonText',
46
+ 'successMessage',
47
+ 'project',
48
+ 'screenshotButtonText',
49
+ 'screenshotTopbarText',
50
+ 'hideEmail',
51
+ 'emailAddress',
52
+ 'emailPlaceholder',
53
+ 'messagePlaceholder',
54
+ 'hideRating',
55
+ 'rating',
56
+ 'ratingMode',
57
+ 'ratingPlaceholder',
58
+ 'ratingStarsPlaceholder',
59
+ 'hideScreenshotButton',
60
+ 'hidePrivacyPolicy',
61
+ 'privacyPolicyText',
62
+ 'fetchData'
63
+ ];
64
+ props.forEach(prop => {
65
+ this.feedbackModal[prop] = this[prop];
66
+ });
67
+ document.body.appendChild(this.feedbackModal);
68
+ }
69
+ disconnectedCallback() {
70
+ document.body.removeChild(this.feedbackModal);
71
+ }
72
+ isSafariBrowser() {
73
+ const isSafari = /safari/i.test(navigator.userAgent) && !/chrome/i.test(navigator.userAgent);
74
+ return isSafari;
75
+ }
76
+ componentDidLoad() {
77
+ if (this.buttonPosition === 'center-right') {
78
+ const buttonContent = this.el.shadowRoot.querySelector('.feedback-button-content');
79
+ let adjustement = 0;
80
+ if (this.isSafariBrowser()) {
81
+ adjustement = 10;
82
+ }
83
+ buttonContent.style.right = `${(buttonContent.offsetWidth + adjustement) / 2 * -1}px`;
84
+ }
85
+ if (!this.customFont) {
86
+ this.loadInterFont();
87
+ }
88
+ }
89
+ loadInterFont() {
90
+ const link = document.createElement('link');
91
+ link.href = 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap';
92
+ link.rel = 'stylesheet';
93
+ document.head.appendChild(link);
94
+ }
95
+ showModal() {
96
+ this.feedbackModal.showModal = true;
97
+ }
98
+ render() {
99
+ return (h(Host, null, h("a", { class: `feedback-button-content feedback-button-content--${this.buttonStyle} feedback-button-content--${this.buttonPosition}`, onClick: () => this.showModal() }, !this.hideIcon && this.buttonStyle === 'dark' && (h("span", { class: "feedback-button-content-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "#fff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-edit-3" }, h("path", { d: "M12 20h9" }), h("path", { d: "M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z" })))), !this.hideIcon && this.buttonStyle === 'light' && (h("span", { class: "feedback-button-content-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "#0070F4", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-edit-3" }, h("path", { d: "M12 20h9" }), h("path", { d: "M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z" })))), h("slot", null))));
100
+ }
101
+ static get is() { return "feedback-button"; }
102
+ static get encapsulation() { return "shadow"; }
103
+ static get originalStyleUrls() {
104
+ return {
105
+ "$": ["feedback-button.css"]
106
+ };
107
+ }
108
+ static get styleUrls() {
109
+ return {
110
+ "$": ["feedback-button.css"]
111
+ };
112
+ }
113
+ static get properties() {
114
+ return {
115
+ "customFont": {
116
+ "type": "boolean",
117
+ "mutable": false,
118
+ "complexType": {
119
+ "original": "boolean",
120
+ "resolved": "boolean",
121
+ "references": {}
122
+ },
123
+ "required": false,
124
+ "optional": false,
125
+ "docs": {
126
+ "tags": [],
127
+ "text": ""
128
+ },
129
+ "attribute": "custom-font",
130
+ "reflect": false,
131
+ "defaultValue": "false"
132
+ },
133
+ "errorMessage": {
134
+ "type": "string",
135
+ "mutable": false,
136
+ "complexType": {
137
+ "original": "string",
138
+ "resolved": "string",
139
+ "references": {}
140
+ },
141
+ "required": false,
142
+ "optional": false,
143
+ "docs": {
144
+ "tags": [],
145
+ "text": ""
146
+ },
147
+ "attribute": "error-message",
148
+ "reflect": false,
149
+ "defaultValue": "\"Please try again later.\""
150
+ },
151
+ "errorMessage403": {
152
+ "type": "string",
153
+ "mutable": false,
154
+ "complexType": {
155
+ "original": "string",
156
+ "resolved": "string",
157
+ "references": {}
158
+ },
159
+ "required": false,
160
+ "optional": false,
161
+ "docs": {
162
+ "tags": [],
163
+ "text": ""
164
+ },
165
+ "attribute": "error-message-4-0-3",
166
+ "reflect": false,
167
+ "defaultValue": "\"The request URL does not match the one defined in PushFeedback for this project.\""
168
+ },
169
+ "errorMessage404": {
170
+ "type": "string",
171
+ "mutable": false,
172
+ "complexType": {
173
+ "original": "string",
174
+ "resolved": "string",
175
+ "references": {}
176
+ },
177
+ "required": false,
178
+ "optional": false,
179
+ "docs": {
180
+ "tags": [],
181
+ "text": ""
182
+ },
183
+ "attribute": "error-message-4-0-4",
184
+ "reflect": false,
185
+ "defaultValue": "\"We could not find the provided project id in PushFeedback.\""
186
+ },
187
+ "modalTitle": {
188
+ "type": "string",
189
+ "mutable": false,
190
+ "complexType": {
191
+ "original": "string",
192
+ "resolved": "string",
193
+ "references": {}
194
+ },
195
+ "required": false,
196
+ "optional": false,
197
+ "docs": {
198
+ "tags": [],
199
+ "text": ""
200
+ },
201
+ "attribute": "modal-title",
202
+ "reflect": false,
203
+ "defaultValue": "'Share your feedback'"
204
+ },
205
+ "modalTitleSuccess": {
206
+ "type": "string",
207
+ "mutable": false,
208
+ "complexType": {
209
+ "original": "string",
210
+ "resolved": "string",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": false,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": ""
218
+ },
219
+ "attribute": "modal-title-success",
220
+ "reflect": false,
221
+ "defaultValue": "'Thanks for your feedback!'"
222
+ },
223
+ "modalTitleError": {
224
+ "type": "string",
225
+ "mutable": false,
226
+ "complexType": {
227
+ "original": "string",
228
+ "resolved": "string",
229
+ "references": {}
230
+ },
231
+ "required": false,
232
+ "optional": false,
233
+ "docs": {
234
+ "tags": [],
235
+ "text": ""
236
+ },
237
+ "attribute": "modal-title-error",
238
+ "reflect": false,
239
+ "defaultValue": "\"Oops!\""
240
+ },
241
+ "modalPosition": {
242
+ "type": "string",
243
+ "mutable": false,
244
+ "complexType": {
245
+ "original": "string",
246
+ "resolved": "string",
247
+ "references": {}
248
+ },
249
+ "required": false,
250
+ "optional": false,
251
+ "docs": {
252
+ "tags": [],
253
+ "text": ""
254
+ },
255
+ "attribute": "modal-position",
256
+ "reflect": false,
257
+ "defaultValue": "'center'"
258
+ },
259
+ "sendButtonText": {
260
+ "type": "string",
261
+ "mutable": false,
262
+ "complexType": {
263
+ "original": "string",
264
+ "resolved": "string",
265
+ "references": {}
266
+ },
267
+ "required": false,
268
+ "optional": false,
269
+ "docs": {
270
+ "tags": [],
271
+ "text": ""
272
+ },
273
+ "attribute": "send-button-text",
274
+ "reflect": false,
275
+ "defaultValue": "'Send'"
276
+ },
277
+ "successMessage": {
278
+ "type": "string",
279
+ "mutable": false,
280
+ "complexType": {
281
+ "original": "string",
282
+ "resolved": "string",
283
+ "references": {}
284
+ },
285
+ "required": false,
286
+ "optional": false,
287
+ "docs": {
288
+ "tags": [],
289
+ "text": ""
290
+ },
291
+ "attribute": "success-message",
292
+ "reflect": false,
293
+ "defaultValue": "\"\""
294
+ },
295
+ "project": {
296
+ "type": "string",
297
+ "mutable": false,
298
+ "complexType": {
299
+ "original": "string",
300
+ "resolved": "string",
301
+ "references": {}
302
+ },
303
+ "required": false,
304
+ "optional": false,
305
+ "docs": {
306
+ "tags": [],
307
+ "text": ""
308
+ },
309
+ "attribute": "project",
310
+ "reflect": false,
311
+ "defaultValue": "''"
312
+ },
313
+ "screenshotButtonText": {
314
+ "type": "string",
315
+ "mutable": false,
316
+ "complexType": {
317
+ "original": "string",
318
+ "resolved": "string",
319
+ "references": {}
320
+ },
321
+ "required": false,
322
+ "optional": false,
323
+ "docs": {
324
+ "tags": [],
325
+ "text": ""
326
+ },
327
+ "attribute": "screenshot-button-text",
328
+ "reflect": false,
329
+ "defaultValue": "'Add a screenshot'"
330
+ },
331
+ "screenshotTopbarText": {
332
+ "type": "string",
333
+ "mutable": false,
334
+ "complexType": {
335
+ "original": "string",
336
+ "resolved": "string",
337
+ "references": {}
338
+ },
339
+ "required": false,
340
+ "optional": false,
341
+ "docs": {
342
+ "tags": [],
343
+ "text": ""
344
+ },
345
+ "attribute": "screenshot-topbar-text",
346
+ "reflect": false,
347
+ "defaultValue": "'Select an element on this page'"
348
+ },
349
+ "hideEmail": {
350
+ "type": "boolean",
351
+ "mutable": false,
352
+ "complexType": {
353
+ "original": "boolean",
354
+ "resolved": "boolean",
355
+ "references": {}
356
+ },
357
+ "required": false,
358
+ "optional": false,
359
+ "docs": {
360
+ "tags": [],
361
+ "text": ""
362
+ },
363
+ "attribute": "hide-email",
364
+ "reflect": false,
365
+ "defaultValue": "false"
366
+ },
367
+ "emailAddress": {
368
+ "type": "string",
369
+ "mutable": false,
370
+ "complexType": {
371
+ "original": "string",
372
+ "resolved": "string",
373
+ "references": {}
374
+ },
375
+ "required": false,
376
+ "optional": false,
377
+ "docs": {
378
+ "tags": [],
379
+ "text": ""
380
+ },
381
+ "attribute": "email-address",
382
+ "reflect": false,
383
+ "defaultValue": "''"
384
+ },
385
+ "emailPlaceholder": {
386
+ "type": "string",
387
+ "mutable": false,
388
+ "complexType": {
389
+ "original": "string",
390
+ "resolved": "string",
391
+ "references": {}
392
+ },
393
+ "required": false,
394
+ "optional": false,
395
+ "docs": {
396
+ "tags": [],
397
+ "text": ""
398
+ },
399
+ "attribute": "email-placeholder",
400
+ "reflect": false,
401
+ "defaultValue": "'Email address (optional)'"
402
+ },
403
+ "messagePlaceholder": {
404
+ "type": "string",
405
+ "mutable": false,
406
+ "complexType": {
407
+ "original": "string",
408
+ "resolved": "string",
409
+ "references": {}
410
+ },
411
+ "required": false,
412
+ "optional": false,
413
+ "docs": {
414
+ "tags": [],
415
+ "text": ""
416
+ },
417
+ "attribute": "message-placeholder",
418
+ "reflect": false,
419
+ "defaultValue": "'Comments'"
420
+ },
421
+ "hideRating": {
422
+ "type": "boolean",
423
+ "mutable": false,
424
+ "complexType": {
425
+ "original": "boolean",
426
+ "resolved": "boolean",
427
+ "references": {}
428
+ },
429
+ "required": false,
430
+ "optional": false,
431
+ "docs": {
432
+ "tags": [],
433
+ "text": ""
434
+ },
435
+ "attribute": "hide-rating",
436
+ "reflect": false,
437
+ "defaultValue": "false"
438
+ },
439
+ "rating": {
440
+ "type": "number",
441
+ "mutable": false,
442
+ "complexType": {
443
+ "original": "number",
444
+ "resolved": "number",
445
+ "references": {}
446
+ },
447
+ "required": false,
448
+ "optional": false,
449
+ "docs": {
450
+ "tags": [],
451
+ "text": ""
452
+ },
453
+ "attribute": "rating",
454
+ "reflect": false,
455
+ "defaultValue": "0"
456
+ },
457
+ "ratingMode": {
458
+ "type": "string",
459
+ "mutable": false,
460
+ "complexType": {
461
+ "original": "string",
462
+ "resolved": "string",
463
+ "references": {}
464
+ },
465
+ "required": false,
466
+ "optional": false,
467
+ "docs": {
468
+ "tags": [],
469
+ "text": ""
470
+ },
471
+ "attribute": "rating-mode",
472
+ "reflect": false,
473
+ "defaultValue": "'thumbs'"
474
+ },
475
+ "ratingPlaceholder": {
476
+ "type": "string",
477
+ "mutable": false,
478
+ "complexType": {
479
+ "original": "string",
480
+ "resolved": "string",
481
+ "references": {}
482
+ },
483
+ "required": false,
484
+ "optional": false,
485
+ "docs": {
486
+ "tags": [],
487
+ "text": ""
488
+ },
489
+ "attribute": "rating-placeholder",
490
+ "reflect": false,
491
+ "defaultValue": "'Was this page helpful?'"
492
+ },
493
+ "ratingStarsPlaceholder": {
494
+ "type": "string",
495
+ "mutable": false,
496
+ "complexType": {
497
+ "original": "string",
498
+ "resolved": "string",
499
+ "references": {}
500
+ },
501
+ "required": false,
502
+ "optional": false,
503
+ "docs": {
504
+ "tags": [],
505
+ "text": ""
506
+ },
507
+ "attribute": "rating-stars-placeholder",
508
+ "reflect": false,
509
+ "defaultValue": "'How would you rate this page?'"
510
+ },
511
+ "buttonStyle": {
512
+ "type": "string",
513
+ "mutable": false,
514
+ "complexType": {
515
+ "original": "string",
516
+ "resolved": "string",
517
+ "references": {}
518
+ },
519
+ "required": false,
520
+ "optional": false,
521
+ "docs": {
522
+ "tags": [],
523
+ "text": ""
524
+ },
525
+ "attribute": "button-style",
526
+ "reflect": false,
527
+ "defaultValue": "'default'"
528
+ },
529
+ "buttonPosition": {
530
+ "type": "string",
531
+ "mutable": false,
532
+ "complexType": {
533
+ "original": "string",
534
+ "resolved": "string",
535
+ "references": {}
536
+ },
537
+ "required": false,
538
+ "optional": false,
539
+ "docs": {
540
+ "tags": [],
541
+ "text": ""
542
+ },
543
+ "attribute": "button-position",
544
+ "reflect": false,
545
+ "defaultValue": "'default'"
546
+ },
547
+ "hideIcon": {
548
+ "type": "boolean",
549
+ "mutable": false,
550
+ "complexType": {
551
+ "original": "boolean",
552
+ "resolved": "boolean",
553
+ "references": {}
554
+ },
555
+ "required": false,
556
+ "optional": false,
557
+ "docs": {
558
+ "tags": [],
559
+ "text": ""
560
+ },
561
+ "attribute": "hide-icon",
562
+ "reflect": false,
563
+ "defaultValue": "false"
564
+ },
565
+ "hideScreenshotButton": {
566
+ "type": "boolean",
567
+ "mutable": false,
568
+ "complexType": {
569
+ "original": "boolean",
570
+ "resolved": "boolean",
571
+ "references": {}
572
+ },
573
+ "required": false,
574
+ "optional": false,
575
+ "docs": {
576
+ "tags": [],
577
+ "text": ""
578
+ },
579
+ "attribute": "hide-screenshot-button",
580
+ "reflect": false,
581
+ "defaultValue": "false"
582
+ },
583
+ "hidePrivacyPolicy": {
584
+ "type": "boolean",
585
+ "mutable": false,
586
+ "complexType": {
587
+ "original": "boolean",
588
+ "resolved": "boolean",
589
+ "references": {}
590
+ },
591
+ "required": false,
592
+ "optional": false,
593
+ "docs": {
594
+ "tags": [],
595
+ "text": ""
596
+ },
597
+ "attribute": "hide-privacy-policy",
598
+ "reflect": false,
599
+ "defaultValue": "true"
600
+ },
601
+ "privacyPolicyText": {
602
+ "type": "string",
603
+ "mutable": false,
604
+ "complexType": {
605
+ "original": "string",
606
+ "resolved": "string",
607
+ "references": {}
608
+ },
609
+ "required": false,
610
+ "optional": false,
611
+ "docs": {
612
+ "tags": [],
613
+ "text": ""
614
+ },
615
+ "attribute": "privacy-policy-text",
616
+ "reflect": false,
617
+ "defaultValue": "\"I have read and expressly consent to the terms of the <a href='https://pushfeedback.com/privacy'>Privacy Policy</a>.\""
618
+ },
619
+ "fetchData": {
620
+ "type": "boolean",
621
+ "mutable": false,
622
+ "complexType": {
623
+ "original": "boolean",
624
+ "resolved": "boolean",
625
+ "references": {}
626
+ },
627
+ "required": false,
628
+ "optional": false,
629
+ "docs": {
630
+ "tags": [],
631
+ "text": ""
632
+ },
633
+ "attribute": "fetch-data",
634
+ "reflect": false,
635
+ "defaultValue": "true"
636
+ }
637
+ };
638
+ }
639
+ static get elementRef() { return "el"; }
640
+ }