@verdocs/web-sdk 1.0.3 → 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.
- package/dist/cjs/{Content-a339b396.js → Content-986f7a13.js} +39 -6
- package/dist/cjs/document-status-indicator.cjs.entry.js +2 -2
- package/dist/cjs/dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/{index-2293949e.js → index-e2fb537e.js} +359 -8
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/org-popup.cjs.entry.js +2 -2
- package/dist/cjs/pdf-viewer.cjs.entry.js +6 -2
- package/dist/cjs/search-box.cjs.entry.js +22 -3
- package/dist/cjs/search-embed.cjs.entry.js +1 -1
- package/dist/cjs/search-quick-functions.cjs.entry.js +2 -2
- package/dist/cjs/search-recent.cjs.entry.js +3 -3
- package/dist/cjs/search-saved.cjs.entry.js +3 -3
- package/dist/cjs/search-starred.cjs.entry.js +6 -5
- package/dist/cjs/search-tabs.cjs.entry.js +2 -1
- package/dist/cjs/tags-indicator.cjs.entry.js +2 -2
- package/dist/cjs/template-card.cjs.entry.js +2 -2
- package/dist/cjs/toggle-icon-buttons.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-web-sdk.cjs.js +2 -2
- package/dist/collection/api/endpoint.js +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/controls/document-status-indicator/document-status-indicator.css +10 -4
- package/dist/collection/components/controls/document-status-indicator/document-status-indicator.js +1 -2
- package/dist/collection/components/controls/dropdown-menu/dropdown-menu.css +23 -19
- package/dist/collection/components/controls/dropdown-menu/dropdown-menu.js +1 -2
- package/dist/collection/components/controls/tags-indicator/tags-indicator.css +8 -2
- package/dist/collection/components/controls/tags-indicator/tags-indicator.js +1 -2
- package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.css +18 -12
- package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.js +1 -2
- package/dist/collection/components/elements/org-popup/org-popup.css +17 -17
- package/dist/collection/components/elements/org-popup/org-popup.js +1 -2
- package/dist/collection/components/elements/search-box/close.svg +3 -0
- package/dist/collection/components/elements/search-box/search-box.css +70 -2
- package/dist/collection/components/elements/search-box/search-box.js +70 -4
- package/dist/collection/components/elements/search-box/search-box.stories.js +7 -9
- package/dist/collection/components/elements/search-box/search.svg +3 -0
- package/dist/collection/components/elements/search-quick-functions/search-quick-functions.css +10 -12
- package/dist/collection/components/elements/search-quick-functions/search-quick-functions.js +1 -2
- package/dist/collection/components/elements/search-recent/search-recent.css +15 -22
- package/dist/collection/components/elements/search-recent/search-recent.js +1 -2
- package/dist/collection/components/elements/search-saved/search-saved.css +14 -20
- package/dist/collection/components/elements/search-saved/search-saved.js +1 -2
- package/dist/collection/components/elements/search-starred/search-starred.css +22 -40
- package/dist/collection/components/elements/search-starred/search-starred.js +31 -8
- package/dist/collection/components/elements/search-starred/search-starred.stories.js +13 -15
- package/dist/collection/components/elements/search-tabs/search-tabs.css +1 -1
- package/dist/collection/components/elements/search-tabs/search-tabs.js +8 -3
- package/dist/collection/components/elements/template-card/template-card.css +21 -13
- package/dist/collection/components/elements/template-card/template-card.js +2 -3
- package/dist/collection/components/embeds/search-embed/search-embed.css +1 -1
- package/dist/collection/components/embeds/search-embed/search-embed.js +1 -1
- package/dist/collection/components/pdf-viewer/pdf-viewer.css +7 -4
- package/dist/collection/components/pdf-viewer/pdf-viewer.js +2 -3
- package/dist/custom-elements/index.js +94 -49
- package/dist/custom-elements.json +266 -0
- package/dist/docs.json +69 -18
- package/dist/esm/{Content-68a13fb0.js → Content-386637c8.js} +39 -6
- package/dist/esm/document-status-indicator.entry.js +2 -2
- package/dist/esm/dropdown-menu.entry.js +2 -2
- package/dist/esm/{index-69a4b693.js → index-183a8995.js} +359 -8
- package/dist/esm/loader.js +2 -2
- package/dist/esm/org-popup.entry.js +2 -2
- package/dist/esm/pdf-viewer.entry.js +6 -2
- package/dist/esm/search-box.entry.js +22 -3
- package/dist/esm/search-embed.entry.js +1 -1
- package/dist/esm/search-quick-functions.entry.js +2 -2
- package/dist/esm/search-recent.entry.js +3 -3
- package/dist/esm/search-saved.entry.js +3 -3
- package/dist/esm/search-starred.entry.js +6 -5
- package/dist/esm/search-tabs.entry.js +2 -1
- package/dist/esm/tags-indicator.entry.js +2 -2
- package/dist/esm/template-card.entry.js +2 -2
- package/dist/esm/toggle-icon-buttons.entry.js +2 -2
- package/dist/esm/verdocs-web-sdk.js +2 -2
- package/dist/esm-es5/{Content-68a13fb0.js → Content-386637c8.js} +1 -1
- package/dist/esm-es5/document-status-indicator.entry.js +1 -1
- package/dist/esm-es5/dropdown-menu.entry.js +1 -1
- package/dist/esm-es5/index-183a8995.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/org-popup.entry.js +1 -1
- package/dist/esm-es5/pdf-viewer.entry.js +2 -2
- package/dist/esm-es5/search-box.entry.js +1 -1
- package/dist/esm-es5/search-embed.entry.js +1 -1
- package/dist/esm-es5/search-quick-functions.entry.js +1 -1
- package/dist/esm-es5/search-recent.entry.js +1 -1
- package/dist/esm-es5/search-saved.entry.js +1 -1
- package/dist/esm-es5/search-starred.entry.js +1 -1
- package/dist/esm-es5/search-tabs.entry.js +1 -1
- package/dist/esm-es5/tags-indicator.entry.js +1 -1
- package/dist/esm-es5/template-card.entry.js +1 -1
- package/dist/esm-es5/toggle-icon-buttons.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/api/endpoint.d.ts +1 -0
- package/dist/types/components/elements/search-box/search-box.d.ts +14 -0
- package/dist/types/components/elements/search-box/search-box.stories.d.ts +3 -2
- package/dist/types/components/elements/search-starred/search-starred.d.ts +10 -1
- package/dist/types/components/elements/search-starred/search-starred.stories.d.ts +2 -1
- package/dist/types/components/elements/search-tabs/search-tabs.d.ts +2 -0
- package/dist/types/components/elements/template-card/template-card.d.ts +1 -1
- package/dist/types/components.d.ts +13 -2
- package/dist/verdocs-web-sdk/p-153879ad.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-299c2e14.system.entry.js → p-1d1bc463.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-29cb7cbc.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-f6bd3c28.entry.js → p-2cec77cf.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-79141dc5.entry.js → p-32a5788a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad0daf3f.system.js → p-33f73371.system.js} +1 -1
- package/dist/verdocs-web-sdk/p-349248f0.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-4ffe65f0.entry.js → p-36082c90.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-3a032151.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3cc8281f.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-440d8a73.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d498562e.system.entry.js → p-4d4e090f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-55660c24.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-63107dd5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6b569aa1.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-4b97efc0.system.entry.js → p-6e033b90.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-6ee008ff.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7ab216be.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-ea92818e.system.entry.js → p-7d10b067.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-89be87e5.js +1 -0
- package/dist/verdocs-web-sdk/p-92e7863c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-99ebfee7.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9af63b8a.system.js +1 -0
- package/dist/verdocs-web-sdk/p-9da35744.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b3d5601a.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b466e003.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bb99a203.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-cbc784a6.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-ab5a12f2.js → p-cf030985.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f8532ba9.entry.js → p-d73f486f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-dea09611.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e34538bd.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e59eda0c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.css +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/package.json +4 -2
- package/dist/esm-es5/index-69a4b693.js +0 -1
- package/dist/verdocs-web-sdk/p-0851fc9a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-09a2b37a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-0c7f99e4.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-10b8a992.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-16920169.js +0 -1
- package/dist/verdocs-web-sdk/p-1d99fd7e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-20def3b4.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-35c52a07.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-58183d59.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-64b6c2b3.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7427f970.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7b071b76.system.js +0 -1
- package/dist/verdocs-web-sdk/p-83fe27d7.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-918d1153.system.js +0 -1
- package/dist/verdocs-web-sdk/p-943c181c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a10f4a2a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a415baa5.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-acbc9fd7.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ad52e615.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-af8bde91.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bab548fb.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-cda6aa04.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-eaee7c4a.system.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, createEvent, Host, attachShadow, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
2
2
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
3
3
|
|
|
4
4
|
const CancelledIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></svg>`;
|
|
@@ -9,13 +9,12 @@ const FinishedIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" view
|
|
|
9
9
|
|
|
10
10
|
const PendingIcon = `<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"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,20c-4.42,0-8-3.58-8-8 c0-4.42,3.58-8,8-8s8,3.58,8,8C20,16.42,16.42,20,12,20z"/><circle cx="7" cy="12" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="17" cy="12" r="1.5"/></g></g></svg>`;
|
|
11
11
|
|
|
12
|
-
const documentStatusIndicatorCss = ".container{width:195px;height:72px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#33364b;font-family:sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:16px;color:#ffffff}.icon{margin-right:15px}svg{height:24px;width:24px}";
|
|
12
|
+
const documentStatusIndicatorCss = "document-status-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}document-status-indicator .container{width:195px;height:72px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#33364b;font-family:sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:16px;color:#ffffff}document-status-indicator .icon{margin-right:15px}document-status-indicator svg{height:24px;width:24px}";
|
|
13
13
|
|
|
14
14
|
let DocumentStatusIndicator$1 = class extends HTMLElement {
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
this.__registerHost();
|
|
18
|
-
attachShadow(this);
|
|
19
18
|
}
|
|
20
19
|
render() {
|
|
21
20
|
let icon;
|
|
@@ -1796,13 +1795,12 @@ var createPopper = /*#__PURE__*/popperGenerator({
|
|
|
1796
1795
|
const SortDown = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>
|
|
1797
1796
|
`;
|
|
1798
1797
|
|
|
1799
|
-
const dropdownMenuCss = "
|
|
1798
|
+
const dropdownMenuCss = "dropdown-menu{font-family:sans-serif;font-family:var(--verdocs-font)}dropdown-menu .arrow{width:32px;height:26px;background:#fff;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #ccc;-ms-flex-pack:center;justify-content:center}dropdown-menu .arrow svg{fill:#50be80;-webkit-transition:0.3s;transition:0.3s}dropdown-menu .items{width:200px;display:none;border-radius:5px;background:#33364b;border:1px solid #654dcb}dropdown-menu .items[data-show]{display:block}dropdown-menu .option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;padding:10px 20px}dropdown-menu .option:hover{cursor:pointer;background:#50be80}dropdown-menu .option[disabled]{color:#aaa}dropdown-menu .option[disabled]:hover{color:#aaa;cursor:inherit;background:transparent}dropdown-menu .open .items{display:block}dropdown-menu .open .arrow{background:#4c56cb;border:1px solid #707ae5}dropdown-menu .open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}";
|
|
1800
1799
|
|
|
1801
1800
|
let DropdownMenu$1 = class extends HTMLElement {
|
|
1802
1801
|
constructor() {
|
|
1803
1802
|
super();
|
|
1804
1803
|
this.__registerHost();
|
|
1805
|
-
attachShadow(this);
|
|
1806
1804
|
this.optionSelected = createEvent(this, "optionSelected", 7);
|
|
1807
1805
|
/**
|
|
1808
1806
|
* The menu options to display.
|
|
@@ -1859,13 +1857,12 @@ let DropdownMenu$1 = class extends HTMLElement {
|
|
|
1859
1857
|
|
|
1860
1858
|
const UserGroup = `<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>`;
|
|
1861
1859
|
|
|
1862
|
-
const orgPopupCss = "
|
|
1860
|
+
const orgPopupCss = "org-popup{font-family:sans-serif;font-family:var(--verdocs-font)}org-popup .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}org-popup .container:hover>.popup{display:-ms-flexbox;display:flex;background:#ffffff;color:#33364b}org-popup .icon{-ms-flex:1;flex:1;margin-left:15px;margin-right:0px}org-popup .icon svg{width:24px;margin-bottom:-5px}org-popup .content{color:#fff;-ms-flex:4;flex:4;font-family:sans-serif}org-popup .popup{position:absolute;top:-1px;left:-4px;display:none;border:1px solid var(--verdocs-background-dark);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}org-popup .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}org-popup .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}org-popup .popup-body span{display:block;-ms-flex:2 80px;flex:2 80px;margin-left:7px}org-popup .popup-body span:last-child{margin-top:5px}org-popup .status{width:29px;height:29px;background-color:#aeb4bf;border-radius:50%}";
|
|
1863
1861
|
|
|
1864
1862
|
let OrgPopup$1 = class extends HTMLElement {
|
|
1865
1863
|
constructor() {
|
|
1866
1864
|
super();
|
|
1867
1865
|
this.__registerHost();
|
|
1868
|
-
attachShadow(this);
|
|
1869
1866
|
}
|
|
1870
1867
|
render() {
|
|
1871
1868
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -15349,17 +15346,20 @@ const integerSequence = (start, count) => Array(count)
|
|
|
15349
15346
|
.fill(1)
|
|
15350
15347
|
.map((_, index) => index + start);
|
|
15351
15348
|
|
|
15352
|
-
const pdfViewerCss = ":
|
|
15349
|
+
const pdfViewerCss = "pdf-viewer{font-family:sans-serif;font-family:var(--verdocs-font);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pdf-viewer button.test{color:#fff;cursor:pointer;padding:5px 10px;border-radius:4px;background:#5a5767;border:1px solid #ccc}pdf-viewer #pdf-container canvas{max-width:100%}";
|
|
15353
15350
|
|
|
15354
15351
|
const PDF_WORKER_URL = `https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdf.version}/pdf.worker.min.js`;
|
|
15355
15352
|
const CMAPS_URL = `https://unpkg.com/pdfjs-dist@${pdf.version}/cmaps/`;
|
|
15356
15353
|
// https://unpkg.com/pdfjs-dist@2.0.550/cmaps/78-EUC-H.bcmap
|
|
15357
15354
|
console.log('[PDFVIEWER] Loading PDF-JS', { PDF_WORKER_URL, CMAPS_URL });
|
|
15355
|
+
// pdf.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.min.js';
|
|
15356
|
+
// pdf.GlobalWorkerOptions.workerSrc = `https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${PDFJSversion}/pdf.worker.min.js`;
|
|
15357
|
+
// TODO: Re-enable this
|
|
15358
|
+
pdf$1.GlobalWorkerOptions.workerSrc = PDF_WORKER_URL;
|
|
15358
15359
|
let PdfViewer$1 = class extends HTMLElement {
|
|
15359
15360
|
constructor() {
|
|
15360
15361
|
super();
|
|
15361
15362
|
this.__registerHost();
|
|
15362
|
-
attachShadow(this);
|
|
15363
15363
|
this.pageRendered = createEvent(this, "pageRendered", 7);
|
|
15364
15364
|
this.pageChange = createEvent(this, "pageChange", 7);
|
|
15365
15365
|
// private canvas: HTMLCanvasElement;
|
|
@@ -15545,16 +15545,34 @@ let PdfViewer$1 = class extends HTMLElement {
|
|
|
15545
15545
|
static get style() { return pdfViewerCss; }
|
|
15546
15546
|
};
|
|
15547
15547
|
|
|
15548
|
-
const
|
|
15548
|
+
const SearchIcon$2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
15549
|
+
<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"/>
|
|
15550
|
+
</svg>
|
|
15551
|
+
`;
|
|
15552
|
+
|
|
15553
|
+
const CloseIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
15554
|
+
<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"/>
|
|
15555
|
+
</svg>
|
|
15556
|
+
`;
|
|
15557
|
+
|
|
15558
|
+
const searchBoxCss = "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}";
|
|
15549
15559
|
|
|
15550
15560
|
let SearchBox$1 = class extends HTMLElement {
|
|
15551
15561
|
constructor() {
|
|
15552
15562
|
super();
|
|
15553
15563
|
this.__registerHost();
|
|
15554
|
-
|
|
15564
|
+
this.search = createEvent(this, "search", 7);
|
|
15565
|
+
this.type = 'all';
|
|
15566
|
+
}
|
|
15567
|
+
handleSubmit(e) {
|
|
15568
|
+
e.preventDefault();
|
|
15569
|
+
this.search.emit({ type: this.type, q: this.q });
|
|
15570
|
+
}
|
|
15571
|
+
handleChange(event) {
|
|
15572
|
+
this.q = event.target.value;
|
|
15555
15573
|
}
|
|
15556
15574
|
render() {
|
|
15557
|
-
return (h(Host, null, h("
|
|
15575
|
+
return (h(Host, null, h("form", { onSubmit: e => this.handleSubmit(e) }, this.type !== undefined && this.type !== 'all' && (h("span", { class: "type" }, this.type, "s ", h("button", { class: "remove", innerHTML: CloseIcon }))), h("input", { type: "text", placeholder: "search documents, templates, people...", value: this.q, onInput: e => this.handleChange(e) }), h("button", { onClick: e => this.handleSubmit(e), class: "search" }, h("span", { innerHTML: SearchIcon$2 }), "Search"))));
|
|
15558
15576
|
}
|
|
15559
15577
|
static get style() { return searchBoxCss; }
|
|
15560
15578
|
};
|
|
@@ -15577,13 +15595,12 @@ const TemplateIcon = `<svg xmlns="http://www.w3.org/2000/svg" enable-background=
|
|
|
15577
15595
|
|
|
15578
15596
|
const DocumentIcon$1 = `<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>`;
|
|
15579
15597
|
|
|
15580
|
-
const searchQuickFunctionsCss = "
|
|
15598
|
+
const searchQuickFunctionsCss = "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}";
|
|
15581
15599
|
|
|
15582
15600
|
let SearchQuickFunctions$1 = class extends HTMLElement {
|
|
15583
15601
|
constructor() {
|
|
15584
15602
|
super();
|
|
15585
15603
|
this.__registerHost();
|
|
15586
|
-
attachShadow(this);
|
|
15587
15604
|
this.createTemplate = createEvent(this, "createTemplate", 7);
|
|
15588
15605
|
this.createDocument = createEvent(this, "createDocument", 7);
|
|
15589
15606
|
}
|
|
@@ -17404,11 +17421,40 @@ axios_1.default = _default;
|
|
|
17404
17421
|
|
|
17405
17422
|
var axios = axios_1;
|
|
17406
17423
|
|
|
17407
|
-
var
|
|
17408
|
-
|
|
17424
|
+
var TRACE_ID = '' + Math.floor(Math.random() * 100000);
|
|
17425
|
+
// tslint:disable-next-line
|
|
17426
|
+
console.log('[JS-SDK Loaded]', TRACE_ID);
|
|
17427
|
+
// console.log('[JS-SDK Loaded]', TRACE_ID, import.meta.url);
|
|
17428
|
+
var config = {
|
|
17429
|
+
baseURL: 'https://api.verdocs.com/',
|
|
17409
17430
|
timeout: 3000,
|
|
17410
17431
|
headers: { 'X-Client-ID': 'NONE' },
|
|
17411
|
-
}
|
|
17432
|
+
};
|
|
17433
|
+
var recreateEndpoint = function () {
|
|
17434
|
+
endpoint = axios.create(config);
|
|
17435
|
+
endpoint.interceptors.request.use(function (r) {
|
|
17436
|
+
// tslint:disable-next-line
|
|
17437
|
+
console.log("[JS-SDK] " + TRACE_ID + " :: " + r.method.toUpperCase() + " " + r.url, JSON.stringify(r.data), JSON.stringify(r.headers));
|
|
17438
|
+
return r;
|
|
17439
|
+
});
|
|
17440
|
+
};
|
|
17441
|
+
var endpoint;
|
|
17442
|
+
recreateEndpoint();
|
|
17443
|
+
/**
|
|
17444
|
+
* Helper to get the endpoint for direct access to HTTP functions.
|
|
17445
|
+
*
|
|
17446
|
+
* ```typescript
|
|
17447
|
+
* import {Transport} from '@verdocs/js-sdk/HTTP';
|
|
17448
|
+
*
|
|
17449
|
+
* console.log('Current timeout', Transport.getEndpoint().defaults.timeout);
|
|
17450
|
+
* ```
|
|
17451
|
+
*/
|
|
17452
|
+
var getEndpoint = function () {
|
|
17453
|
+
if (!endpoint) {
|
|
17454
|
+
recreateEndpoint();
|
|
17455
|
+
}
|
|
17456
|
+
return endpoint;
|
|
17457
|
+
};
|
|
17412
17458
|
|
|
17413
17459
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
17414
17460
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -17456,19 +17502,22 @@ var __generator = (undefined && undefined.__generator) || function (thisArg, bod
|
|
|
17456
17502
|
* const {recent, saved} = await Content.getSearchHistory();
|
|
17457
17503
|
* ```
|
|
17458
17504
|
*/
|
|
17459
|
-
var getSearchHistory = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
17460
|
-
return
|
|
17461
|
-
|
|
17505
|
+
var getSearchHistory = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
17506
|
+
return __generator(this, function (_a) {
|
|
17507
|
+
return [2 /*return*/, getEndpoint()
|
|
17508
|
+
.get('/search/history')
|
|
17509
|
+
.then(function (r) { return r.data; })];
|
|
17510
|
+
});
|
|
17511
|
+
}); };
|
|
17462
17512
|
|
|
17463
17513
|
const SearchIcon$1 = `<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>`;
|
|
17464
17514
|
|
|
17465
|
-
const searchRecentCss = "
|
|
17515
|
+
const searchRecentCss = "search-recent{font-family:sans-serif;font-family:var(--verdocs-font)}search-recent .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-recent .title{font-size:22px;font-weight:700;line-height:30px}search-recent .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}search-recent .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}search-recent .button:hover{cursor:pointer}search-recent .button:not(:last-child){margin-bottom:36px}search-recent .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-recent .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}search-recent .empty{text-transform:none;line-height:22px;color:#ccc}";
|
|
17466
17516
|
|
|
17467
17517
|
let SearchRecent$1 = class extends HTMLElement {
|
|
17468
17518
|
constructor() {
|
|
17469
17519
|
super();
|
|
17470
17520
|
this.__registerHost();
|
|
17471
|
-
attachShadow(this);
|
|
17472
17521
|
this.entrySelected = createEvent(this, "entrySelected", 7);
|
|
17473
17522
|
/**
|
|
17474
17523
|
* If set, limits the number of entries that will be shown. Note that there is a server-imposed limit of 20 entries
|
|
@@ -17495,13 +17544,12 @@ let SearchRecent$1 = class extends HTMLElement {
|
|
|
17495
17544
|
|
|
17496
17545
|
const SearchIcon = `<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>`;
|
|
17497
17546
|
|
|
17498
|
-
const searchSavedCss = "
|
|
17547
|
+
const searchSavedCss = "search-saved{font-family:sans-serif;font-family:var(--verdocs-font)}search-saved .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-saved .title{font-size:22px;font-weight:700;line-height:30px}search-saved .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}search-saved .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}search-saved .button:hover{cursor:pointer}search-saved .button:not(:last-child){margin-bottom:36px}search-saved .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-saved .empty{text-transform:none;line-height:22px;color:#ccc}";
|
|
17499
17548
|
|
|
17500
17549
|
let SearchSaved$1 = class extends HTMLElement {
|
|
17501
17550
|
constructor() {
|
|
17502
17551
|
super();
|
|
17503
17552
|
this.__registerHost();
|
|
17504
|
-
attachShadow(this);
|
|
17505
17553
|
this.entrySelected = createEvent(this, "entrySelected", 7);
|
|
17506
17554
|
/**
|
|
17507
17555
|
* If set, limits the number of entries that will be shown. Note that there is a server-imposed limit of 20 entries
|
|
@@ -17528,16 +17576,16 @@ let SearchSaved$1 = class extends HTMLElement {
|
|
|
17528
17576
|
|
|
17529
17577
|
const DocumentIcon = `<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>`;
|
|
17530
17578
|
|
|
17531
|
-
const searchStarredCss = "
|
|
17579
|
+
const searchStarredCss = "search-starred{font-family:sans-serif;font-family:var(--verdocs-font)}search-starred .container{display:-ms-flexbox;display:flex;width:240px;color:#ffffff;-ms-flex-direction:column;flex-direction:column;text-transform:uppercase;padding:10px 10px 20px 10px;background-color:var(--verdocs-background-dark)}search-starred .title{font-size:22px;font-weight:700;line-height:30px}search-starred .items{display:-ms-flexbox;display:flex;margin-top:20px;-ms-flex-direction:column;flex-direction:column}search-starred .item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}search-starred .item:hover{cursor:pointer}search-starred .icon{-ms-flex:0 0 22px;flex:0 0 22px;margin-right:14px}search-starred .icon svg{fill:#707ae5;width:22px;height:22px}search-starred .details{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column}search-starred .item-title{font-size:16px;font-weight:400;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}search-starred .info{font-size:14px;font-weight:500;line-height:23px;color:#aeb4bf}search-starred .empty{text-transform:none;line-height:22px;color:#ccc}";
|
|
17532
17580
|
|
|
17533
17581
|
let SearchStarred$1 = class extends HTMLElement {
|
|
17534
17582
|
constructor() {
|
|
17535
17583
|
super();
|
|
17536
17584
|
this.__registerHost();
|
|
17537
|
-
|
|
17585
|
+
this.entrySelected = createEvent(this, "entrySelected", 7);
|
|
17538
17586
|
}
|
|
17539
|
-
|
|
17540
|
-
|
|
17587
|
+
handleSelectEntry(entry) {
|
|
17588
|
+
this.entrySelected.emit(entry);
|
|
17541
17589
|
}
|
|
17542
17590
|
computePagesText(pages) {
|
|
17543
17591
|
if (pages < 2) {
|
|
@@ -17561,7 +17609,7 @@ let SearchStarred$1 = class extends HTMLElement {
|
|
|
17561
17609
|
render() {
|
|
17562
17610
|
var _a, _b;
|
|
17563
17611
|
return (h(Host, null, h("div", { class: "container" }, h("p", { class: "title" }, "My Starred Items"), h("div", { class: "items" }, (_a = this.options) === null || _a === void 0 ? void 0 :
|
|
17564
|
-
_a.map(option => (h("button", { class: "item", onClick: () => this.
|
|
17612
|
+
_a.map(option => (h("button", { class: "item", onClick: () => this.handleSelectEntry(option) }, h("div", { class: "icon", innerHTML: DocumentIcon }), h("div", { class: "details" }, h("div", { class: "item-title" }, option.params.q), h("div", { class: "info" }, option.pages ? `${this.computePagesText(option.pages)} ` : '', option.recipients ? this.computeRecipientsText(option.recipients) : ''))))), (((_b = this.options) === null || _b === void 0 ? void 0 : _b.length) || []) < 1 && h("div", { class: "empty" }, "You do not have any starred items.")))));
|
|
17565
17613
|
}
|
|
17566
17614
|
static get style() { return searchStarredCss; }
|
|
17567
17615
|
};
|
|
@@ -17572,7 +17620,7 @@ let SearchTabs$1 = class extends HTMLElement {
|
|
|
17572
17620
|
constructor() {
|
|
17573
17621
|
super();
|
|
17574
17622
|
this.__registerHost();
|
|
17575
|
-
|
|
17623
|
+
this.selected = 'all';
|
|
17576
17624
|
}
|
|
17577
17625
|
render() {
|
|
17578
17626
|
return (h(Host, null, h("slot", null)));
|
|
@@ -17580,13 +17628,12 @@ let SearchTabs$1 = class extends HTMLElement {
|
|
|
17580
17628
|
static get style() { return searchTabsCss; }
|
|
17581
17629
|
};
|
|
17582
17630
|
|
|
17583
|
-
const tagsIndicatorCss = ".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}";
|
|
17631
|
+
const tagsIndicatorCss = "tags-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}tags-indicator .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-indicator .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}";
|
|
17584
17632
|
|
|
17585
17633
|
let TagsIndicator$1 = class extends HTMLElement {
|
|
17586
17634
|
constructor() {
|
|
17587
17635
|
super();
|
|
17588
17636
|
this.__registerHost();
|
|
17589
|
-
attachShadow(this);
|
|
17590
17637
|
}
|
|
17591
17638
|
render() {
|
|
17592
17639
|
var _a;
|
|
@@ -17603,13 +17650,12 @@ const PagesIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox
|
|
|
17603
17650
|
|
|
17604
17651
|
const StarIcon = `<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>`;
|
|
17605
17652
|
|
|
17606
|
-
const templateCardCss = ".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
|
|
17653
|
+
const templateCardCss = "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}";
|
|
17607
17654
|
|
|
17608
17655
|
let TemplateCard$1 = class extends HTMLElement {
|
|
17609
17656
|
constructor() {
|
|
17610
17657
|
super();
|
|
17611
17658
|
this.__registerHost();
|
|
17612
|
-
attachShadow(this);
|
|
17613
17659
|
}
|
|
17614
17660
|
render() {
|
|
17615
17661
|
return (h("div", { class: "container" }, h("div", { class: "template-img" }, h("img", { src: getAssetPath('template-card/dummy-image.png'), alt: "Dummy Image" })), h("span", { class: "template-name" }, this.template.name), h("span", { class: "template-org-bname" }, this.template.organization_business_name), h("div", { class: "template-org-name" }, h("input", { type: "checkbox", id: "org-name", name: "org-name", checked: true }), h("label", { htmlFor: "org-name" }, this.template.organization_name)), h("hr", null), h("div", { class: "template-controls" }, h("span", { class: "star-counter", innerHTML: StarIcon }, this.template.star_counter), h("span", { class: "pages", innerHTML: PagesIcon }, this.template.pages), h("span", { class: "counter", innerHTML: EmailIcon }, this.template.counter), h("span", { class: "additional-controls", innerHTML: ActionsIcon }))));
|
|
@@ -17618,13 +17664,12 @@ let TemplateCard$1 = class extends HTMLElement {
|
|
|
17618
17664
|
static get style() { return templateCardCss; }
|
|
17619
17665
|
};
|
|
17620
17666
|
|
|
17621
|
-
const toggleIconButtonsCss = ".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}";
|
|
17667
|
+
const toggleIconButtonsCss = "toggle-icon-buttons{font-family:sans-serif;font-family:var(--verdocs-font)}toggle-icon-buttons .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}toggle-icon-buttons .label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}toggle-icon-buttons .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}toggle-icon-buttons .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}toggle-icon-buttons .buttons button:not(:last-child){margin-right:11px}toggle-icon-buttons .buttons svg{width:30px;height:30px}toggle-icon-buttons .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";
|
|
17622
17668
|
|
|
17623
17669
|
let ToggleIconButtons$1 = class extends HTMLElement {
|
|
17624
17670
|
constructor() {
|
|
17625
17671
|
super();
|
|
17626
17672
|
this.__registerHost();
|
|
17627
|
-
attachShadow(this);
|
|
17628
17673
|
}
|
|
17629
17674
|
handleClick(event) {
|
|
17630
17675
|
event.preventDefault();
|
|
@@ -17645,20 +17690,20 @@ let ToggleIconButtons$1 = class extends HTMLElement {
|
|
|
17645
17690
|
static get style() { return toggleIconButtonsCss; }
|
|
17646
17691
|
};
|
|
17647
17692
|
|
|
17648
|
-
const DocumentStatusIndicator = /*@__PURE__*/proxyCustomElement(DocumentStatusIndicator$1, [
|
|
17649
|
-
const DropdownMenu = /*@__PURE__*/proxyCustomElement(DropdownMenu$1, [
|
|
17650
|
-
const OrgPopup = /*@__PURE__*/proxyCustomElement(OrgPopup$1, [
|
|
17651
|
-
const PdfViewer = /*@__PURE__*/proxyCustomElement(PdfViewer$1, [
|
|
17652
|
-
const SearchBox = /*@__PURE__*/proxyCustomElement(SearchBox$1, [
|
|
17693
|
+
const DocumentStatusIndicator = /*@__PURE__*/proxyCustomElement(DocumentStatusIndicator$1, [0,"document-status-indicator",{"status":[1],"theme":[1]}]);
|
|
17694
|
+
const DropdownMenu = /*@__PURE__*/proxyCustomElement(DropdownMenu$1, [0,"dropdown-menu",{"options":[16],"open":[4],"tall":[4],"isOpen":[32]}]);
|
|
17695
|
+
const OrgPopup = /*@__PURE__*/proxyCustomElement(OrgPopup$1, [0,"org-popup",{"organization":[8],"theme":[1]}]);
|
|
17696
|
+
const PdfViewer = /*@__PURE__*/proxyCustomElement(PdfViewer$1, [0,"pdf-viewer",{"rotation":[2],"src":[1]}]);
|
|
17697
|
+
const SearchBox = /*@__PURE__*/proxyCustomElement(SearchBox$1, [0,"search-box",{"type":[1],"q":[32]}]);
|
|
17653
17698
|
const SearchEmbed = /*@__PURE__*/proxyCustomElement(SearchEmbed$1, [1,"search-embed"]);
|
|
17654
|
-
const SearchQuickFunctions = /*@__PURE__*/proxyCustomElement(SearchQuickFunctions$1, [
|
|
17655
|
-
const SearchRecent = /*@__PURE__*/proxyCustomElement(SearchRecent$1, [
|
|
17656
|
-
const SearchSaved = /*@__PURE__*/proxyCustomElement(SearchSaved$1, [
|
|
17657
|
-
const SearchStarred = /*@__PURE__*/proxyCustomElement(SearchStarred$1, [
|
|
17658
|
-
const SearchTabs = /*@__PURE__*/proxyCustomElement(SearchTabs$1, [
|
|
17659
|
-
const TagsIndicator = /*@__PURE__*/proxyCustomElement(TagsIndicator$1, [
|
|
17660
|
-
const TemplateCard = /*@__PURE__*/proxyCustomElement(TemplateCard$1, [
|
|
17661
|
-
const ToggleIconButtons = /*@__PURE__*/proxyCustomElement(ToggleIconButtons$1, [
|
|
17699
|
+
const SearchQuickFunctions = /*@__PURE__*/proxyCustomElement(SearchQuickFunctions$1, [0,"search-quick-functions"]);
|
|
17700
|
+
const SearchRecent = /*@__PURE__*/proxyCustomElement(SearchRecent$1, [0,"search-recent",{"limit":[2],"recent":[32]}]);
|
|
17701
|
+
const SearchSaved = /*@__PURE__*/proxyCustomElement(SearchSaved$1, [0,"search-saved",{"limit":[2],"saved":[32]}]);
|
|
17702
|
+
const SearchStarred = /*@__PURE__*/proxyCustomElement(SearchStarred$1, [0,"search-starred",{"options":[8]}]);
|
|
17703
|
+
const SearchTabs = /*@__PURE__*/proxyCustomElement(SearchTabs$1, [4,"search-tabs",{"selected":[32]}]);
|
|
17704
|
+
const TagsIndicator = /*@__PURE__*/proxyCustomElement(TagsIndicator$1, [0,"tags-indicator",{"tags":[16],"theme":[1]}]);
|
|
17705
|
+
const TemplateCard = /*@__PURE__*/proxyCustomElement(TemplateCard$1, [0,"template-card",{"template":[8],"theme":[1]}]);
|
|
17706
|
+
const ToggleIconButtons = /*@__PURE__*/proxyCustomElement(ToggleIconButtons$1, [0,"toggle-icon-buttons",{"options":[16],"theme":[1]},[[6,"click","handleClick"]]]);
|
|
17662
17707
|
const defineCustomElements = (opts) => {
|
|
17663
17708
|
if (typeof customElements !== 'undefined') {
|
|
17664
17709
|
[
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1.1,
|
|
3
|
+
"tags": [
|
|
4
|
+
{
|
|
5
|
+
"name": "document-status-indicator",
|
|
6
|
+
"description": {
|
|
7
|
+
"kind": "markdown",
|
|
8
|
+
"value": "Displays a message describing a document's status of completion\n\n```typescript\n\n```"
|
|
9
|
+
},
|
|
10
|
+
"attributes": [
|
|
11
|
+
{
|
|
12
|
+
"name": "status",
|
|
13
|
+
"description": "The status to display",
|
|
14
|
+
"values": [
|
|
15
|
+
{
|
|
16
|
+
"name": "cancelled"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "complete"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "declined"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "finished"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "in-progress"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "pending"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "theme",
|
|
37
|
+
"description": "The \"theme\" to be used",
|
|
38
|
+
"values": [
|
|
39
|
+
{
|
|
40
|
+
"name": "dark"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "light"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "dropdown-menu",
|
|
51
|
+
"description": {
|
|
52
|
+
"kind": "markdown",
|
|
53
|
+
"value": "Display a drop-down menu button. A menu of the specified options will be displayed when the button is pressed. The menu will be hidden\nwhen the button is pressed again, or an option is selected.\n\n```typescript\ninterface IMenuOption {\n // The label to display on the menu option.\n label: string;\n // Optional icon to display next to the option's label. Specify icons as SVG strings.\n icon?: string;\n // If true, the option will be shown disabled (dimmed and not clickable).\n disabled?: boolean;\n // Optional additional fields such as IDs or other data. When a menu option is clicked/tapped, the associated\n // IMenuOptionwill be passed to the event handler. This data may be used to help identify the option selected.\n [key: string]: any;\n}\n```"
|
|
54
|
+
},
|
|
55
|
+
"attributes": [
|
|
56
|
+
{
|
|
57
|
+
"name": "open",
|
|
58
|
+
"description": "If set, the component will be open by default. This is primarily intended to be used for testing."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "tall",
|
|
62
|
+
"description": "If set, the component will reserve space for Storybook-display purposes."
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "org-popup",
|
|
68
|
+
"description": {
|
|
69
|
+
"kind": "markdown",
|
|
70
|
+
"value": "Display a pop-up describing the company that was hovered over\n\n```typescript\n\n```"
|
|
71
|
+
},
|
|
72
|
+
"attributes": [
|
|
73
|
+
{
|
|
74
|
+
"name": "organization",
|
|
75
|
+
"description": "The organization to display"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "theme",
|
|
79
|
+
"description": "The \"theme\" to be used",
|
|
80
|
+
"values": [
|
|
81
|
+
{
|
|
82
|
+
"name": "dark"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "light"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "pdf-viewer",
|
|
93
|
+
"description": {
|
|
94
|
+
"kind": "markdown",
|
|
95
|
+
"value": "Test"
|
|
96
|
+
},
|
|
97
|
+
"attributes": [
|
|
98
|
+
{
|
|
99
|
+
"name": "rotation",
|
|
100
|
+
"description": "Rotate the PDF in degrees\n{number}"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "src",
|
|
104
|
+
"description": "Src of the PDF to load and render\n{number}"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "search-box",
|
|
110
|
+
"description": {
|
|
111
|
+
"kind": "markdown",
|
|
112
|
+
"value": ""
|
|
113
|
+
},
|
|
114
|
+
"attributes": [
|
|
115
|
+
{
|
|
116
|
+
"name": "type",
|
|
117
|
+
"description": "",
|
|
118
|
+
"values": [
|
|
119
|
+
{
|
|
120
|
+
"name": "all"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "document"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "organization"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "template"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "search-embed",
|
|
137
|
+
"description": {
|
|
138
|
+
"kind": "markdown",
|
|
139
|
+
"value": ""
|
|
140
|
+
},
|
|
141
|
+
"attributes": []
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "search-quick-functions",
|
|
145
|
+
"description": {
|
|
146
|
+
"kind": "markdown",
|
|
147
|
+
"value": "Display quick-function buttons for creating templates and documents."
|
|
148
|
+
},
|
|
149
|
+
"attributes": []
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "search-recent",
|
|
153
|
+
"description": {
|
|
154
|
+
"kind": "markdown",
|
|
155
|
+
"value": "Display a list of recent searches. Note that only some types of searches are automatically saved in the\nuser's history (those that contain a unique `q` query string from the next-most-recent search."
|
|
156
|
+
},
|
|
157
|
+
"attributes": [
|
|
158
|
+
{
|
|
159
|
+
"name": "limit",
|
|
160
|
+
"description": "If set, limits the number of entries that will be shown. Note that there is a server-imposed limit of 20 entries\nthat cannot currently be increased (only reduced)."
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "search-saved",
|
|
166
|
+
"description": {
|
|
167
|
+
"kind": "markdown",
|
|
168
|
+
"value": "Display a list of saved searches. Note that only some types of searches are automatically saved in the\nuser's history (those that contain a unique `q` query string from the next-most-recent search."
|
|
169
|
+
},
|
|
170
|
+
"attributes": [
|
|
171
|
+
{
|
|
172
|
+
"name": "limit",
|
|
173
|
+
"description": "If set, limits the number of entries that will be shown. Note that there is a server-imposed limit of 20 entries\nthat cannot currently be increased (only reduced)."
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "search-starred",
|
|
179
|
+
"description": {
|
|
180
|
+
"kind": "markdown",
|
|
181
|
+
"value": "Display a list of starred items."
|
|
182
|
+
},
|
|
183
|
+
"attributes": [
|
|
184
|
+
{
|
|
185
|
+
"name": "options",
|
|
186
|
+
"description": ""
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "search-tabs",
|
|
192
|
+
"description": {
|
|
193
|
+
"kind": "markdown",
|
|
194
|
+
"value": ""
|
|
195
|
+
},
|
|
196
|
+
"attributes": []
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "tags-indicator",
|
|
200
|
+
"description": {
|
|
201
|
+
"kind": "markdown",
|
|
202
|
+
"value": "Displays a message describing a document's status of completion\n\n```typescript\n\n```"
|
|
203
|
+
},
|
|
204
|
+
"attributes": [
|
|
205
|
+
{
|
|
206
|
+
"name": "theme",
|
|
207
|
+
"description": "The \"theme\" to be used",
|
|
208
|
+
"values": [
|
|
209
|
+
{
|
|
210
|
+
"name": "dark"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "light"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "template-card",
|
|
221
|
+
"description": {
|
|
222
|
+
"kind": "markdown",
|
|
223
|
+
"value": "Displays the overview of a template\n\n```typescript\n\n```"
|
|
224
|
+
},
|
|
225
|
+
"attributes": [
|
|
226
|
+
{
|
|
227
|
+
"name": "template",
|
|
228
|
+
"description": "The template whose information is gonna be displayed"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "theme",
|
|
232
|
+
"description": "The \"theme\" to be used",
|
|
233
|
+
"values": [
|
|
234
|
+
{
|
|
235
|
+
"name": "dark"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "light"
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "toggle-icon-buttons",
|
|
246
|
+
"description": {
|
|
247
|
+
"kind": "markdown",
|
|
248
|
+
"value": "Displays a label and a set of buttons, also allowing a default selection of a button\n\n```typescript\n\n```"
|
|
249
|
+
},
|
|
250
|
+
"attributes": [
|
|
251
|
+
{
|
|
252
|
+
"name": "theme",
|
|
253
|
+
"description": "The \"theme\" to be used",
|
|
254
|
+
"values": [
|
|
255
|
+
{
|
|
256
|
+
"name": "dark"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "light"
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
}
|