@verdocs/web-sdk 1.9.0 → 1.9.2

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 (125) hide show
  1. package/dist/cjs/{Templates-111c6bae.js → Templates-e96f3799.js} +2 -2
  2. package/dist/cjs/{Templates-111c6bae.js.map → Templates-e96f3799.js.map} +1 -1
  3. package/dist/cjs/{VerdocsEndpoint-859be227.js → VerdocsEndpoint-0dcde19d.js} +4 -2
  4. package/dist/cjs/VerdocsEndpoint-0dcde19d.js.map +1 -0
  5. package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
  6. package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-document-page_3.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-preview.cjs.entry.js +2 -2
  10. package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +2 -2
  11. package/dist/cjs/verdocs-search.cjs.entry.js +1 -1
  12. package/dist/cjs/verdocs-send.cjs.entry.js +2 -2
  13. package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
  14. package/dist/cjs/verdocs-template-create_2.cjs.entry.js +1 -1
  15. package/dist/cjs/verdocs-template-fields.cjs.entry.js +2 -2
  16. package/dist/cjs/verdocs-template-properties.cjs.entry.js +1 -1
  17. package/dist/components/Templates.js +1 -1
  18. package/dist/components/Templates.js.map +1 -1
  19. package/dist/components/VerdocsEndpoint.js +3 -1
  20. package/dist/components/VerdocsEndpoint.js.map +1 -1
  21. package/dist/docs.json +1 -1
  22. package/dist/esm/{Templates-22116158.js → Templates-b21d67ac.js} +2 -2
  23. package/dist/esm/{Templates-22116158.js.map → Templates-b21d67ac.js.map} +1 -1
  24. package/dist/esm/{VerdocsEndpoint-9db225a3.js → VerdocsEndpoint-9acb111c.js} +4 -2
  25. package/dist/esm/VerdocsEndpoint-9acb111c.js.map +1 -0
  26. package/dist/esm/verdocs-auth.entry.js +1 -1
  27. package/dist/esm/verdocs-build.entry.js +1 -1
  28. package/dist/esm/verdocs-contact-picker.entry.js +1 -1
  29. package/dist/esm/verdocs-document-page_3.entry.js +1 -1
  30. package/dist/esm/verdocs-preview.entry.js +2 -2
  31. package/dist/esm/verdocs-quick-functions_3.entry.js +2 -2
  32. package/dist/esm/verdocs-search.entry.js +1 -1
  33. package/dist/esm/verdocs-send.entry.js +2 -2
  34. package/dist/esm/verdocs-sign.entry.js +1 -1
  35. package/dist/esm/verdocs-template-create_2.entry.js +1 -1
  36. package/dist/esm/verdocs-template-fields.entry.js +2 -2
  37. package/dist/esm/verdocs-template-properties.entry.js +1 -1
  38. package/dist/esm-es5/Templates-b21d67ac.js +2 -0
  39. package/dist/esm-es5/Templates-b21d67ac.js.map +1 -0
  40. package/dist/esm-es5/{VerdocsEndpoint-9db225a3.js → VerdocsEndpoint-9acb111c.js} +1 -1
  41. package/dist/esm-es5/VerdocsEndpoint-9acb111c.js.map +1 -0
  42. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  43. package/dist/esm-es5/verdocs-build.entry.js +1 -1
  44. package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
  45. package/dist/esm-es5/verdocs-document-page_3.entry.js +1 -1
  46. package/dist/esm-es5/verdocs-preview.entry.js +1 -1
  47. package/dist/esm-es5/verdocs-quick-functions_3.entry.js +1 -1
  48. package/dist/esm-es5/verdocs-search.entry.js +1 -1
  49. package/dist/esm-es5/verdocs-send.entry.js +1 -1
  50. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  51. package/dist/esm-es5/verdocs-template-create_2.entry.js +1 -1
  52. package/dist/esm-es5/verdocs-template-fields.entry.js +1 -1
  53. package/dist/esm-es5/verdocs-template-properties.entry.js +1 -1
  54. package/dist/verdocs-web-sdk/{p-9621659f.system.entry.js → p-00cbcb4e.system.entry.js} +2 -2
  55. package/dist/verdocs-web-sdk/{p-9621659f.system.entry.js.map → p-00cbcb4e.system.entry.js.map} +0 -0
  56. package/dist/verdocs-web-sdk/p-02b8feef.system.js +2 -0
  57. package/dist/verdocs-web-sdk/p-02b8feef.system.js.map +1 -0
  58. package/dist/verdocs-web-sdk/{p-625b652b.system.entry.js → p-07f9dc48.system.entry.js} +2 -2
  59. package/dist/verdocs-web-sdk/{p-625b652b.system.entry.js.map → p-07f9dc48.system.entry.js.map} +0 -0
  60. package/dist/verdocs-web-sdk/p-0e9450cd.system.js +1 -1
  61. package/dist/verdocs-web-sdk/{p-5c5f51d0.entry.js → p-0e95328a.entry.js} +2 -2
  62. package/dist/verdocs-web-sdk/{p-5c5f51d0.entry.js.map → p-0e95328a.entry.js.map} +0 -0
  63. package/dist/verdocs-web-sdk/{p-a3ab0ddc.js → p-10d804cf.js} +1 -1
  64. package/dist/verdocs-web-sdk/p-10d804cf.js.map +1 -0
  65. package/dist/verdocs-web-sdk/p-19f6c997.js +2 -0
  66. package/dist/verdocs-web-sdk/p-19f6c997.js.map +1 -0
  67. package/dist/verdocs-web-sdk/{p-cc9c9e0a.system.entry.js → p-2a99e4f6.system.entry.js} +2 -2
  68. package/dist/verdocs-web-sdk/{p-cc9c9e0a.system.entry.js.map → p-2a99e4f6.system.entry.js.map} +0 -0
  69. package/dist/verdocs-web-sdk/{p-8d45cd72.entry.js → p-3d189e0a.entry.js} +2 -2
  70. package/dist/verdocs-web-sdk/{p-8d45cd72.entry.js.map → p-3d189e0a.entry.js.map} +0 -0
  71. package/dist/verdocs-web-sdk/{p-e23a07e1.entry.js → p-3ffc6172.entry.js} +2 -2
  72. package/dist/verdocs-web-sdk/{p-e23a07e1.entry.js.map → p-3ffc6172.entry.js.map} +0 -0
  73. package/dist/verdocs-web-sdk/{p-cb87e087.entry.js → p-4118a026.entry.js} +2 -2
  74. package/dist/verdocs-web-sdk/{p-cb87e087.entry.js.map → p-4118a026.entry.js.map} +0 -0
  75. package/dist/verdocs-web-sdk/{p-52ddaceb.entry.js → p-42fcd6ea.entry.js} +2 -2
  76. package/dist/verdocs-web-sdk/{p-52ddaceb.entry.js.map → p-42fcd6ea.entry.js.map} +0 -0
  77. package/dist/verdocs-web-sdk/{p-0f1e7a03.system.entry.js → p-47b67754.system.entry.js} +2 -2
  78. package/dist/verdocs-web-sdk/{p-0f1e7a03.system.entry.js.map → p-47b67754.system.entry.js.map} +0 -0
  79. package/dist/verdocs-web-sdk/{p-0e916a9f.system.entry.js → p-522d9bc0.system.entry.js} +2 -2
  80. package/dist/verdocs-web-sdk/{p-0e916a9f.system.entry.js.map → p-522d9bc0.system.entry.js.map} +0 -0
  81. package/dist/verdocs-web-sdk/{p-70e1e6bf.system.entry.js → p-55fbb4b2.system.entry.js} +2 -2
  82. package/dist/verdocs-web-sdk/{p-70e1e6bf.system.entry.js.map → p-55fbb4b2.system.entry.js.map} +0 -0
  83. package/dist/verdocs-web-sdk/p-572039e2.entry.js +2 -0
  84. package/dist/verdocs-web-sdk/{p-8a338d80.entry.js.map → p-572039e2.entry.js.map} +1 -1
  85. package/dist/verdocs-web-sdk/{p-b5c0cc2f.system.entry.js → p-65ec779c.system.entry.js} +2 -2
  86. package/dist/verdocs-web-sdk/{p-b5c0cc2f.system.entry.js.map → p-65ec779c.system.entry.js.map} +0 -0
  87. package/dist/verdocs-web-sdk/{p-5ef55baa.system.entry.js → p-72caf72a.system.entry.js} +2 -2
  88. package/dist/verdocs-web-sdk/{p-5ef55baa.system.entry.js.map → p-72caf72a.system.entry.js.map} +0 -0
  89. package/dist/verdocs-web-sdk/{p-cfe0b3ca.system.js → p-7a63bdd1.system.js} +1 -1
  90. package/dist/verdocs-web-sdk/p-7a63bdd1.system.js.map +1 -0
  91. package/dist/verdocs-web-sdk/{p-3ac17b4d.entry.js → p-7fb1f63a.entry.js} +2 -2
  92. package/dist/verdocs-web-sdk/{p-3ac17b4d.entry.js.map → p-7fb1f63a.entry.js.map} +0 -0
  93. package/dist/verdocs-web-sdk/{p-93cb13a3.entry.js → p-82b2f059.entry.js} +2 -2
  94. package/dist/verdocs-web-sdk/{p-93cb13a3.entry.js.map → p-82b2f059.entry.js.map} +0 -0
  95. package/dist/verdocs-web-sdk/p-892f1969.entry.js +2 -0
  96. package/dist/verdocs-web-sdk/{p-f0617648.entry.js.map → p-892f1969.entry.js.map} +1 -1
  97. package/dist/verdocs-web-sdk/{p-17b11009.entry.js → p-9a6c1aa2.entry.js} +2 -2
  98. package/dist/verdocs-web-sdk/{p-17b11009.entry.js.map → p-9a6c1aa2.entry.js.map} +0 -0
  99. package/dist/verdocs-web-sdk/{p-93ef8f9d.system.entry.js → p-a636fd87.system.entry.js} +2 -2
  100. package/dist/verdocs-web-sdk/{p-93ef8f9d.system.entry.js.map → p-a636fd87.system.entry.js.map} +0 -0
  101. package/dist/verdocs-web-sdk/{p-3060c58f.system.entry.js → p-a7df258a.system.entry.js} +2 -2
  102. package/dist/verdocs-web-sdk/{p-3060c58f.system.entry.js.map → p-a7df258a.system.entry.js.map} +0 -0
  103. package/dist/verdocs-web-sdk/{p-426ac808.system.entry.js → p-bba4878d.system.entry.js} +2 -2
  104. package/dist/verdocs-web-sdk/{p-426ac808.system.entry.js.map → p-bba4878d.system.entry.js.map} +0 -0
  105. package/dist/verdocs-web-sdk/{p-cee969b9.entry.js → p-df84c85a.entry.js} +2 -2
  106. package/dist/verdocs-web-sdk/{p-cee969b9.entry.js.map → p-df84c85a.entry.js.map} +0 -0
  107. package/dist/verdocs-web-sdk/{p-8d8106a0.system.entry.js → p-f0a4aba9.system.entry.js} +2 -2
  108. package/dist/verdocs-web-sdk/{p-8d8106a0.system.entry.js.map → p-f0a4aba9.system.entry.js.map} +0 -0
  109. package/dist/verdocs-web-sdk/{p-56a7c62b.entry.js → p-f8550043.entry.js} +2 -2
  110. package/dist/verdocs-web-sdk/{p-56a7c62b.entry.js.map → p-f8550043.entry.js.map} +0 -0
  111. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  112. package/package.json +2 -2
  113. package/dist/cjs/VerdocsEndpoint-859be227.js.map +0 -1
  114. package/dist/esm/VerdocsEndpoint-9db225a3.js.map +0 -1
  115. package/dist/esm-es5/Templates-22116158.js +0 -2
  116. package/dist/esm-es5/Templates-22116158.js.map +0 -1
  117. package/dist/esm-es5/VerdocsEndpoint-9db225a3.js.map +0 -1
  118. package/dist/verdocs-web-sdk/p-710f8562.js +0 -2
  119. package/dist/verdocs-web-sdk/p-710f8562.js.map +0 -1
  120. package/dist/verdocs-web-sdk/p-8a338d80.entry.js +0 -2
  121. package/dist/verdocs-web-sdk/p-a3ab0ddc.js.map +0 -1
  122. package/dist/verdocs-web-sdk/p-c2e155d4.system.js +0 -2
  123. package/dist/verdocs-web-sdk/p-c2e155d4.system.js.map +0 -1
  124. package/dist/verdocs-web-sdk/p-cfe0b3ca.system.js.map +0 -1
  125. package/dist/verdocs-web-sdk/p-f0617648.entry.js +0 -2
@@ -1,2 +1,2 @@
1
- System.register(["./p-87379bb2.system.js","./p-a7433630.system.js","./p-cfe0b3ca.system.js","./p-187b20b7.system.js"],(function(t){"use strict";var e,n,i,s,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h},function(){},function(t){s=t.V},function(t){o=t.S}],execute:function(){var a=function(t,e){return t.api.post("/authentication/login",e).then((function(t){return t.data}))};var r='verdocs-auth{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-auth .login-form,verdocs-auth .signup-form{background:#ffffff;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;padding:20px;width:300px;max-width:100%}verdocs-auth .logo{margin:20px 0 30px;width:128px;max-width:100%}verdocs-auth h3{text-align:center;font-weight:400;font-size:16px;line-height:1.75;margin:0}verdocs-auth h4{text-align:center;font-weight:400;font-size:14px;line-height:1.43;margin:0}verdocs-auth .status-result{display:none}verdocs-auth .status-result.debug{white-space:pre-wrap;font-size:14px;background:#fff;padding:10px;display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-auth form{width:100%}verdocs-auth verdocs-text-input{margin-bottom:10px}';var l=t("verdocs_auth",function(){function t(t){e(this,t);this.authenticated=n(this,"authenticated",7);this.sdkError=n(this,"sdkError",7);this.endpoint=s.getDefault();this.visible=true;this.logo="https://verdocs.com/assets/blue-logo.svg";this.debug=false;this.isAuthenticated=false;this.displayMode="login";this.username="";this.password="";this.loggingIn=false;this.activeSession=null;this.loginError=null}t.prototype.componentWillLoad=function(){var t,e;this.endpoint.loadSession();if(this.endpoint.session){console.log("[AUTH] Authenticated");this.isAuthenticated=true;this.activeSession=this.endpoint.session;(t=this.authenticated)===null||t===void 0?void 0:t.emit({authenticated:true,session:this.endpoint.session})}else{console.log("[AUTH] Anonymous");(e=this.authenticated)===null||e===void 0?void 0:e.emit({authenticated:false,session:null})}};t.prototype.handleLogin=function(){var t=this;this.loggingIn=true;a(this.endpoint,{username:this.username,password:this.password}).then((function(e){var n;t.loggingIn=false;t.endpoint.setToken(e.accessToken);t.activeSession=t.endpoint.session;t.isAuthenticated=true;(n=t.authenticated)===null||n===void 0?void 0:n.emit({authenticated:true,session:t.endpoint.session})})).catch((function(e){var n,i,s,a,r;console.log("[AUTH] Authentication error",e.response,JSON.stringify(e));t.loggingIn=false;t.activeSession=null;(n=t.authenticated)===null||n===void 0?void 0:n.emit({authenticated:false,session:null});(i=t.sdkError)===null||i===void 0?void 0:i.emit(new o(e.message,(s=e.response)===null||s===void 0?void 0:s.status,(a=e.response)===null||a===void 0?void 0:a.data));if(((r=e===null||e===void 0?void 0:e.response)===null||r===void 0?void 0:r.status)===403){t.loginError="Please check your username and password and try again."}}))};t.prototype.handleLogout=function(){var t;this.endpoint.clearSession();this.isAuthenticated=false;(t=this.authenticated)===null||t===void 0?void 0:t.emit({authenticated:false,session:null})};t.prototype.handleClearError=function(){this.loginError=null};t.prototype.render=function(){var t=this;if(!this.visible){return i("div",{style:{display:"none"}},"Verdocs Auth Placeholder")}if(this.isAuthenticated){if(this.debug){return i("div",{class:"status-result debug"},i("verdocs-button",{label:"Logout",disabled:this.loggingIn,onPress:function(){return t.handleLogout()}}))}return i("div",{class:"status-result"},"Authenticated")}if(this.displayMode==="signup"){return i("div",{class:"signup-form"},i("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"}),i("h3",null,"Sign up for an account"),i("h4",null,"Already have an account?",i("verdocs-button",{label:"Log In",variant:"text",onClick:function(){return t.displayMode="login"},disabled:this.loggingIn})),i("form",{onSubmit:function(){return t.handleLogin()}},i("verdocs-text-input",{label:"Email",autocomplete:"username",value:this.username,onInput:function(e){return t.username=e.target.value},disabled:this.loggingIn}),i("verdocs-text-input",{label:"Password",type:"password",autocomplete:"current-password",value:this.password,onInput:function(e){return t.password=e.target.value},disabled:this.loggingIn}),i("verdocs-button",{label:"Signup",disabled:this.loggingIn,onPress:function(){return t.handleLogin()},style:{display:"flex",justifyContent:"center",margin:"30px auto 0"}})))}return i("div",{class:"login-form"},i("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"}),i("h3",null,"Log in to your account"),i("h4",null,"Don't have an account?",i("verdocs-button",{label:"Sign Up",variant:"text",onClick:function(){return t.displayMode="signup"},disabled:this.loggingIn})),i("form",{onSubmit:function(){return t.handleLogin()}},i("verdocs-text-input",{label:"Email",autocomplete:"username",value:this.username,onInput:function(e){return t.username=e.target.value},disabled:this.loggingIn}),i("verdocs-text-input",{label:"Password",type:"password",autocomplete:"current-password",value:this.password,onInput:function(e){return t.password=e.target.value},disabled:this.loggingIn}),i("verdocs-button",{label:"Forgot Your Password?",variant:"text",onClick:function(){return t.displayMode="signup"},disabled:this.loggingIn,style:{display:"flex",justifyContent:"center",margin:"10px auto 20px"}}),i("verdocs-button",{label:"Login",disabled:this.loggingIn,onPress:function(){return t.handleLogin()},style:{display:"flex",justifyContent:"center",margin:"10px auto 0"}})),this.loginError?i("verdocs-ok-dialog",{open:true,heading:"Login Error",message:this.loginError,onClosed:function(){return t.handleClearError()}}):i("div",null))};return t}());l.style=r}}}));
2
- //# sourceMappingURL=p-93ef8f9d.system.entry.js.map
1
+ System.register(["./p-87379bb2.system.js","./p-a7433630.system.js","./p-7a63bdd1.system.js","./p-187b20b7.system.js"],(function(t){"use strict";var e,n,i,s,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h},function(){},function(t){s=t.V},function(t){o=t.S}],execute:function(){var a=function(t,e){return t.api.post("/authentication/login",e).then((function(t){return t.data}))};var r='verdocs-auth{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-auth .login-form,verdocs-auth .signup-form{background:#ffffff;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;padding:20px;width:300px;max-width:100%}verdocs-auth .logo{margin:20px 0 30px;width:128px;max-width:100%}verdocs-auth h3{text-align:center;font-weight:400;font-size:16px;line-height:1.75;margin:0}verdocs-auth h4{text-align:center;font-weight:400;font-size:14px;line-height:1.43;margin:0}verdocs-auth .status-result{display:none}verdocs-auth .status-result.debug{white-space:pre-wrap;font-size:14px;background:#fff;padding:10px;display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-auth form{width:100%}verdocs-auth verdocs-text-input{margin-bottom:10px}';var l=t("verdocs_auth",function(){function t(t){e(this,t);this.authenticated=n(this,"authenticated",7);this.sdkError=n(this,"sdkError",7);this.endpoint=s.getDefault();this.visible=true;this.logo="https://verdocs.com/assets/blue-logo.svg";this.debug=false;this.isAuthenticated=false;this.displayMode="login";this.username="";this.password="";this.loggingIn=false;this.activeSession=null;this.loginError=null}t.prototype.componentWillLoad=function(){var t,e;this.endpoint.loadSession();if(this.endpoint.session){console.log("[AUTH] Authenticated");this.isAuthenticated=true;this.activeSession=this.endpoint.session;(t=this.authenticated)===null||t===void 0?void 0:t.emit({authenticated:true,session:this.endpoint.session})}else{console.log("[AUTH] Anonymous");(e=this.authenticated)===null||e===void 0?void 0:e.emit({authenticated:false,session:null})}};t.prototype.handleLogin=function(){var t=this;this.loggingIn=true;a(this.endpoint,{username:this.username,password:this.password}).then((function(e){var n;t.loggingIn=false;t.endpoint.setToken(e.accessToken);t.activeSession=t.endpoint.session;t.isAuthenticated=true;(n=t.authenticated)===null||n===void 0?void 0:n.emit({authenticated:true,session:t.endpoint.session})})).catch((function(e){var n,i,s,a,r;console.log("[AUTH] Authentication error",e.response,JSON.stringify(e));t.loggingIn=false;t.activeSession=null;(n=t.authenticated)===null||n===void 0?void 0:n.emit({authenticated:false,session:null});(i=t.sdkError)===null||i===void 0?void 0:i.emit(new o(e.message,(s=e.response)===null||s===void 0?void 0:s.status,(a=e.response)===null||a===void 0?void 0:a.data));if(((r=e===null||e===void 0?void 0:e.response)===null||r===void 0?void 0:r.status)===403){t.loginError="Please check your username and password and try again."}}))};t.prototype.handleLogout=function(){var t;this.endpoint.clearSession();this.isAuthenticated=false;(t=this.authenticated)===null||t===void 0?void 0:t.emit({authenticated:false,session:null})};t.prototype.handleClearError=function(){this.loginError=null};t.prototype.render=function(){var t=this;if(!this.visible){return i("div",{style:{display:"none"}},"Verdocs Auth Placeholder")}if(this.isAuthenticated){if(this.debug){return i("div",{class:"status-result debug"},i("verdocs-button",{label:"Logout",disabled:this.loggingIn,onPress:function(){return t.handleLogout()}}))}return i("div",{class:"status-result"},"Authenticated")}if(this.displayMode==="signup"){return i("div",{class:"signup-form"},i("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"}),i("h3",null,"Sign up for an account"),i("h4",null,"Already have an account?",i("verdocs-button",{label:"Log In",variant:"text",onClick:function(){return t.displayMode="login"},disabled:this.loggingIn})),i("form",{onSubmit:function(){return t.handleLogin()}},i("verdocs-text-input",{label:"Email",autocomplete:"username",value:this.username,onInput:function(e){return t.username=e.target.value},disabled:this.loggingIn}),i("verdocs-text-input",{label:"Password",type:"password",autocomplete:"current-password",value:this.password,onInput:function(e){return t.password=e.target.value},disabled:this.loggingIn}),i("verdocs-button",{label:"Signup",disabled:this.loggingIn,onPress:function(){return t.handleLogin()},style:{display:"flex",justifyContent:"center",margin:"30px auto 0"}})))}return i("div",{class:"login-form"},i("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"}),i("h3",null,"Log in to your account"),i("h4",null,"Don't have an account?",i("verdocs-button",{label:"Sign Up",variant:"text",onClick:function(){return t.displayMode="signup"},disabled:this.loggingIn})),i("form",{onSubmit:function(){return t.handleLogin()}},i("verdocs-text-input",{label:"Email",autocomplete:"username",value:this.username,onInput:function(e){return t.username=e.target.value},disabled:this.loggingIn}),i("verdocs-text-input",{label:"Password",type:"password",autocomplete:"current-password",value:this.password,onInput:function(e){return t.password=e.target.value},disabled:this.loggingIn}),i("verdocs-button",{label:"Forgot Your Password?",variant:"text",onClick:function(){return t.displayMode="signup"},disabled:this.loggingIn,style:{display:"flex",justifyContent:"center",margin:"10px auto 20px"}}),i("verdocs-button",{label:"Login",disabled:this.loggingIn,onPress:function(){return t.handleLogin()},style:{display:"flex",justifyContent:"center",margin:"10px auto 0"}})),this.loginError?i("verdocs-ok-dialog",{open:true,heading:"Login Error",message:this.loginError,onClosed:function(){return t.handleClearError()}}):i("div",null))};return t}());l.style=r}}}));
2
+ //# sourceMappingURL=p-a636fd87.system.entry.js.map
@@ -1,2 +1,2 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function l(e){try{s(r.next(e))}catch(e){o(e)}}function a(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(l,a)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return s([e,t])}}function s(l){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=l[0]&2?i["return"]:l[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;if(i=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;i=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){n.label=l[1];break}if(l[0]===6&&n.label<o[1]){n.label=o[1];o=l;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(l);break}if(o[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];i=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-87379bb2.system.js","./p-a7433630.system.js","./p-cfe0b3ca.system.js"],(function(e){"use strict";var t,n,r,i,o;return{setters:[function(e){t=e.r;n=e.c;r=e.h;i=e.H},function(){},function(e){o=e.V}],execute:function(){var l='verdocs-build{display:-ms-flexbox;display:flex;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}';var a=e("verdocs_build",function(){function e(e){t(this,e);this.sdkError=n(this,"sdkError",7);this.endpoint=o.getDefault();this.templateId=null;this.step="create";this.pdfUrl=null;this.template=null;this.fields=[]}e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))};e.prototype.handleCancel=function(e){console.log("Cancel",e.detail);this.step=""};e.prototype.handleFileUpload=function(e){console.log("Uploaded",e.detail);this.step="recipients"};e.prototype.render=function(){var e=this;return r(i,null,this.step==="create"&&r("verdocs-template-create",{onCancel:function(t){return e.handleCancel(t)},onFileUploaded:function(t){return e.handleFileUpload(t)}}),this.step==="recipients"&&r("verdocs-template-recipients",{onCancel:function(t){return e.handleCancel(t)}}))};return e}());a.style=l}}}));
2
- //# sourceMappingURL=p-3060c58f.system.entry.js.map
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function l(e){try{s(r.next(e))}catch(e){o(e)}}function a(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(l,a)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return s([e,t])}}function s(l){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=l[0]&2?i["return"]:l[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;if(i=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;i=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){n.label=l[1];break}if(l[0]===6&&n.label<o[1]){n.label=o[1];o=l;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(l);break}if(o[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];i=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-87379bb2.system.js","./p-a7433630.system.js","./p-7a63bdd1.system.js"],(function(e){"use strict";var t,n,r,i,o;return{setters:[function(e){t=e.r;n=e.c;r=e.h;i=e.H},function(){},function(e){o=e.V}],execute:function(){var l='verdocs-build{display:-ms-flexbox;display:flex;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}';var a=e("verdocs_build",function(){function e(e){t(this,e);this.sdkError=n(this,"sdkError",7);this.endpoint=o.getDefault();this.templateId=null;this.step="create";this.pdfUrl=null;this.template=null;this.fields=[]}e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))};e.prototype.handleCancel=function(e){console.log("Cancel",e.detail);this.step=""};e.prototype.handleFileUpload=function(e){console.log("Uploaded",e.detail);this.step="recipients"};e.prototype.render=function(){var e=this;return r(i,null,this.step==="create"&&r("verdocs-template-create",{onCancel:function(t){return e.handleCancel(t)},onFileUploaded:function(t){return e.handleFileUpload(t)}}),this.step==="recipients"&&r("verdocs-template-recipients",{onCancel:function(t){return e.handleCancel(t)}}))};return e}());a.style=l}}}));
2
+ //# sourceMappingURL=p-a7df258a.system.entry.js.map
@@ -1,2 +1,2 @@
1
- System.register(["./p-87379bb2.system.js","./p-a7433630.system.js","./p-cfe0b3ca.system.js"],(function(e){"use strict";var t,o,i,r;return{setters:[function(e){t=e.r;o=e.c;i=e.h},function(){},function(e){r=e.V}],execute:function(){var l='verdocs-template-properties{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-template-properties form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-properties form h5{font-size:14px;font-weight:400;margin:0 0 6px 0}verdocs-template-properties form .row{display:-ms-flexbox;display:flex;position:relative;margin:0 0 20px 0;-ms-flex-direction:column;flex-direction:column}verdocs-template-properties form fieldset{width:440px;border:none;max-width:100%;margin:0 0 20px 0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:20px 20px 10px 20px;background-color:#ffffff;-webkit-box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.14);box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.14)}verdocs-template-properties form label{display:block;font-size:14px;font-weight:500;margin:0 0 4px 0;color:#5c6575}verdocs-template-properties form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-template-properties form input:focus{outline:none}verdocs-template-properties form .input-row{display:-ms-flexbox;display:flex;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-properties form .input-row label{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-properties form .input-row verdocs-text-input{margin:0;display:-ms-flexbox;display:flex;-ms-flex:0 0 40px;flex:0 0 40px}verdocs-template-properties form .input-row verdocs-text-input input{text-align:center}verdocs-template-properties form .input-row verdocs-checkbox{display:-ms-flexbox;display:flex;-ms-flex:0 0 40px;flex:0 0 40px;-ms-flex-pack:center;justify-content:center}verdocs-template-properties form .radio-row{display:-ms-flexbox;display:flex;position:relative;margin:0 0 10px 0;-ms-flex-direction:row;flex-direction:row}verdocs-template-properties form .radio-row verdocs-radio-button{display:-ms-flexbox;display:flex;-ms-flex:0 0 30px;flex:0 0 30px}verdocs-template-properties form .radio-row label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-properties form .radio-row label .title{font-size:16px;font-weight:500}verdocs-template-properties form .radio-row label .description{font-size:14px;font-weight:400}verdocs-template-properties .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-template-properties .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-template-properties ::-webkit-input-placeholder{color:#aaaaaa}verdocs-template-properties ::-moz-placeholder{color:#aaaaaa}verdocs-template-properties :-ms-input-placeholder{color:#aaaaaa}verdocs-template-properties ::-ms-input-placeholder{color:#aaaaaa}verdocs-template-properties ::placeholder{color:#aaaaaa}';var a=e("verdocs_template_properties",function(){function e(e){t(this,e);this.cancel=o(this,"cancel",7);this.endpoint=r.getDefault();this.templateRole=null;this.sendReminders=false}e.prototype.componentWillLoad=function(){};e.prototype.handleNameChange=function(e){console.log(e)};e.prototype.handleMessageChange=function(e){console.log(e)};e.prototype.handleCancel=function(e){var t;e.stopPropagation();(t=this.cancel)===null||t===void 0?void 0:t.emit()};e.prototype.handleSubmit=function(e){e.stopPropagation()};e.prototype.render=function(){var e=this;return i("form",{onSubmit:function(e){return e.preventDefault()},onClick:function(e){return e.stopPropagation()},autocomplete:"off"},i("h5",null,"Template Name"),i("fieldset",null,i("verdocs-text-input",{value:"Motor Vehicle Bill of Sale",autocomplete:"off"})),i("h5",null,"Reminders"),i("fieldset",null,i("div",{class:"input-row"},i("label",null,"Send Automatic Reminders"),i("verdocs-checkbox",{name:"automatic-reminders",checked:true})),i("div",{class:"input-row"},i("label",null,"Days Before First Reminder"),i("verdocs-text-input",{value:"1"})),i("div",{class:"input-row"},i("label",null,"Days Between Reminders"),i("verdocs-text-input",{value:"1"}))),i("h5",null,"Template Visibility"),i("fieldset",null,i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"private"}),i("label",{htmlFor:"verdocs-radio-button-visibility-private"},i("div",{class:"title"},"Private"),i("div",{class:"description"},"Only you can share and use this template"))),i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"shared"}),i("label",{htmlFor:"verdocs-radio-button-visibility-shared"},i("div",{class:"title"},"Shared to your organization"),i("div",{class:"description"},"Give access to your organization to share and use this template"))),i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"shared_public"}),i("label",{htmlFor:"verdocs-radio-button-visibility-shared_public"},i("div",{class:"title"},"Shared to your organization and Public"),i("div",{class:"description"},"Give access to your organization to share this template, and anyone on the Web can find and use this template"))),i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"public"}),i("label",{htmlFor:"verdocs-radio-button-visibility-public"},i("div",{class:"title"},"Public"),i("div",{class:"description"},"Anyone on the Web can find and use this template")))),i("div",{class:"buttons"},i("div",{class:"flex-fill"}),i("verdocs-button",{variant:"outline",label:"Cancel",size:"small",onPress:function(t){return e.handleCancel(t)}}),i("verdocs-button",{label:"OK",size:"small",onPress:function(t){return e.handleSubmit(t)}})))};return e}());a.style=l}}}));
2
- //# sourceMappingURL=p-426ac808.system.entry.js.map
1
+ System.register(["./p-87379bb2.system.js","./p-a7433630.system.js","./p-7a63bdd1.system.js"],(function(e){"use strict";var t,o,i,r;return{setters:[function(e){t=e.r;o=e.c;i=e.h},function(){},function(e){r=e.V}],execute:function(){var l='verdocs-template-properties{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-template-properties form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-properties form h5{font-size:14px;font-weight:400;margin:0 0 6px 0}verdocs-template-properties form .row{display:-ms-flexbox;display:flex;position:relative;margin:0 0 20px 0;-ms-flex-direction:column;flex-direction:column}verdocs-template-properties form fieldset{width:440px;border:none;max-width:100%;margin:0 0 20px 0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:20px 20px 10px 20px;background-color:#ffffff;-webkit-box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.14);box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.14)}verdocs-template-properties form label{display:block;font-size:14px;font-weight:500;margin:0 0 4px 0;color:#5c6575}verdocs-template-properties form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-template-properties form input:focus{outline:none}verdocs-template-properties form .input-row{display:-ms-flexbox;display:flex;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-properties form .input-row label{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-properties form .input-row verdocs-text-input{margin:0;display:-ms-flexbox;display:flex;-ms-flex:0 0 40px;flex:0 0 40px}verdocs-template-properties form .input-row verdocs-text-input input{text-align:center}verdocs-template-properties form .input-row verdocs-checkbox{display:-ms-flexbox;display:flex;-ms-flex:0 0 40px;flex:0 0 40px;-ms-flex-pack:center;justify-content:center}verdocs-template-properties form .radio-row{display:-ms-flexbox;display:flex;position:relative;margin:0 0 10px 0;-ms-flex-direction:row;flex-direction:row}verdocs-template-properties form .radio-row verdocs-radio-button{display:-ms-flexbox;display:flex;-ms-flex:0 0 30px;flex:0 0 30px}verdocs-template-properties form .radio-row label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-properties form .radio-row label .title{font-size:16px;font-weight:500}verdocs-template-properties form .radio-row label .description{font-size:14px;font-weight:400}verdocs-template-properties .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-template-properties .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-template-properties ::-webkit-input-placeholder{color:#aaaaaa}verdocs-template-properties ::-moz-placeholder{color:#aaaaaa}verdocs-template-properties :-ms-input-placeholder{color:#aaaaaa}verdocs-template-properties ::-ms-input-placeholder{color:#aaaaaa}verdocs-template-properties ::placeholder{color:#aaaaaa}';var a=e("verdocs_template_properties",function(){function e(e){t(this,e);this.cancel=o(this,"cancel",7);this.endpoint=r.getDefault();this.templateRole=null;this.sendReminders=false}e.prototype.componentWillLoad=function(){};e.prototype.handleNameChange=function(e){console.log(e)};e.prototype.handleMessageChange=function(e){console.log(e)};e.prototype.handleCancel=function(e){var t;e.stopPropagation();(t=this.cancel)===null||t===void 0?void 0:t.emit()};e.prototype.handleSubmit=function(e){e.stopPropagation()};e.prototype.render=function(){var e=this;return i("form",{onSubmit:function(e){return e.preventDefault()},onClick:function(e){return e.stopPropagation()},autocomplete:"off"},i("h5",null,"Template Name"),i("fieldset",null,i("verdocs-text-input",{value:"Motor Vehicle Bill of Sale",autocomplete:"off"})),i("h5",null,"Reminders"),i("fieldset",null,i("div",{class:"input-row"},i("label",null,"Send Automatic Reminders"),i("verdocs-checkbox",{name:"automatic-reminders",checked:true})),i("div",{class:"input-row"},i("label",null,"Days Before First Reminder"),i("verdocs-text-input",{value:"1"})),i("div",{class:"input-row"},i("label",null,"Days Between Reminders"),i("verdocs-text-input",{value:"1"}))),i("h5",null,"Template Visibility"),i("fieldset",null,i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"private"}),i("label",{htmlFor:"verdocs-radio-button-visibility-private"},i("div",{class:"title"},"Private"),i("div",{class:"description"},"Only you can share and use this template"))),i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"shared"}),i("label",{htmlFor:"verdocs-radio-button-visibility-shared"},i("div",{class:"title"},"Shared to your organization"),i("div",{class:"description"},"Give access to your organization to share and use this template"))),i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"shared_public"}),i("label",{htmlFor:"verdocs-radio-button-visibility-shared_public"},i("div",{class:"title"},"Shared to your organization and Public"),i("div",{class:"description"},"Give access to your organization to share this template, and anyone on the Web can find and use this template"))),i("div",{class:"radio-row"},i("verdocs-radio-button",{name:"visibility",checked:true,value:"public"}),i("label",{htmlFor:"verdocs-radio-button-visibility-public"},i("div",{class:"title"},"Public"),i("div",{class:"description"},"Anyone on the Web can find and use this template")))),i("div",{class:"buttons"},i("div",{class:"flex-fill"}),i("verdocs-button",{variant:"outline",label:"Cancel",size:"small",onPress:function(t){return e.handleCancel(t)}}),i("verdocs-button",{label:"OK",size:"small",onPress:function(t){return e.handleSubmit(t)}})))};return e}());a.style=l}}}));
2
+ //# sourceMappingURL=p-bba4878d.system.entry.js.map