@verdocs/web-sdk 1.0.12 → 1.0.15

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 (160) hide show
  1. package/dist/cjs/{Content-e6f81563.js → Content-986f7a13.js} +15 -2
  2. package/dist/cjs/document-status-indicator.cjs.entry.js +2 -2
  3. package/dist/cjs/dropdown-menu.cjs.entry.js +2 -2
  4. package/dist/cjs/{index-2293949e.js → index-e2fb537e.js} +359 -8
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/org-popup.cjs.entry.js +2 -2
  7. package/dist/cjs/pdf-viewer.cjs.entry.js +6 -2
  8. package/dist/cjs/search-box.cjs.entry.js +22 -3
  9. package/dist/cjs/search-embed.cjs.entry.js +1 -1
  10. package/dist/cjs/search-quick-functions.cjs.entry.js +2 -2
  11. package/dist/cjs/search-recent.cjs.entry.js +3 -3
  12. package/dist/cjs/search-saved.cjs.entry.js +3 -3
  13. package/dist/cjs/search-starred.cjs.entry.js +6 -5
  14. package/dist/cjs/search-tabs.cjs.entry.js +2 -1
  15. package/dist/cjs/tags-indicator.cjs.entry.js +2 -2
  16. package/dist/cjs/template-card.cjs.entry.js +2 -2
  17. package/dist/cjs/toggle-icon-buttons.cjs.entry.js +2 -2
  18. package/dist/cjs/verdocs-web-sdk.cjs.js +2 -2
  19. package/dist/collection/api/endpoint.js +1 -0
  20. package/dist/collection/collection-manifest.json +1 -1
  21. package/dist/collection/components/controls/document-status-indicator/document-status-indicator.css +10 -4
  22. package/dist/collection/components/controls/document-status-indicator/document-status-indicator.js +1 -2
  23. package/dist/collection/components/controls/dropdown-menu/dropdown-menu.css +23 -19
  24. package/dist/collection/components/controls/dropdown-menu/dropdown-menu.js +1 -2
  25. package/dist/collection/components/controls/tags-indicator/tags-indicator.css +8 -2
  26. package/dist/collection/components/controls/tags-indicator/tags-indicator.js +1 -2
  27. package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.css +18 -12
  28. package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.js +1 -2
  29. package/dist/collection/components/elements/org-popup/org-popup.css +17 -17
  30. package/dist/collection/components/elements/org-popup/org-popup.js +1 -2
  31. package/dist/collection/components/elements/search-box/close.svg +3 -0
  32. package/dist/collection/components/elements/search-box/search-box.css +70 -2
  33. package/dist/collection/components/elements/search-box/search-box.js +70 -4
  34. package/dist/collection/components/elements/search-box/search-box.stories.js +7 -9
  35. package/dist/collection/components/elements/search-box/search.svg +3 -0
  36. package/dist/collection/components/elements/search-quick-functions/search-quick-functions.css +10 -12
  37. package/dist/collection/components/elements/search-quick-functions/search-quick-functions.js +1 -2
  38. package/dist/collection/components/elements/search-recent/search-recent.css +15 -22
  39. package/dist/collection/components/elements/search-recent/search-recent.js +1 -2
  40. package/dist/collection/components/elements/search-saved/search-saved.css +14 -20
  41. package/dist/collection/components/elements/search-saved/search-saved.js +1 -2
  42. package/dist/collection/components/elements/search-starred/search-starred.css +22 -40
  43. package/dist/collection/components/elements/search-starred/search-starred.js +31 -8
  44. package/dist/collection/components/elements/search-starred/search-starred.stories.js +13 -15
  45. package/dist/collection/components/elements/search-tabs/search-tabs.css +1 -1
  46. package/dist/collection/components/elements/search-tabs/search-tabs.js +8 -3
  47. package/dist/collection/components/elements/template-card/template-card.css +21 -13
  48. package/dist/collection/components/elements/template-card/template-card.js +2 -3
  49. package/dist/collection/components/embeds/search-embed/search-embed.css +1 -1
  50. package/dist/collection/components/embeds/search-embed/search-embed.js +1 -1
  51. package/dist/collection/components/pdf-viewer/pdf-viewer.css +7 -4
  52. package/dist/collection/components/pdf-viewer/pdf-viewer.js +2 -3
  53. package/dist/custom-elements/index.js +70 -45
  54. package/dist/custom-elements.json +266 -0
  55. package/dist/docs.json +69 -18
  56. package/dist/esm/{Content-0acef73b.js → Content-386637c8.js} +15 -2
  57. package/dist/esm/document-status-indicator.entry.js +2 -2
  58. package/dist/esm/dropdown-menu.entry.js +2 -2
  59. package/dist/esm/{index-69a4b693.js → index-183a8995.js} +359 -8
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/org-popup.entry.js +2 -2
  62. package/dist/esm/pdf-viewer.entry.js +6 -2
  63. package/dist/esm/search-box.entry.js +22 -3
  64. package/dist/esm/search-embed.entry.js +1 -1
  65. package/dist/esm/search-quick-functions.entry.js +2 -2
  66. package/dist/esm/search-recent.entry.js +3 -3
  67. package/dist/esm/search-saved.entry.js +3 -3
  68. package/dist/esm/search-starred.entry.js +6 -5
  69. package/dist/esm/search-tabs.entry.js +2 -1
  70. package/dist/esm/tags-indicator.entry.js +2 -2
  71. package/dist/esm/template-card.entry.js +2 -2
  72. package/dist/esm/toggle-icon-buttons.entry.js +2 -2
  73. package/dist/esm/verdocs-web-sdk.js +2 -2
  74. package/dist/esm-es5/{Content-0acef73b.js → Content-386637c8.js} +1 -1
  75. package/dist/esm-es5/document-status-indicator.entry.js +1 -1
  76. package/dist/esm-es5/dropdown-menu.entry.js +1 -1
  77. package/dist/esm-es5/index-183a8995.js +1 -0
  78. package/dist/esm-es5/loader.js +1 -1
  79. package/dist/esm-es5/org-popup.entry.js +1 -1
  80. package/dist/esm-es5/pdf-viewer.entry.js +2 -2
  81. package/dist/esm-es5/search-box.entry.js +1 -1
  82. package/dist/esm-es5/search-embed.entry.js +1 -1
  83. package/dist/esm-es5/search-quick-functions.entry.js +1 -1
  84. package/dist/esm-es5/search-recent.entry.js +1 -1
  85. package/dist/esm-es5/search-saved.entry.js +1 -1
  86. package/dist/esm-es5/search-starred.entry.js +1 -1
  87. package/dist/esm-es5/search-tabs.entry.js +1 -1
  88. package/dist/esm-es5/tags-indicator.entry.js +1 -1
  89. package/dist/esm-es5/template-card.entry.js +1 -1
  90. package/dist/esm-es5/toggle-icon-buttons.entry.js +1 -1
  91. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  92. package/dist/types/api/endpoint.d.ts +1 -0
  93. package/dist/types/components/elements/search-box/search-box.d.ts +14 -0
  94. package/dist/types/components/elements/search-box/search-box.stories.d.ts +3 -2
  95. package/dist/types/components/elements/search-starred/search-starred.d.ts +10 -1
  96. package/dist/types/components/elements/search-starred/search-starred.stories.d.ts +2 -1
  97. package/dist/types/components/elements/search-tabs/search-tabs.d.ts +2 -0
  98. package/dist/types/components/elements/template-card/template-card.d.ts +1 -1
  99. package/dist/types/components.d.ts +13 -2
  100. package/dist/verdocs-web-sdk/p-153879ad.entry.js +1 -0
  101. package/dist/verdocs-web-sdk/{p-299c2e14.system.entry.js → p-1d1bc463.system.entry.js} +1 -1
  102. package/dist/verdocs-web-sdk/p-29cb7cbc.entry.js +1 -0
  103. package/dist/verdocs-web-sdk/{p-f6bd3c28.entry.js → p-2cec77cf.entry.js} +1 -1
  104. package/dist/verdocs-web-sdk/{p-79141dc5.entry.js → p-32a5788a.entry.js} +1 -1
  105. package/dist/verdocs-web-sdk/{p-23d40cb1.system.js → p-33f73371.system.js} +1 -1
  106. package/dist/verdocs-web-sdk/p-349248f0.system.entry.js +1 -0
  107. package/dist/verdocs-web-sdk/{p-4ffe65f0.entry.js → p-36082c90.entry.js} +1 -1
  108. package/dist/verdocs-web-sdk/p-3a032151.entry.js +1 -0
  109. package/dist/verdocs-web-sdk/p-3cc8281f.system.entry.js +1 -0
  110. package/dist/verdocs-web-sdk/p-440d8a73.system.entry.js +1 -0
  111. package/dist/verdocs-web-sdk/{p-d498562e.system.entry.js → p-4d4e090f.system.entry.js} +1 -1
  112. package/dist/verdocs-web-sdk/p-55660c24.entry.js +1 -0
  113. package/dist/verdocs-web-sdk/p-63107dd5.system.entry.js +1 -0
  114. package/dist/verdocs-web-sdk/p-6b569aa1.system.entry.js +1 -0
  115. package/dist/verdocs-web-sdk/{p-4b97efc0.system.entry.js → p-6e033b90.system.entry.js} +1 -1
  116. package/dist/verdocs-web-sdk/p-6ee008ff.entry.js +1 -0
  117. package/dist/verdocs-web-sdk/p-7ab216be.system.entry.js +1 -0
  118. package/dist/verdocs-web-sdk/{p-ea92818e.system.entry.js → p-7d10b067.system.entry.js} +2 -2
  119. package/dist/verdocs-web-sdk/p-89be87e5.js +1 -0
  120. package/dist/verdocs-web-sdk/p-92e7863c.system.entry.js +1 -0
  121. package/dist/verdocs-web-sdk/p-99ebfee7.system.entry.js +1 -0
  122. package/dist/verdocs-web-sdk/p-9af63b8a.system.js +1 -0
  123. package/dist/verdocs-web-sdk/p-9da35744.entry.js +1 -0
  124. package/dist/verdocs-web-sdk/p-b3d5601a.entry.js +1 -0
  125. package/dist/verdocs-web-sdk/p-b466e003.entry.js +1 -0
  126. package/dist/verdocs-web-sdk/p-bb99a203.entry.js +1 -0
  127. package/dist/verdocs-web-sdk/p-cbc784a6.system.js +1 -0
  128. package/dist/verdocs-web-sdk/{p-3b38a704.js → p-cf030985.js} +1 -1
  129. package/dist/verdocs-web-sdk/{p-f8532ba9.entry.js → p-d73f486f.entry.js} +2 -2
  130. package/dist/verdocs-web-sdk/p-dea09611.entry.js +1 -0
  131. package/dist/verdocs-web-sdk/p-e34538bd.system.entry.js +1 -0
  132. package/dist/verdocs-web-sdk/p-e59eda0c.system.entry.js +1 -0
  133. package/dist/verdocs-web-sdk/verdocs-web-sdk.css +1 -0
  134. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  135. package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
  136. package/package.json +4 -2
  137. package/dist/esm-es5/index-69a4b693.js +0 -1
  138. package/dist/verdocs-web-sdk/p-0851fc9a.entry.js +0 -1
  139. package/dist/verdocs-web-sdk/p-09a2b37a.system.entry.js +0 -1
  140. package/dist/verdocs-web-sdk/p-0c7f99e4.system.entry.js +0 -1
  141. package/dist/verdocs-web-sdk/p-10b8a992.system.entry.js +0 -1
  142. package/dist/verdocs-web-sdk/p-16920169.js +0 -1
  143. package/dist/verdocs-web-sdk/p-1d99fd7e.entry.js +0 -1
  144. package/dist/verdocs-web-sdk/p-20def3b4.system.entry.js +0 -1
  145. package/dist/verdocs-web-sdk/p-3120e567.system.entry.js +0 -1
  146. package/dist/verdocs-web-sdk/p-496ff0a9.entry.js +0 -1
  147. package/dist/verdocs-web-sdk/p-52695ad1.system.entry.js +0 -1
  148. package/dist/verdocs-web-sdk/p-58183d59.system.entry.js +0 -1
  149. package/dist/verdocs-web-sdk/p-64b6c2b3.entry.js +0 -1
  150. package/dist/verdocs-web-sdk/p-7427f970.entry.js +0 -1
  151. package/dist/verdocs-web-sdk/p-7b071b76.system.js +0 -1
  152. package/dist/verdocs-web-sdk/p-83fe27d7.entry.js +0 -1
  153. package/dist/verdocs-web-sdk/p-918d1153.system.js +0 -1
  154. package/dist/verdocs-web-sdk/p-943c181c.entry.js +0 -1
  155. package/dist/verdocs-web-sdk/p-a10f4a2a.system.entry.js +0 -1
  156. package/dist/verdocs-web-sdk/p-acbc9fd7.system.entry.js +0 -1
  157. package/dist/verdocs-web-sdk/p-ad52e615.entry.js +0 -1
  158. package/dist/verdocs-web-sdk/p-af8bde91.entry.js +0 -1
  159. package/dist/verdocs-web-sdk/p-c9c2393e.entry.js +0 -1
  160. package/dist/verdocs-web-sdk/p-eaee7c4a.system.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as e,c as r,h as o,H as i}from"./p-89be87e5.js";let t=class{constructor(o){e(this,o),this.search=r(this,"search",7),this.type="all"}handleSubmit(e){e.preventDefault(),this.search.emit({type:this.type,q:this.q})}handleChange(e){this.q=e.target.value}render(){return o(i,null,o("form",{onSubmit:e=>this.handleSubmit(e)},void 0!==this.type&&"all"!==this.type&&o("span",{class:"type"},this.type,"s ",o("button",{class:"remove",innerHTML:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.0739 11.7565L19.7127 6.23228C20.0875 5.85692 20.0875 5.25309 19.7127 4.87773L19.0213 4.20046C18.6382 3.82511 18.0219 3.82511 17.6387 4.20046L12 9.72472L6.36127 4.20046C5.97814 3.82511 5.36179 3.82511 4.97866 4.20046L4.28735 4.87773C3.90422 5.25309 3.90422 5.85692 4.28735 6.23228L9.92608 11.7565L4.28735 17.2808C3.90422 17.6561 3.90422 18.26 4.28735 18.6353L4.97866 19.3126C5.36179 19.688 5.97814 19.688 6.36127 19.3126L12 13.7883L17.6387 19.3126C18.0219 19.688 18.6382 19.688 19.0213 19.3126L19.7127 18.6353C20.0958 18.26 20.0958 17.6561 19.7127 17.2808L14.0739 11.7565Z" fill="white"/>\n</svg>\n'})),o("input",{type:"text",placeholder:"search documents, templates, people...",value:this.q,onInput:e=>this.handleChange(e)}),o("button",{onClick:e=>this.handleSubmit(e),class:"search"},o("span",{innerHTML:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M23.4809 20.7176L17.9111 15.2536C19.0961 13.6368 19.727 11.6926 19.7128 9.70131C19.7201 7.53345 18.9846 5.42606 17.6244 3.71753C16.2642 2.009 14.3581 0.798456 12.2123 0.280282C10.0665 -0.237892 7.80552 -0.0336342 5.79227 0.86026C3.77902 1.75415 2.13038 3.28582 1.1111 5.20931C0.0918114 7.1328 -0.238985 9.33652 0.171813 11.4666C0.582612 13.5967 1.71117 15.5296 3.37628 16.9548C5.0414 18.3801 7.14646 19.2151 9.35344 19.3257C11.5604 19.4364 13.7413 18.8162 15.5458 17.5649L21.1372 23.05L21.1563 23.0663C21.4841 23.3487 21.9039 23.507 22.3401 23.5128C22.7823 23.5125 23.2063 23.3402 23.5191 23.0337V23.0337C23.6749 22.8812 23.7979 22.6995 23.8804 22.4993C23.963 22.2991 24.0036 22.0847 23.9997 21.8688C23.9959 21.6529 23.9477 21.44 23.858 21.2428C23.7683 21.0456 23.639 20.8682 23.4778 20.7212L23.4809 20.7176ZM14.5167 14.1975C13.4564 15.2349 12.0623 15.8797 10.5719 16.022C9.08145 16.1644 7.58681 15.7955 6.34249 14.9781C5.09816 14.1608 4.18109 12.9456 3.74751 11.5395C3.31393 10.1334 3.39064 8.6233 3.96455 7.26643C4.53846 5.90955 5.57409 4.7898 6.89507 4.09787C8.21606 3.40594 9.74071 3.18461 11.2093 3.4716C12.678 3.75858 13.9998 4.53612 14.9497 5.6718C15.8996 6.80748 16.4188 8.23105 16.4189 9.7001C16.4196 10.5357 16.2519 11.3632 15.9254 12.135C15.599 12.9069 15.1202 13.6078 14.5167 14.1975V14.1975Z" fill="white"/>\n</svg>\n'}),"Search")))}};t.style="search-box{font-family:sans-serif;font-family:var(--verdocs-font)}search-box form{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:45px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:5px 0 0;border-radius:5px;-ms-flex-align:center;align-items:center;background-color:#fff;padding:0 8px;border-width:1px;border-style:solid;border-color:var(--verdocs-container-border-color)}search-box form input{-webkit-box-sizing:border-box;box-sizing:border-box;height:43px;width:100%;font-size:18px;border:none}search-box form button.search{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;border:none;width:100px;height:28px;font-weight:700;font-size:10px;letter-spacing:1px;background-color:#50be80;text-transform:uppercase;color:#fff}search-box form .type{background-color:#707ae5;height:30px;display:-ms-inline-flexbox;display:inline-flex;padding:1px 0 2px 10px;font-size:13px;line-height:16px;border-radius:4px;-ms-flex-pack:center;justify-content:center;text-transform:uppercase;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;color:#fff;margin-right:10px}search-box form .type button{border:none;color:#fff;margin:5px 0 0 8px;background:transparent}search-box form svg{width:12px;height:12px;margin-right:6px}search-box ::-webkit-input-placeholder{color:#aeb4bf}search-box ::-moz-placeholder{color:#aeb4bf}search-box :-ms-input-placeholder{color:#aeb4bf}search-box ::-ms-input-placeholder{color:#aeb4bf}search-box ::placeholder{color:#aeb4bf}";export{t as search_box}
@@ -0,0 +1 @@
1
+ System.register(["./p-cbc784a6.system.js"],(function(e){"use strict";var t,n,i,r;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.H}],execute:function(){var o='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>';var c='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>';var a="search-quick-functions{font-family:sans-serif;font-family:var(--verdocs-font)}search-quick-functions .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-quick-functions .title{font-size:22px;font-weight:700;line-height:30px;margin:1em 0 40px 0}search-quick-functions button{width:140px;height:40px;border:none;display:-ms-flexbox;display:flex;color:#ffffff;cursor:pointer;font-size:14px;font-weight:700;line-height:25px;-ms-flex-align:center;align-items:center;margin-bottom:20px;border-radius:5px;text-transform:uppercase;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:#50be50}search-quick-functions button svg{fill:#ffffff}";var s=e("search_quick_functions",function(){function e(e){t(this,e);this.createTemplate=n(this,"createTemplate",7);this.createDocument=n(this,"createDocument",7)}e.prototype.handleCreateTemplate=function(){this.createTemplate.emit()};e.prototype.handleCreateDocument=function(){this.createDocument.emit()};e.prototype.render=function(){var e=this;return i(r,null,i("div",{class:"container"},i("p",{class:"title"},"Quick Create"),i("button",{onClick:function(){return e.handleCreateTemplate()},innerHTML:o},"Template"),i("button",{onClick:function(){return e.handleCreateDocument()},innerHTML:c},"Document")))};return e}());s.style=a}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-cbc784a6.system.js"],(function(t){"use strict";var e,a,n;return{setters:[function(t){e=t.r;a=t.h;n=t.a}],execute:function(){var l='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var r='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var o='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var s='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>';var i="template-card{font-family:sans-serif;font-family:var(--verdocs-font)}template-card .container{height:640px;width:645px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);padding:52px 50px 20px 50px}template-card .template-img{width:545px;height:315px;background-color:salmon;margin-bottom:22px}template-card .template-name{font-size:28px;font-family:sans-serif;font-weight:700;margin-bottom:13px}template-card .template-org-bname{font-size:24px;font-family:sans-serif;font-weight:700;margin-bottom:12px}template-card .template-org-name{margin-bottom:34px}template-card .template-org-name label{font-size:24px;font-family:sans-serif;font-weight:700;color:#666666}template-card hr{width:100%;margin-bottom:17px;color:#aeb4bf}template-card .template-controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:21px}template-card .template-controls span:nth-child(-n+3){border-right:1px solid #adb6bd}template-card .template-controls svg{fill:#adb6bd;height:30px;width:30px;margin-bottom:-8px;margin-right:18px}template-card .additional-controls svg{margin-right:0}template-card .additional-controls{-ms-flex:1;flex:1}template-card .pages,template-card .star-counter,template-card .counter{-ms-flex:2;flex:2}";var p=t("template_card",function(){function t(t){e(this,t)}t.prototype.render=function(){return a("div",{class:"container"},a("div",{class:"template-img"},a("img",{src:n("template-card/dummy-image.png"),alt:"Dummy Image"})),a("span",{class:"template-name"},this.template.name),a("span",{class:"template-org-bname"},this.template.organization_business_name),a("div",{class:"template-org-name"},a("input",{type:"checkbox",id:"org-name",name:"org-name",checked:true}),a("label",{htmlFor:"org-name"},this.template.organization_name)),a("hr",null),a("div",{class:"template-controls"},a("span",{class:"star-counter",innerHTML:s},this.template.star_counter),a("span",{class:"pages",innerHTML:o},this.template.pages),a("span",{class:"counter",innerHTML:l},this.template.counter),a("span",{class:"additional-controls",innerHTML:r})))};Object.defineProperty(t,"assetsDirs",{get:function(){return["template-card"]},enumerable:false,configurable:true});return t}());p.style=i}}}));
@@ -0,0 +1 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700&display=swap'); :root{--verdocs-background-dark:#1e2031;--verdocs-container-border-color:#707ae5;--verdocs-font:'Barlow', sans-serif}
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-16920169.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-79141dc5",[[1,"document-status-indicator",{status:[1],theme:[1]}]]],["p-4ffe65f0",[[1,"dropdown-menu",{options:[16],open:[4],tall:[4],isOpen:[32]}]]],["p-83fe27d7",[[1,"org-popup",{organization:[8],theme:[1]}]]],["p-f8532ba9",[[1,"pdf-viewer",{rotation:[2],src:[1]}]]],["p-943c181c",[[1,"search-box"]]],["p-7427f970",[[1,"search-embed"]]],["p-0851fc9a",[[1,"search-quick-functions"]]],["p-c9c2393e",[[1,"search-recent",{limit:[2],recent:[32]}]]],["p-496ff0a9",[[1,"search-saved",{limit:[2],saved:[32]}]]],["p-af8bde91",[[1,"search-starred",{options:[8]}]]],["p-1d99fd7e",[[1,"search-tabs"]]],["p-ad52e615",[[1,"tags-indicator",{tags:[16],theme:[1]}]]],["p-f6bd3c28",[[1,"template-card",{template:[8],theme:[1]}]]],["p-64b6c2b3",[[1,"toggle-icon-buttons",{options:[16],theme:[1]},[[6,"click","handleClick"]]]]]],e)));
1
+ import{p as e,b as t}from"./p-89be87e5.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-32a5788a",[[0,"document-status-indicator",{status:[1],theme:[1]}]]],["p-36082c90",[[0,"dropdown-menu",{options:[16],open:[4],tall:[4],isOpen:[32]}]]],["p-3a032151",[[0,"org-popup",{organization:[8],theme:[1]}]]],["p-d73f486f",[[0,"pdf-viewer",{rotation:[2],src:[1]}]]],["p-dea09611",[[0,"search-box",{type:[1],q:[32]}]]],["p-55660c24",[[1,"search-embed"]]],["p-b3d5601a",[[0,"search-quick-functions"]]],["p-b466e003",[[0,"search-recent",{limit:[2],recent:[32]}]]],["p-153879ad",[[0,"search-saved",{limit:[2],saved:[32]}]]],["p-6ee008ff",[[0,"search-starred",{options:[8]}]]],["p-9da35744",[[4,"search-tabs",{selected:[32]}]]],["p-bb99a203",[[0,"tags-indicator",{tags:[16],theme:[1]}]]],["p-2cec77cf",[[0,"template-card",{template:[8],theme:[1]}]]],["p-29cb7cbc",[[0,"toggle-icon-buttons",{options:[16],theme:[1]},[[6,"click","handleClick"]]]]]],e)));
@@ -114,7 +114,7 @@ DOMTokenList
114
114
 
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
- var url = new URL('./p-918d1153.system.js', new URL(resourcesUrl, window.location.origin));
117
+ var url = new URL('./p-9af63b8a.system.js', new URL(resourcesUrl, window.location.origin));
118
118
  System.import(url.href);
119
119
  };
120
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/web-sdk",
3
- "version": "1.0.12",
3
+ "version": "1.0.15",
4
4
  "private": false,
5
5
  "description": "Verdocs Web SDK",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@popperjs/core": "^2.10.2",
35
35
  "@stencil/core": "^2.8.1",
36
- "@verdocs/js-sdk": "^1.0.14",
36
+ "@verdocs/js-sdk": "^1.0.15",
37
37
  "pdfjs-dist": "2.5.207"
38
38
  },
39
39
  "devDependencies": {
@@ -41,6 +41,7 @@
41
41
  "@pxtrn/storybook-addon-docs-stencil": "^1.0.0",
42
42
  "@stencil/angular-output-target": "0.0.7",
43
43
  "@stencil/react-output-target": "0.1.0",
44
+ "@stencil/sass": "^1.5.2",
44
45
  "@storybook/addon-actions": "^6.3.12",
45
46
  "@storybook/addon-docs": "^6.3.12",
46
47
  "@storybook/addon-essentials": "^6.3.12",
@@ -55,6 +56,7 @@
55
56
  "jest-svg-transformer": "^1.0.0",
56
57
  "lit-html": "^2.0.0",
57
58
  "msw": "^0.35.0",
59
+ "prettier": "^2.4.1",
58
60
  "puppeteer": "^10.4.0",
59
61
  "stencil-inline-svg": "^1.1.0",
60
62
  "typescript": "^4.4.4",
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function o(e){try{l(n.next(e))}catch(e){s(e)}}function i(e){try{l(n["throw"](e))}catch(e){s(e)}}function l(e){e.done?r(e.value):a(e.value).then(o,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,o;return o={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function i(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(s=r.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){r.label=o[1];break}if(o[0]===6&&r.label<s[1]){r.label=s[1];s=o;break}if(s&&r.label<s[2]){r.label=s[2];r.ops.push(o);break}if(s[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};var NAMESPACE="verdocs-web-sdk";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],s=r[2];var o=getHostListenerTarget(e,n);var i=hostListenerProxy(t,s);var l=hostListenerOpts(n);plt.ael(o,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(o,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;return e};var hostListenerOpts=function(e){return(e&2)!==0};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var s=styles.get(a);e=e.nodeType===11?e:doc;if(s){if(typeof s==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var i=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){{{i=doc.createElement("style");i.innerHTML=s}e.insertBefore(i,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[s])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var s=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=s;r.classList.add(s+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var s=null;var o=false;var i=false;var l=[];var u=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&i){l[l.length-1].$text$+=a}else{l.push(o?newVNode(null,a):a)}i=o}}};u(r);if(t){if(t.key){s=t.key}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}var f=newVNode(e,null);f.$attrs$=t;if(l.length>0){f.$children$=l}{f.$key$=s}return f};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var setAccessor=function(e,t,r,n,a,s){if(r!==n){var o=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var l=e.classList;var u=parseClassList(r);var c=parseClassList(n);l.remove.apply(l,u.filter((function(e){return e&&!c.includes(e)})));l.add.apply(l,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(r){plt.rel(e,t,r,false)}if(n){plt.ael(e,t,n,false)}}else{var f=isComplexType(n);if((o||f&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!o||s&4||a)&&!f){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var s=e&&e.$attrs$||EMPTY_OBJ;var o=t.$attrs$||EMPTY_OBJ;{for(n in s){if(!(n in o)){setAccessor(a,n,s[n],undefined,r,t.$flags$)}}}for(n in o){setAccessor(a,n,s[n],o[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var s=0;var o;var i;if(a.$text$!==null){o=a.$elm$=doc.createTextNode(a.$text$)}else{o=a.$elm$=doc.createElement(a.$tag$);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.$children$){for(s=0;s<a.$children$.length;++s){i=createElm(e,a,s);if(i){o.appendChild(i)}}}}return o};var addVnodes=function(e,t,r,n,a,s){var o=e;var i;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=s;++a){if(n[a]){i=createElm(null,r,a);if(i){n[a].$elm$=i;o.insertBefore(i,t)}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;callNodeRefs(n);a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var s=0;var o=0;var i=0;var l=t.length-1;var u=t[0];var c=t[l];var f=n.length-1;var $=n[0];var d=n[f];var v;var p;while(a<=l&&s<=f){if(u==null){u=t[++a]}else if(c==null){c=t[--l]}else if($==null){$=n[++s]}else if(d==null){d=n[--f]}else if(isSameVnode(u,$)){patch(u,$);u=t[++a];$=n[++s]}else if(isSameVnode(c,d)){patch(c,d);c=t[--l];d=n[--f]}else if(isSameVnode(u,d)){patch(u,d);e.insertBefore(u.$elm$,c.$elm$.nextSibling);u=t[++a];d=n[--f]}else if(isSameVnode(c,$)){patch(c,$);e.insertBefore(c.$elm$,u.$elm$);c=t[--l];$=n[++s]}else{o=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===$.$key$){o=i;break}}}if(o>=0){p=t[o];if(p.$tag$!==$.$tag$){v=createElm(t&&t[s],r,o)}else{patch(p,$);t[o]=undefined;v=p.$elm$}$=n[++s]}else{v=createElm(t&&t[s],r,s);$=n[++s]}if(v){{u.$elm$.parentNode.insertBefore(v,u.$elm$)}}}}if(a>l){addVnodes(e,n[f+1]==null?null:n[f+1].$elm$,r,n,s,f)}else if(s>f){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var s=t.$tag$;var o=t.$text$;if(o===null){{if(s==="slot");else{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}}else if(e.$text$!==o){r.data=o}};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$vnode$||newVNode(null,null);var a=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;a.$tag$=null;a.$flags$|=4;e.$vnode$=a;a.$elm$=n.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(n,a)};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.$queuedListeners$=null}}{a=safeCall(n,"componentWillLoad")}}r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,s,o,i,l;return __generator(this,(function(u){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);s=n["s-rc"];if(r){attachStyles(e)}o=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(s){s.map((function(e){return e()}));n["s-rc"]=undefined}o();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$lazyInstance$;var s=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!s){appDidLoad()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var s=a.$hostElement$;var o=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(i&8)||o===undefined)&&r!==o){a.$instanceValues$.set(t,r);if(l){if(n.$watchers$&&i&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{l[e](r,o,t)}catch(e){consoleError(e,s)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],s=e[1][0];if(s&31||r&2&&s&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var s=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=s.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var t=e[0],r=e[1];var n=r[1]||t;s.set(n,t);return n}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,s,o,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){{r.$watchers$=a.watchers}proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}n();if(a.style){s=a.style;o=getScopeId(r);if(!styles.has(o)){i=createTime("registerStyles",r.$tagName$);registerStyle(o,s,!!(r.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.$listeners$)}n()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var s=win.customElements;var o=doc.head;var i=o.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var c;var f=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){return e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$watchers$={}}var o=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(f){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(o)&&!s.get(o)){n.push(o);s.define(o,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");o.insertBefore(l,i?i.nextSibling:o.firstChild)}f=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}r()};var getAssetPath=function(e){var t=new URL(e,plt.$resourcesUrl$);return t.origin!==win.location.origin?t.href:t.pathname};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.$listeners$);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var s=cmpModules.get(a);if(s){return s[n]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,getAssetPath as a,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r};
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as i,H as n}from"./p-16920169.js";let o=class{constructor(i){e(this,i),this.createTemplate=t(this,"createTemplate",7),this.createDocument=t(this,"createDocument",7)}handleCreateTemplate(){this.createTemplate.emit()}handleCreateDocument(){this.createDocument.emit()}render(){return i(n,null,i("div",{class:"container"},i("p",{class:"title"},"Quick Create"),i("button",{onClick:()=>this.handleCreateTemplate(),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>'},"Template"),i("button",{onClick:()=>this.handleCreateDocument(),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>'},"Document")))}};o.style=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px;margin:1em 0 40px 0}button{width:140px;height:40px;border:none;display:-ms-flexbox;display:flex;color:#ffffff;cursor:pointer;font-size:14px;font-weight:700;line-height:25px;-ms-flex-align:center;align-items:center;margin-bottom:20px;border-radius:5px;text-transform:uppercase;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:#50be50}button svg{fill:#ffffff}";export{o as search_quick_functions}
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(e){"use strict";var s,i;return{setters:[function(e){s=e.r;i=e.h}],execute:function(){var n='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><rect fill="none" height="24" width="24"/><g><path d="M4,13c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2s-2,0.9-2,2C2,12.1,2.9,13,4,13z M5.13,14.1C4.76,14.04,4.39,14,4,14 c-0.99,0-1.93,0.21-2.78,0.58C0.48,14.9,0,15.62,0,16.43V18l4.5,0v-1.61C4.5,15.56,4.73,14.78,5.13,14.1z M20,13c1.1,0,2-0.9,2-2 c0-1.1-0.9-2-2-2s-2,0.9-2,2C18,12.1,18.9,13,20,13z M24,16.43c0-0.81-0.48-1.53-1.22-1.85C21.93,14.21,20.99,14,20,14 c-0.39,0-0.76,0.04-1.13,0.1c0.4,0.68,0.63,1.46,0.63,2.29V18l4.5,0V16.43z M16.24,13.65c-1.17-0.52-2.61-0.9-4.24-0.9 c-1.63,0-3.07,0.39-4.24,0.9C6.68,14.13,6,15.21,6,16.39V18h12v-1.61C18,15.21,17.32,14.13,16.24,13.65z M8.07,16 c0.09-0.23,0.13-0.39,0.91-0.69c0.97-0.38,1.99-0.56,3.02-0.56s2.05,0.18,3.02,0.56c0.77,0.3,0.81,0.46,0.91,0.69H8.07z M12,8 c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S11.45,8,12,8 M12,6c-1.66,0-3,1.34-3,3c0,1.66,1.34,3,3,3s3-1.34,3-3 C15,7.34,13.66,6,12,6L12,6z"/></g></svg>';var o=":host{display:block}.container{width:242px;height:64px;background-color:#33364b;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.container:hover>.popup{display:-ms-flexbox;display:flex;background:#ffffff;color:#33364b}.icon{-ms-flex:1;flex:1;margin-left:15px;margin-right:0px}.icon svg{width:24px;margin-bottom:-5px}.content{color:#fff;-ms-flex:4;flex:4;font-family:sans-serif}.popup{position:absolute;top:-1px;left:-4px;display:none;border:1px solid #1e2031;border-radius:10px;width:326px;height:220px;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-family:sans-serif}.popup-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;width:242px;height:69px;-ms-flex-pack:justify;justify-content:space-between;font-size:21px;color:#4c56cb}.popup-body{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:256.2px;height:95px;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-size:13px;text-transform:uppercase}.popup-body span{display:block;-ms-flex:2 80px;flex:2 80px;margin-left:7px}.popup-body span:last-child{margin-top:5px}.status{width:29px;height:29px;background-color:#aeb4bf;border-radius:50%}";var t=e("org_popup",function(){function e(e){s(this,e)}e.prototype.render=function(){var e,s,o,t,l,a;return i("div",{class:"container"},i("span",{class:"icon",innerHTML:n}),i("span",{class:"content"},(e=this.organization)===null||e===void 0?void 0:e.name),i("div",{class:"popup"},i("div",{class:"popup-header"},i("span",{class:"status"}),i("span",{class:"title"},(s=this.organization)===null||s===void 0?void 0:s.name)),i("div",{class:"popup-body"},i("span",{class:"joined"},i("b",null,"Joined")," ",(o=this.organization)===null||o===void 0?void 0:o.created_at),i("span",{class:"followers"},i("b",null,"Followers")," ",(t=this.organization)===null||t===void 0?void 0:t.followers),i("span",{class:"website"},i("b",null,"Website")),i("span",{class:"templates"},i("b",null,"Templates")," ",(l=this.organization)===null||l===void 0?void 0:l.templates),i("span",null,(a=this.organization)===null||a===void 0?void 0:a.website))))};return e}());t.style=o}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(e){"use strict";var t,n,i,r;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.H}],execute:function(){var o='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>';var a='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>';var c=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px;margin:1em 0 40px 0}button{width:140px;height:40px;border:none;display:-ms-flexbox;display:flex;color:#ffffff;cursor:pointer;font-size:14px;font-weight:700;line-height:25px;-ms-flex-align:center;align-items:center;margin-bottom:20px;border-radius:5px;text-transform:uppercase;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:#50be50}button svg{fill:#ffffff}";var l=e("search_quick_functions",function(){function e(e){t(this,e);this.createTemplate=n(this,"createTemplate",7);this.createDocument=n(this,"createDocument",7)}e.prototype.handleCreateTemplate=function(){this.createTemplate.emit()};e.prototype.handleCreateDocument=function(){this.createDocument.emit()};e.prototype.render=function(){var e=this;return i(r,null,i("div",{class:"container"},i("p",{class:"title"},"Quick Create"),i("button",{onClick:function(){return e.handleCreateTemplate()},innerHTML:o},"Template"),i("button",{onClick:function(){return e.handleCreateDocument()},innerHTML:a},"Document")))};return e}());l.style=c}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(t){"use strict";var e,a,n;return{setters:[function(t){e=t.r;a=t.h;n=t.a}],execute:function(){var i='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var o='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var s='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var l='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>';var r=".container{height:640px;width:645px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);padding:52px 50px 20px 50px}.template-img{width:545px;height:315px;background-color:salmon;margin-bottom:22px}.template-name{font-size:28px;font-family:sans-serif;font-weight:700;margin-bottom:13px}.template-org-bname{font-size:24px;font-family:sans-serif;font-weight:700;margin-bottom:12px}.template-org-name{margin-bottom:34px}.template-org-name label{font-size:24px;font-family:sans-serif;font-weight:700;color:#666666}hr{width:100%;margin-bottom:17px;color:#aeb4bf}.template-controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:21px}.template-controls span:nth-child(-n+3){border-right:1px solid #adb6bd}.template-controls svg{fill:#adb6bd;height:30px;width:30px;margin-bottom:-8px;margin-right:18px}.additional-controls svg{margin-right:0}.additional-controls{-ms-flex:1;flex:1}.pages,.star-counter,.counter{-ms-flex:2;flex:2}";var p=t("template_card",function(){function t(t){e(this,t)}t.prototype.render=function(){return a("div",{class:"container"},a("div",{class:"template-img"},a("img",{src:n("template-card/dummy-image.png"),alt:"Dummy Image"})),a("span",{class:"template-name"},this.template.name),a("span",{class:"template-org-bname"},this.template.organization_business_name),a("div",{class:"template-org-name"},a("input",{type:"checkbox",id:"org-name",name:"org-name",checked:true}),a("label",{htmlFor:"org-name"},this.template.organization_name)),a("hr",null),a("div",{class:"template-controls"},a("span",{class:"star-counter",innerHTML:l},this.template.star_counter),a("span",{class:"pages",innerHTML:s},this.template.pages),a("span",{class:"counter",innerHTML:i},this.template.counter),a("span",{class:"additional-controls",innerHTML:o})))};Object.defineProperty(t,"assetsDirs",{get:function(){return["template-card"]},enumerable:false,configurable:true});return t}());p.style=r}}}));
@@ -1 +0,0 @@
1
- let e,t,n=!1;const l="undefined"!=typeof window?window:{},s=l.document||{head:{}},o={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},i=e=>Promise.resolve(e),c=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),r=(e,t,n)=>{n&&n.map((([n,l,s])=>{const i=u(e,n),c=a(t,s),r=f(n);o.ael(i,l,c,r),(t.o=t.o||[]).push((()=>o.rel(i,l,c,r)))}))},a=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){Q(e)}},u=(e,t)=>4&t?s:e,f=e=>0!=(2&e),d=new WeakMap,$=e=>"sc-"+e.$,y={},h=e=>"object"==(e=typeof e)||"function"===e,p=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1,c=[];const r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!h(l))&&(l+=""),o&&i?c[c.length-1].h+=l:c.push(o?m(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=m(e,null);return a.p=t,c.length>0&&(a.m=c),a.S=s,a},m=(e,t)=>({t:0,g:e,h:t,k:null,m:null,p:null,S:null}),b={},w=(e,t,n,s,i,c)=>{if(n!==s){let r=K(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,l=g(n),o=g(s);t.remove(...l.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=h(s);if((r||l&&null!==s)&&!i)try{if(e.tagName.includes("-"))e[t]=s;else{let l=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}null==s||!1===s?!1===s&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&c||i)&&!l&&e.setAttribute(t,s=!0===s?"":s)}else t="-"===t[2]?t.slice(3):K(l,a)?a.slice(2):a[2]+t.slice(3),n&&o.rel(e,t,n,!1),s&&o.ael(e,t,s,!1)}},S=/\s/,g=e=>e?e.split(S):[],k=(e,t,n,l)=>{const s=11===t.k.nodeType&&t.k.host?t.k.host:t.k,o=e&&e.p||y,i=t.p||y;for(l in o)l in i||w(s,l,o[l],void 0,n,t.t);for(l in i)w(s,l,o[l],i[l],n,t.t)},v=(t,n,l)=>{let o,i,c=n.m[l],r=0;if(null!==c.h)o=c.k=s.createTextNode(c.h);else if(o=c.k=s.createElement(c.g),k(null,c,!1),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),c.m)for(r=0;r<c.m.length;++r)i=v(t,c,r),i&&o.appendChild(i);return o},j=(e,n,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=v(null,l,o),c&&(s[o].k=c,r.insertBefore(c,n)))},M=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.k,L(l),s.remove())},C=(e,t)=>e.g===t.g&&e.S===t.S,O=(e,t)=>{const n=t.k=e.k,l=e.m,s=t.m,o=t.h;null===o?("slot"===t.g||k(e,t,!1),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,u=t.length-1,f=t[0],d=t[u],$=l.length-1,y=l[0],h=l[$];for(;i<=u&&c<=$;)if(null==f)f=t[++i];else if(null==d)d=t[--u];else if(null==y)y=l[++c];else if(null==h)h=l[--$];else if(C(f,y))O(f,y),f=t[++i],y=l[++c];else if(C(d,h))O(d,h),d=t[--u],h=l[--$];else if(C(f,h))O(f,h),e.insertBefore(f.k,d.k.nextSibling),f=t[++i],h=l[--$];else if(C(d,y))O(d,y),e.insertBefore(d.k,f.k),d=t[--u],y=l[++c];else{for(r=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].S&&t[a].S===y.S){r=a;break}r>=0?(o=t[r],o.g!==y.g?s=v(t&&t[c],n,r):(O(o,y),t[r]=void 0,s=o.k),y=l[++c]):(s=v(t&&t[c],n,c),y=l[++c]),s&&f.k.parentNode.insertBefore(s,f.k)}i>u?j(e,null==l[$+1]?null:l[$+1].k,n,l,c,$):c>$&&M(t,i,u)})(n,l,t,s):null!==s?(null!==e.h&&(n.textContent=""),j(n,null,t,s,0,s.length-1)):null!==l&&M(l,0,l.length-1)):e.h!==o&&(n.data=o)},L=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(L)},P=e=>G(e).v,x=(e,t,n)=>{const l=P(e);return{emit:e=>E(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},E=(e,t,n)=>{const l=o.ce(t,n);return e.dispatchEvent(l),l},R=(e,t)=>{t&&!e.j&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.j=t)))},T=(e,t)=>{if(e.t|=16,!(4&e.t))return R(e,e.M),ie((()=>U(e,t)));e.t|=512},U=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>q(n,e,t))),e.u=null),l=q(n,"componentWillLoad")),D(l,(()=>W(e,n,t)))},W=async(e,t,n)=>{const l=e.v,o=l["s-rc"];n&&(e=>{const t=e.C,n=e.v,l=t.t,o=((e,t)=>{let n=$(t),l=Z.get(n);if(e=11===e.nodeType?e:s,l)if("string"==typeof l){let t,o=d.get(e=e.head||e);o||d.set(e,o=new Set),o.has(n)||(t=s.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);A(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>F(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},A=(n,l)=>{try{l=l.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.v,o=n.O||m(null,null),i=(e=>e&&e.g===b)(l)?l:p(null,null,l);t=s.tagName,i.g=null,i.t|=4,n.O=i,i.k=o.k=s.shadowRoot||s,e=s["s-sc"],O(o,i)})(n,l)}catch(e){Q(e,n.v)}return null},F=e=>{const t=e.v,n=e.i,l=e.M;64&e.t||(e.t|=64,N(t),q(n,"componentDidLoad"),e.L(t),l||H()),e.j&&(e.j(),e.j=void 0),512&e.t&&oe((()=>T(e,!1))),e.t&=-517},H=()=>{N(s.documentElement),oe((()=>E(l,"appload",{detail:{namespace:"verdocs-web-sdk"}})))},q=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Q(e)}},D=(e,t)=>e&&e.then?e.then(t):t(),N=e=>e.classList.add("hydrated"),V=(e,t,n)=>{if(t.P){e.watchers&&(t.R=e.watchers);const l=Object.entries(t.P),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>G(this).T.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=G(e),o=s.v,i=s.T.get(t),c=s.t,r=s.i;if(n=((e,t)=>null==e||h(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.P[t][0]),!(8&c&&void 0!==i||n===i)&&(s.T.set(t,n),r)){if(l.R&&128&c){const e=l.R[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Q(e,o)}}))}2==(18&c)&&T(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;s.attributeChangedCallback=function(e,n,l){o.jmp((()=>{const n=t.get(e);this.hasOwnProperty(n)&&(l=this[n],delete this[n]),this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},_=(e,t={})=>{const n=[],i=t.exclude||[],a=l.customElements,u=s.head,f=u.querySelector("meta[charset]"),d=s.createElement("style"),y=[];let h,p=!0;Object.assign(o,t),o.l=new URL(t.resourcesUrl||"./",s.baseURI).href,e.map((e=>e[1].map((t=>{const l={t:t[0],$:t[1],P:t[2],U:t[3]};l.P=t[2],l.U=t[3],l.R={};const s=l.$,u=class extends HTMLElement{constructor(e){super(e),J(e=this,l),1&l.t&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),p?y.push(this):o.jmp((()=>(e=>{if(0==(1&o.t)){const t=G(e),n=t.C,l=()=>{};if(1&t.t)r(e,t,n.U);else{t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){R(t,t.M=n);break}}n.P&&Object.entries(n.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=Y(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.R=s.watchers,V(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){Q(e)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=$(n);if(!Z.has(t)){const l=()=>{};((e,t,n)=>{let l=Z.get(e);c&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,Z.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.M,i=()=>T(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){o.jmp((()=>(()=>{if(0==(1&o.t)){const e=G(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return G(this).W}};l.A=e[0],i.includes(s)||a.get(s)||(n.push(s),a.define(s,V(u,l,1)))})))),d.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),u.insertBefore(d,f?f.nextSibling:u.firstChild),p=!1,y.length?y.map((e=>e.connectedCallback())):o.jmp((()=>h=setTimeout(H,30)))},z=e=>{const t=new URL(e,o.l);return t.origin!==l.location.origin?t.href:t.pathname},B=new WeakMap,G=e=>B.get(e),I=(e,t)=>B.set(t.i=e,t),J=(e,t)=>{const n={t:0,v:e,C:t,T:new Map};return n.W=new Promise((e=>n.L=e)),e["s-p"]=[],e["s-rc"]=[],r(e,n,t.U),B.set(e,n)},K=(e,t)=>t in e,Q=(e,t)=>(0,console.error)(e,t),X=new Map,Y=e=>{const t=e.$.replace(/-/g,"_"),n=e.A,l=X.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(X.set(n,e),e[t])),Q)},Z=new Map,ee=[],te=[],ne=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&o.t?oe(se):o.raf(se))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Q(e)}e.length=0},se=()=>{le(ee),le(te),(n=ee.length>0)&&o.raf(se)},oe=e=>i().then(e),ie=ne(te,!0);export{b as H,z as a,_ as b,x as c,P as g,p as h,i as p,I as r}
@@ -1 +0,0 @@
1
- import{r as s,h as r,H as t}from"./p-16920169.js";let l=class{constructor(r){s(this,r)}render(){return r(t,null,r("slot",null))}};l.style=":host{display:block}";export{l as search_tabs}
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.r;n=e.h}],execute:function(){var r=".container{width:270px;height:35px;background-color:#33364b;font-family:sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.tags{display:-ms-inline-flexbox;display:inline-flex;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-preferred-size:content;flex-basis:content;padding:7px 12px;margin:0 5px;height:28px;background-color:#f4f4f9;text-transform:uppercase;font-size:12px;font-weight:700;color:#33374a;border-radius:5px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}";var i=e("tags_indicator",function(){function e(e){t(this,e)}e.prototype.render=function(){var e;return n("div",{class:"container"},(e=this.tags)===null||e===void 0?void 0:e.map((function(e){return n("span",{class:"tags"},e)})))};return e}());i.style=r}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js","./p-23d40cb1.system.js"],(function(t){"use strict";var e,n,i,s,r;return{setters:[function(t){e=t.r;n=t.c;i=t.h;s=t.H},function(t){r=t.g}],execute:function(){var o='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var l=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}.button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.button:hover{cursor:pointer}.button:not(:last-child){margin-bottom:36px}.button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}.empty{text-transform:none;line-height:22px;color:#ccc}";var a=t("search_saved",function(){function t(t){e(this,t);this.entrySelected=n(this,"entrySelected",7);this.limit=10;this.saved=[]}t.prototype.componentDidLoad=function(){var t=this;r().then((function(e){t.saved=e.saved})).catch((function(t){return console.warn("[Verdocs/search-saved] Error getting search history",t)}))};t.prototype.handleSelectEntry=function(t){this.entrySelected.emit(t)};t.prototype.render=function(){var t=this;return i(s,null,i("div",{class:"container"},i("p",{class:"title"},"Saved Searches"),i("div",{class:"items"},this.saved.slice(0,this.limit).map((function(e){return i("button",{class:"button",innerHTML:o,onClick:function(){return t.handleSelectEntry(e)}},e.name)})),this.saved.length<1&&i("div",{class:"empty"},"You do not have any saved searches."))))};return t}());a.style=l}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as s,H as i}from"./p-16920169.js";import{g as o}from"./p-3b38a704.js";let n=class{constructor(s){t(this,s),this.entrySelected=e(this,"entrySelected",7),this.limit=10,this.saved=[]}componentDidLoad(){o().then((t=>{this.saved=t.saved})).catch((t=>console.warn("[Verdocs/search-saved] Error getting search history",t)))}handleSelectEntry(t){this.entrySelected.emit(t)}render(){return s(i,null,s("div",{class:"container"},s("p",{class:"title"},"Saved Searches"),s("div",{class:"items"},this.saved.slice(0,this.limit).map((t=>s("button",{class:"button",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>',onClick:()=>this.handleSelectEntry(t)},t.name))),this.saved.length<1&&s("div",{class:"empty"},"You do not have any saved searches."))))}};n.style=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}.button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.button:hover{cursor:pointer}.button:not(:last-child){margin-bottom:36px}.button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}.empty{text-transform:none;line-height:22px;color:#ccc}";export{n as search_saved}
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js","./p-23d40cb1.system.js"],(function(t){"use strict";var e,n,i,r,s;return{setters:[function(t){e=t.r;n=t.c;i=t.h;r=t.H},function(t){s=t.g}],execute:function(){var o='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var l=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}.button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.button:hover{cursor:pointer}.button:not(:last-child){margin-bottom:36px}.button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}.pill{font-size:14px;display:-ms-inline-flexbox;display:inline-flex;padding:3px 8px;border-radius:6px;margin-right:8px;background-color:#999999;color:#333}.empty{text-transform:none;line-height:22px;color:#ccc}";var a=t("search_recent",function(){function t(t){e(this,t);this.entrySelected=n(this,"entrySelected",7);this.limit=10;this.recent=[]}t.prototype.componentDidLoad=function(){var t=this;s().then((function(e){t.recent=e.recent})).catch((function(t){return console.warn("[Verdocs/search-recent] Error getting search history",t)}))};t.prototype.handleSelectEntry=function(t){this.entrySelected.emit(t)};t.prototype.render=function(){var t=this;return i(r,null,i("div",{class:"container"},i("p",{class:"title"},"Recent Searches"),i("div",{class:"items"},this.recent.slice(0,this.limit).map((function(e){return i("button",{class:"button",innerHTML:o,onClick:function(){return t.handleSelectEntry(e)}},e.params.type&&i("span",{class:"pill"},"type: ",e.params.type),e.params.q)})),this.recent.length<1&&i("div",{class:"empty"},"You do not have any recent searches."))))};return t}());a.style=l}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var s=":host{display:block}";var u=t("search_box",function(){function t(t){e(this,t)}t.prototype.render=function(){return n(r,null,n("slot",null))};return t}());u.style=s}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as s}from"./p-16920169.js";let e=class{constructor(s){t(this,s)}handleClick(t){t.preventDefault();let s=t.target;if(s.matches("toggle-icon-buttons")){s=t.target.shadowRoot;const e=s.activeElement;Array.from(e.parentElement.children).filter((t=>t!==e)).map((t=>t.classList.remove("selected"))),e.classList.contains("selected")||e.classList.add("selected")}}render(){return s("div",{class:"container"},s("span",{class:"label"},`${this.options.label}:`),s("div",{class:"buttons"},this.options.buttons.map(((t,e)=>s("button",{id:t.id,key:t.id,innerHTML:t.icon,class:e===this.options.defaultSelection?"selected":""})))))}};e.style=".container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}.label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}.buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}.buttons button:not(:last-child){margin-right:11px}.buttons svg{width:30px;height:30px}.buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}.buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}.selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}.selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";export{e as toggle_icon_buttons}
@@ -1 +0,0 @@
1
- import{r as s,h as r,H as l}from"./p-16920169.js";let t=class{constructor(r){s(this,r)}render(){return r(l,null,r("slot",null))}};t.style=":host{display:block}";export{t as search_embed}
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function a(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function l(e){try{o(t.next(e))}catch(e){i(e)}}function s(e){try{o(t["throw"](e))}catch(e){i(e)}}function o(e){e.done?n(e.value):a(e.value).then(l,s)}o((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(r){return o([e,r])}}function o(l){if(t)throw new TypeError("Generator is already executing.");while(n)try{if(t=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=r.call(e,n)}catch(e){l=[6,e];a=0}finally{t=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r){for(var n=0,t=r.length,a=e.length;n<t;n++,a++)e[a]=r[n];return e};System.register([],(function(e,r){"use strict";return{execute:function(){var n=this;var t="verdocs-web-sdk";var a;var i;var l=false;var s=false;var o=typeof window!=="undefined"?window:{};var u=o.document||{head:{}};var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}};var $=e("p",(function(e){return Promise.resolve(e)}));var c=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v=function(e,r,n,t){if(n){n.map((function(n){var t=n[0],a=n[1],i=n[2];var l=h(e,t);var s=d(r,i);var o=p(t);f.ael(l,a,s,o);(r.$rmListeners$=r.$rmListeners$||[]).push((function(){return f.rel(l,a,s,o)}))}))}};var d=function(e,r){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[r](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([r,n])}}}catch(e){me(e)}}};var h=function(e,r){if(r&4)return u;return e};var p=function(e){return(e&2)!==0};var m="{visibility:hidden}.hydrated{visibility:inherit}";var g=function(e,r){if(r===void 0){r=""}{return function(){return}}};var y=function(e,r){{return function(){return}}};var b=new WeakMap;var w=function(e,r,n){var t=be.get(e);if(c&&n){t=t||new CSSStyleSheet;t.replace(r)}else{t=r}be.set(e,t)};var _=function(e,r,n,t){var a=k(r);var i=be.get(a);e=e.nodeType===11?e:u;if(i){if(typeof i==="string"){e=e.head||e;var l=b.get(e);var s=void 0;if(!l){b.set(e,l=new Set)}if(!l.has(a)){{{s=u.createElement("style");s.innerHTML=i}e.insertBefore(s,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var S=function(e){var r=e.$cmpMeta$;var n=e.$hostElement$;var t=r.$flags$;var a=g("attachStyles",r.$tagName$);var i=_(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);if(t&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var k=function(e,r){return"sc-"+e.$tagName$};var R={};var x=function(e){return e!=null};var L=function(e){e=typeof e;return e==="object"||e==="function"};var E=e("h",(function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var a=null;var i=null;var l=false;var s=false;var o=[];var u=function(r){for(var n=0;n<r.length;n++){a=r[n];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!L(a)){a=String(a)}if(l&&s){o[o.length-1].$text$+=a}else{o.push(l?N(null,a):a)}s=l}}};u(n);if(r){if(r.key){i=r.key}{var f=r.className||r.class;if(f){r.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var $=N(e,null);$.$attrs$=r;if(o.length>0){$.$children$=o}{$.$key$=i}return $}));var N=function(e,r){var n={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}return n};var C=e("H",{});var j=function(e){return e&&e.$tag$===C};var M=function(e,r,n,t,a,i){if(n!==t){var l=pe(e,r);var s=r.toLowerCase();if(r==="class"){var u=e.classList;var $=A(n);var c=A(t);u.remove.apply(u,$.filter((function(e){return e&&!c.includes(e)})));u.add.apply(u,c.filter((function(e){return e&&!$.includes(e)})))}else if(r==="key");else if(r==="ref"){if(t){t(e)}}else if(!l&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(pe(o,s)){r=s.slice(2)}else{r=s[2]+r.slice(3)}if(n){f.rel(e,r,n,false)}if(t){f.ael(e,r,t,false)}}else{var v=L(t);if((l||v&&t!==null)&&!a){try{if(!e.tagName.includes("-")){var d=t==null?"":t;if(r==="list"){l=false}else if(n==null||e[r]!=d){e[r]=d}}else{e[r]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!l||i&4||a)&&!v){t=t===true?"":t;{e.setAttribute(r,t)}}}}};var P=/\s/;var A=function(e){return!e?[]:e.split(P)};var O=function(e,r,n,t){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||R;var l=r.$attrs$||R;{for(t in i){if(!(t in l)){M(a,t,i[t],undefined,n,r.$flags$)}}}for(t in l){M(a,t,i[t],l[t],n,r.$flags$)}};var T=function(e,r,n,t){var i=r.$children$[n];var s=0;var o;var f;if(i.$text$!==null){o=i.$elm$=u.createTextNode(i.$text$)}else{o=i.$elm$=u.createElement(i.$tag$);{O(null,i,l)}if(x(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for(s=0;s<i.$children$.length;++s){f=T(e,i,s);if(f){o.appendChild(f)}}}}return o};var I=function(e,r,n,t,a,l){var s=e;var o;if(s.shadowRoot&&s.tagName===i){s=s.shadowRoot}for(;a<=l;++a){if(t[a]){o=T(null,n,a);if(o){t[a].$elm$=o;s.insertBefore(o,r)}}}};var U=function(e,r,n,t,a){for(;r<=n;++r){if(t=e[r]){a=t.$elm$;H(t);a.remove()}}};var q=function(e,r,n,t){var a=0;var i=0;var l=0;var s=0;var o=r.length-1;var u=r[0];var f=r[o];var $=t.length-1;var c=t[0];var v=t[$];var d;var h;while(a<=o&&i<=$){if(u==null){u=r[++a]}else if(f==null){f=r[--o]}else if(c==null){c=t[++i]}else if(v==null){v=t[--$]}else if(B(u,c)){z(u,c);u=r[++a];c=t[++i]}else if(B(f,v)){z(f,v);f=r[--o];v=t[--$]}else if(B(u,v)){z(u,v);e.insertBefore(u.$elm$,f.$elm$.nextSibling);u=r[++a];v=t[--$]}else if(B(f,c)){z(f,c);e.insertBefore(f.$elm$,u.$elm$);f=r[--o];c=t[++i]}else{l=-1;{for(s=a;s<=o;++s){if(r[s]&&r[s].$key$!==null&&r[s].$key$===c.$key$){l=s;break}}}if(l>=0){h=r[l];if(h.$tag$!==c.$tag$){d=T(r&&r[i],n,l)}else{z(h,c);r[l]=undefined;d=h.$elm$}c=t[++i]}else{d=T(r&&r[i],n,i);c=t[++i]}if(d){{u.$elm$.parentNode.insertBefore(d,u.$elm$)}}}}if(a>o){I(e,t[$+1]==null?null:t[$+1].$elm$,n,t,i,$)}else if(i>$){U(r,a,o)}};var B=function(e,r){if(e.$tag$===r.$tag$){{return e.$key$===r.$key$}}return false};var z=function(e,r){var n=r.$elm$=e.$elm$;var t=e.$children$;var a=r.$children$;var i=r.$tag$;var s=r.$text$;if(s===null){{if(i==="slot");else{O(e,r,l)}}if(t!==null&&a!==null){q(n,t,r,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}I(n,null,r,a,0,a.length-1)}else if(t!==null){U(t,0,t.length-1)}}else if(e.$text$!==s){n.data=s}};var H=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(H)}};var V=function(e,r){var n=e.$hostElement$;var t=e.$vnode$||N(null,null);var l=j(r)?r:E(null,null,r);i=n.tagName;l.$tag$=null;l.$flags$|=4;e.$vnode$=l;l.$elm$=t.$elm$=n.shadowRoot||n;{a=n["s-sc"]}z(t,l)};var W=e("g",(function(e){return ve(e).$hostElement$}));var F=e("c",(function(e,r,n){var t=W(e);return{emit:function(e){return D(t,r,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var D=function(e,r,n){var t=f.ce(r,n);e.dispatchEvent(t);return t};var G=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var J=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}G(e,e.$ancestorComponent$);var n=function(){return K(e,r)};return Le(n)};var K=function(e,r){var n=g("scheduleUpdate",e.$cmpMeta$.$tagName$);var t=e.$lazyInstance$;var a;if(r){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var r=e[0],n=e[1];return ee(t,r,n)}));e.$queuedListeners$=null}}{a=ee(t,"componentWillLoad")}}n();return re(a,(function(){return Q(e,t,r)}))};var Q=function(e,r,t){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,s,o;return __generator(this,(function(u){n=e.$hostElement$;a=g("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(t){S(e)}l=g("render",e.$cmpMeta$.$tagName$);{X(e,r)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{s=n["s-p"];o=function(){return Y(e)};if(s.length===0){o()}else{Promise.all(s).then(o);e.$flags$|=4;s.length=0}}return[2]}))}))};var X=function(e,r,n){try{r=r.render();{e.$flags$&=~16}{e.$flags$|=2}{{{V(e,r)}}}}catch(r){me(r,e.$hostElement$)}return null};var Y=function(e){var r=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var t=g("postUpdate",r);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{ne(n)}{ee(a,"componentDidLoad")}t();{e.$onReadyResolve$(n);if(!i){Z()}}}else{t()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){xe((function(){return J(e,false)}))}e.$flags$&=~(4|512)}};var Z=function(e){{ne(u.documentElement)}xe((function(){return D(o,"appload",{detail:{namespace:t}})}))};var ee=function(e,r,n){if(e&&e[r]){try{return e[r](n)}catch(e){me(e)}}return undefined};var re=function(e,r){return e&&e.then?e.then(r):r()};var ne=function(e){return e.classList.add("hydrated")};var te=function(e,r){if(e!=null&&!L(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var ae=function(e,r){return ve(e).$instanceValues$.get(r)};var ie=function(e,r,n,t){var a=ve(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(r);var s=a.$flags$;var o=a.$lazyInstance$;n=te(n,t.$members$[r][0]);if((!(s&8)||l===undefined)&&n!==l){a.$instanceValues$.set(r,n);if(o){if(t.$watchers$&&s&128){var u=t.$watchers$[r];if(u){u.map((function(e){try{o[e](n,l,r)}catch(e){me(e,i)}}))}}if((s&(2|16))===2){J(a,false)}}}};var le=function(e,r,n){if(r.$members$){if(e.watchers){r.$watchers$=e.watchers}var t=Object.entries(r.$members$);var a=e.prototype;t.map((function(e){var t=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,t,{get:function(){return ae(this,t)},set:function(e){ie(this,t,e,r)},configurable:true,enumerable:true})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,r,n){var t=this;f.jmp((function(){var r=i.get(e);if(t.hasOwnProperty(r)){n=t[r];delete t[r]}t[r]=n===null&&typeof t[r]==="boolean"?false:n}))};e.observedAttributes=t.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var r=e[0],n=e[1];var t=n[1]||r;i.set(t,r);return t}))}}return e};var se=function(e,r,t,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,s,o,u;return __generator(this,(function(f){switch(f.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=ye(t);if(!i.then)return[3,2];e=y();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{t.$watchers$=i.watchers}le(i,t,2);i.isProxied=true}n=g("createInstance",t.$tagName$);{r.$flags$|=8}try{new i(r)}catch(e){me(e)}{r.$flags$&=~8}{r.$flags$|=128}n();if(i.style){a=i.style;l=k(t);if(!be.has(l)){s=g("registerStyles",t.$tagName$);w(l,a,!!(t.$flags$&1));s()}}f.label=3;case 3:o=r.$ancestorComponent$;u=function(){return J(r,true)};if(o&&o["s-rc"]){o["s-rc"].push(u)}else{u()}return[2]}}))}))};var oe=function(e){if((f.$flags$&1)===0){var r=ve(e);var n=r.$cmpMeta$;var t=g("connectedCallback",n.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){G(r,r.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{se(e,r,n)}}else{v(e,r,n.$listeners$)}t()}};var ue=function(e){if((f.$flags$&1)===0){var r=ve(e);{if(r.$rmListeners$){r.$rmListeners$.map((function(e){return e()}));r.$rmListeners$=undefined}}}};var fe=e("b",(function(e,r){if(r===void 0){r={}}var n=g();var t=[];var a=r.exclude||[];var i=o.customElements;var l=u.head;var s=l.querySelector("meta[charset]");var $=u.createElement("style");var c=[];var v;var d=true;Object.assign(f,r);f.$resourcesUrl$=new URL(r.resourcesUrl||"./",u.baseURI).href;e.map((function(e){return e[1].map((function(r){var n={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{n.$members$=r[2]}{n.$listeners$=r[3]}{n.$watchers$={}}var l=n.$tagName$;var s=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;r=t;he(r,n);if(n.$flags$&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){c.push(this)}else{f.jmp((function(){return oe(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return ue(e)}))};r.prototype.componentOnReady=function(){return ve(this).$onReadyPromise$};return r}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){t.push(l);i.define(l,le(s,n,1))}}))}));{$.innerHTML=t+m;$.setAttribute("data-styles","");l.insertBefore($,s?s.nextSibling:l.firstChild)}d=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return v=setTimeout(Z,30)}))}}n()}));var $e=e("a",(function(e){var r=new URL(e,f.$resourcesUrl$);return r.origin!==o.location.origin?r.href:r.pathname}));var ce=new WeakMap;var ve=function(e){return ce.get(e)};var de=e("r",(function(e,r){return ce.set(r.$lazyInstance$=e,r)}));var he=function(e,r){var n={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}v(e,n,r.$listeners$);return ce.set(e,n)};var pe=function(e,r){return r in e};var me=function(e,r){return(0,console.error)(e,r)};var ge=new Map;var ye=function(e,n,t){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=ge.get(i);if(l){return l[a]}return r.import("./"+i+".entry.js"+"").then((function(e){{ge.set(i,e)}return e[a]}),me)};var be=new Map;var we=[];var _e=[];var Se=function(e,r){return function(n){e.push(n);if(!s){s=true;if(r&&f.$flags$&4){xe(Re)}else{f.raf(Re)}}}};var ke=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){me(e)}}e.length=0};var Re=function(){ke(we);{ke(_e);if(s=we.length>0){f.raf(Re)}}};var xe=function(e){return $().then(e)};var Le=Se(_e,true)}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as s}from"./p-16920169.js";let l=class{constructor(s){e(this,s)}render(){var e,l,i,o,p,n;return s("div",{class:"container"},s("span",{class:"icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><rect fill="none" height="24" width="24"/><g><path d="M4,13c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2s-2,0.9-2,2C2,12.1,2.9,13,4,13z M5.13,14.1C4.76,14.04,4.39,14,4,14 c-0.99,0-1.93,0.21-2.78,0.58C0.48,14.9,0,15.62,0,16.43V18l4.5,0v-1.61C4.5,15.56,4.73,14.78,5.13,14.1z M20,13c1.1,0,2-0.9,2-2 c0-1.1-0.9-2-2-2s-2,0.9-2,2C18,12.1,18.9,13,20,13z M24,16.43c0-0.81-0.48-1.53-1.22-1.85C21.93,14.21,20.99,14,20,14 c-0.39,0-0.76,0.04-1.13,0.1c0.4,0.68,0.63,1.46,0.63,2.29V18l4.5,0V16.43z M16.24,13.65c-1.17-0.52-2.61-0.9-4.24-0.9 c-1.63,0-3.07,0.39-4.24,0.9C6.68,14.13,6,15.21,6,16.39V18h12v-1.61C18,15.21,17.32,14.13,16.24,13.65z M8.07,16 c0.09-0.23,0.13-0.39,0.91-0.69c0.97-0.38,1.99-0.56,3.02-0.56s2.05,0.18,3.02,0.56c0.77,0.3,0.81,0.46,0.91,0.69H8.07z M12,8 c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S11.45,8,12,8 M12,6c-1.66,0-3,1.34-3,3c0,1.66,1.34,3,3,3s3-1.34,3-3 C15,7.34,13.66,6,12,6L12,6z"/></g></svg>'}),s("span",{class:"content"},null===(e=this.organization)||void 0===e?void 0:e.name),s("div",{class:"popup"},s("div",{class:"popup-header"},s("span",{class:"status"}),s("span",{class:"title"},null===(l=this.organization)||void 0===l?void 0:l.name)),s("div",{class:"popup-body"},s("span",{class:"joined"},s("b",null,"Joined")," ",null===(i=this.organization)||void 0===i?void 0:i.created_at),s("span",{class:"followers"},s("b",null,"Followers")," ",null===(o=this.organization)||void 0===o?void 0:o.followers),s("span",{class:"website"},s("b",null,"Website")),s("span",{class:"templates"},s("b",null,"Templates")," ",null===(p=this.organization)||void 0===p?void 0:p.templates),s("span",null,null===(n=this.organization)||void 0===n?void 0:n.website))))}};l.style=":host{display:block}.container{width:242px;height:64px;background-color:#33364b;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.container:hover>.popup{display:-ms-flexbox;display:flex;background:#ffffff;color:#33364b}.icon{-ms-flex:1;flex:1;margin-left:15px;margin-right:0px}.icon svg{width:24px;margin-bottom:-5px}.content{color:#fff;-ms-flex:4;flex:4;font-family:sans-serif}.popup{position:absolute;top:-1px;left:-4px;display:none;border:1px solid #1e2031;border-radius:10px;width:326px;height:220px;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-family:sans-serif}.popup-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;width:242px;height:69px;-ms-flex-pack:justify;justify-content:space-between;font-size:21px;color:#4c56cb}.popup-body{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:256.2px;height:95px;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-size:13px;text-transform:uppercase}.popup-body span{display:block;-ms-flex:2 80px;flex:2 80px;margin-left:7px}.popup-body span:last-child{margin-top:5px}.status{width:29px;height:29px;background-color:#aeb4bf;border-radius:50%}";export{l as org_popup}
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(e,t){"use strict";var s,a;return{setters:[function(e){s=e.p;a=e.b}],execute:function(){var e=function(){var e=t.meta.url;var a={};if(e!==""){a.resourcesUrl=new URL(".",e).href}return s(a)};e().then((function(e){return a([["p-4b97efc0.system",[[1,"document-status-indicator",{status:[1],theme:[1]}]]],["p-299c2e14.system",[[1,"dropdown-menu",{options:[16],open:[4],tall:[4],isOpen:[32]}]]],["p-09a2b37a.system",[[1,"org-popup",{organization:[8],theme:[1]}]]],["p-ea92818e.system",[[1,"pdf-viewer",{rotation:[2],src:[1]}]]],["p-58183d59.system",[[1,"search-box"]]],["p-d498562e.system",[[1,"search-embed"]]],["p-0c7f99e4.system",[[1,"search-quick-functions"]]],["p-52695ad1.system",[[1,"search-recent",{limit:[2],recent:[32]}]]],["p-3120e567.system",[[1,"search-saved",{limit:[2],saved:[32]}]]],["p-eaee7c4a.system",[[1,"search-starred",{options:[8]}]]],["p-acbc9fd7.system",[[1,"search-tabs"]]],["p-20def3b4.system",[[1,"tags-indicator",{tags:[16],theme:[1]}]]],["p-10b8a992.system",[[1,"template-card",{template:[8],theme:[1]}]]],["p-a10f4a2a.system",[[1,"toggle-icon-buttons",{options:[16],theme:[1]},[[6,"click","handleClick"]]]]]],e)}))}}}));
@@ -1 +0,0 @@
1
- import{r as s,h as r,H as l}from"./p-16920169.js";let o=class{constructor(r){s(this,r)}render(){return r(l,null,r("slot",null))}};o.style=":host{display:block}";export{o as search_box}
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.r;n=t.h}],execute:function(){var i=".container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}.label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}.buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}.buttons button:not(:last-child){margin-right:11px}.buttons svg{width:30px;height:30px}.buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}.buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}.selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}.selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";var o=t("toggle_icon_buttons",function(){function t(t){e(this,t)}t.prototype.handleClick=function(t){t.preventDefault();var e=t.target;if(e.matches("toggle-icon-buttons")){e=t.target.shadowRoot;var n=e.activeElement;var i=Array.from(n.parentElement.children).filter((function(t){return t!==n}));i.map((function(t){return t.classList.remove("selected")}));if(!n.classList.contains("selected")){n.classList.add("selected")}}};t.prototype.render=function(){var t=this;return n("div",{class:"container"},n("span",{class:"label"},this.options.label+":"),n("div",{class:"buttons"},this.options.buttons.map((function(e,i){return n("button",{id:e.id,key:e.id,innerHTML:e.icon,class:i===t.options.defaultSelection?"selected":""})}))))};return t}());o.style=i}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var s=":host{display:block}";var u=t("search_tabs",function(){function t(t){e(this,t)}t.prototype.render=function(){return n(r,null,n("slot",null))};return t}());u.style=s}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as r}from"./p-16920169.js";let t=class{constructor(r){e(this,r)}render(){var e;return r("div",{class:"container"},null===(e=this.tags)||void 0===e?void 0:e.map((e=>r("span",{class:"tags"},e))))}};t.style=".container{width:270px;height:35px;background-color:#33364b;font-family:sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.tags{display:-ms-inline-flexbox;display:inline-flex;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-preferred-size:content;flex-basis:content;padding:7px 12px;margin:0 5px;height:28px;background-color:#f4f4f9;text-transform:uppercase;font-size:12px;font-weight:700;color:#33374a;border-radius:5px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}";export{t as tags_indicator}
@@ -1 +0,0 @@
1
- import{r as e,h as i,H as t}from"./p-16920169.js";let o=class{constructor(i){e(this,i)}handleSelectOption(e){console.log("option ",e," has been clicked!")}computePagesText(e){return e<2?`${e} Page`:`${e} Pages`}computeRecipientsText(e){return"object"==typeof e?e.join(", "):e>1?`${e} Recipients`:`${e} Recipient`}render(){var e,o;return i(t,null,i("div",{class:"container"},i("p",{class:"title"},"My Starred Items"),i("div",{class:"items"},null===(e=this.options)||void 0===e?void 0:e.map((e=>i("button",{class:"item",onClick:()=>this.handleSelectOption(e)},i("div",{class:"icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>'}),i("div",{class:"details"},i("span",{class:"item-title"},e.params.q),i("span",{class:"info"},e.pages?`${this.computePagesText(e.pages)} `:"",e.recipients?this.computeRecipientsText(e.recipients):""))))),((null===(o=this.options)||void 0===o?void 0:o.length)||[])<1&&i("div",{class:"empty"},"You do not have any starred items."))))}};o.style=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-top:20px}.item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}.item:hover{cursor:pointer}.icon{-ms-flex:0;flex:0;margin-right:14px}.icon svg{fill:#707ae5;width:22px;height:22px}.details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start}.item-title{font-size:16px;font-family:sans-serif;font-weight:400;color:#ffffff;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info{font-size:14px;font-family:sans-serif;font-weight:500;line-height:23px;color:#aeb4bf;grid-column:2/10;grid-row:2}.empty{text-transform:none;line-height:22px;color:#ccc}";export{o as search_starred}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as i,H as s}from"./p-16920169.js";import{g as n}from"./p-3b38a704.js";let l=class{constructor(i){e(this,i),this.entrySelected=t(this,"entrySelected",7),this.limit=10,this.recent=[]}componentDidLoad(){n().then((e=>{this.recent=e.recent})).catch((e=>console.warn("[Verdocs/search-recent] Error getting search history",e)))}handleSelectEntry(e){this.entrySelected.emit(e)}render(){return i(s,null,i("div",{class:"container"},i("p",{class:"title"},"Recent Searches"),i("div",{class:"items"},this.recent.slice(0,this.limit).map((e=>i("button",{class:"button",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>',onClick:()=>this.handleSelectEntry(e)},e.params.type&&i("span",{class:"pill"},"type: ",e.params.type),e.params.q))),this.recent.length<1&&i("div",{class:"empty"},"You do not have any recent searches."))))}};l.style=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}.button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.button:hover{cursor:pointer}.button:not(:last-child){margin-bottom:36px}.button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}.pill{font-size:14px;display:-ms-inline-flexbox;display:inline-flex;padding:3px 8px;border-radius:6px;margin-right:8px;background-color:#999999;color:#333}.empty{text-transform:none;line-height:22px;color:#ccc}";export{l as search_recent}
@@ -1 +0,0 @@
1
- System.register(["./p-7b071b76.system.js"],(function(e){"use strict";var t,i,n;return{setters:[function(e){t=e.r;i=e.h;n=e.H}],execute:function(){var o='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>';var s=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-top:20px}.item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}.item:hover{cursor:pointer}.icon{-ms-flex:0;flex:0;margin-right:14px}.icon svg{fill:#707ae5;width:22px;height:22px}.details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start}.item-title{font-size:16px;font-family:sans-serif;font-weight:400;color:#ffffff;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info{font-size:14px;font-family:sans-serif;font-weight:500;line-height:23px;color:#aeb4bf;grid-column:2/10;grid-row:2}.empty{text-transform:none;line-height:22px;color:#ccc}";var r=e("search_starred",function(){function e(e){t(this,e)}e.prototype.handleSelectOption=function(e){console.log("option ",e," has been clicked!")};e.prototype.computePagesText=function(e){if(e<2){return e+" Page"}else{return e+" Pages"}};e.prototype.computeRecipientsText=function(e){if(typeof e==="object"){return e.join(", ")}else if(e>1){return e+" Recipients"}else{return e+" Recipient"}};e.prototype.render=function(){var e=this;var t,s;return i(n,null,i("div",{class:"container"},i("p",{class:"title"},"My Starred Items"),i("div",{class:"items"},(t=this.options)===null||t===void 0?void 0:t.map((function(t){return i("button",{class:"item",onClick:function(){return e.handleSelectOption(t)}},i("div",{class:"icon",innerHTML:o}),i("div",{class:"details"},i("span",{class:"item-title"},t.params.q),i("span",{class:"info"},t.pages?e.computePagesText(t.pages)+" ":"",t.recipients?e.computeRecipientsText(t.recipients):"")))})),(((s=this.options)===null||s===void 0?void 0:s.length)||[])<1&&i("div",{class:"empty"},"You do not have any starred items."))))};return e}());r.style=s}}}));