@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.
- package/dist/cjs/{Content-e6f81563.js → Content-986f7a13.js} +15 -2
- 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 +70 -45
- package/dist/custom-elements.json +266 -0
- package/dist/docs.json +69 -18
- package/dist/esm/{Content-0acef73b.js → Content-386637c8.js} +15 -2
- 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-0acef73b.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-23d40cb1.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-3b38a704.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-3120e567.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-496ff0a9.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-52695ad1.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-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-c9c2393e.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,12 +17421,25 @@ axios_1.default = _default;
|
|
|
17404
17421
|
|
|
17405
17422
|
var axios = axios_1;
|
|
17406
17423
|
|
|
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);
|
|
17407
17428
|
var config = {
|
|
17408
17429
|
baseURL: 'https://api.verdocs.com/',
|
|
17409
17430
|
timeout: 3000,
|
|
17410
17431
|
headers: { 'X-Client-ID': 'NONE' },
|
|
17411
17432
|
};
|
|
17412
|
-
var
|
|
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();
|
|
17413
17443
|
/**
|
|
17414
17444
|
* Helper to get the endpoint for direct access to HTTP functions.
|
|
17415
17445
|
*
|
|
@@ -17421,7 +17451,7 @@ var endpoint = axios.create(config);
|
|
|
17421
17451
|
*/
|
|
17422
17452
|
var getEndpoint = function () {
|
|
17423
17453
|
if (!endpoint) {
|
|
17424
|
-
|
|
17454
|
+
recreateEndpoint();
|
|
17425
17455
|
}
|
|
17426
17456
|
return endpoint;
|
|
17427
17457
|
};
|
|
@@ -17482,13 +17512,12 @@ var getSearchHistory = function () { return __awaiter(void 0, void 0, void 0, fu
|
|
|
17482
17512
|
|
|
17483
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>`;
|
|
17484
17514
|
|
|
17485
|
-
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}";
|
|
17486
17516
|
|
|
17487
17517
|
let SearchRecent$1 = class extends HTMLElement {
|
|
17488
17518
|
constructor() {
|
|
17489
17519
|
super();
|
|
17490
17520
|
this.__registerHost();
|
|
17491
|
-
attachShadow(this);
|
|
17492
17521
|
this.entrySelected = createEvent(this, "entrySelected", 7);
|
|
17493
17522
|
/**
|
|
17494
17523
|
* If set, limits the number of entries that will be shown. Note that there is a server-imposed limit of 20 entries
|
|
@@ -17515,13 +17544,12 @@ let SearchRecent$1 = class extends HTMLElement {
|
|
|
17515
17544
|
|
|
17516
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>`;
|
|
17517
17546
|
|
|
17518
|
-
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}";
|
|
17519
17548
|
|
|
17520
17549
|
let SearchSaved$1 = class extends HTMLElement {
|
|
17521
17550
|
constructor() {
|
|
17522
17551
|
super();
|
|
17523
17552
|
this.__registerHost();
|
|
17524
|
-
attachShadow(this);
|
|
17525
17553
|
this.entrySelected = createEvent(this, "entrySelected", 7);
|
|
17526
17554
|
/**
|
|
17527
17555
|
* If set, limits the number of entries that will be shown. Note that there is a server-imposed limit of 20 entries
|
|
@@ -17548,16 +17576,16 @@ let SearchSaved$1 = class extends HTMLElement {
|
|
|
17548
17576
|
|
|
17549
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>`;
|
|
17550
17578
|
|
|
17551
|
-
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}";
|
|
17552
17580
|
|
|
17553
17581
|
let SearchStarred$1 = class extends HTMLElement {
|
|
17554
17582
|
constructor() {
|
|
17555
17583
|
super();
|
|
17556
17584
|
this.__registerHost();
|
|
17557
|
-
|
|
17585
|
+
this.entrySelected = createEvent(this, "entrySelected", 7);
|
|
17558
17586
|
}
|
|
17559
|
-
|
|
17560
|
-
|
|
17587
|
+
handleSelectEntry(entry) {
|
|
17588
|
+
this.entrySelected.emit(entry);
|
|
17561
17589
|
}
|
|
17562
17590
|
computePagesText(pages) {
|
|
17563
17591
|
if (pages < 2) {
|
|
@@ -17581,7 +17609,7 @@ let SearchStarred$1 = class extends HTMLElement {
|
|
|
17581
17609
|
render() {
|
|
17582
17610
|
var _a, _b;
|
|
17583
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 :
|
|
17584
|
-
_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.")))));
|
|
17585
17613
|
}
|
|
17586
17614
|
static get style() { return searchStarredCss; }
|
|
17587
17615
|
};
|
|
@@ -17592,7 +17620,7 @@ let SearchTabs$1 = class extends HTMLElement {
|
|
|
17592
17620
|
constructor() {
|
|
17593
17621
|
super();
|
|
17594
17622
|
this.__registerHost();
|
|
17595
|
-
|
|
17623
|
+
this.selected = 'all';
|
|
17596
17624
|
}
|
|
17597
17625
|
render() {
|
|
17598
17626
|
return (h(Host, null, h("slot", null)));
|
|
@@ -17600,13 +17628,12 @@ let SearchTabs$1 = class extends HTMLElement {
|
|
|
17600
17628
|
static get style() { return searchTabsCss; }
|
|
17601
17629
|
};
|
|
17602
17630
|
|
|
17603
|
-
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}";
|
|
17604
17632
|
|
|
17605
17633
|
let TagsIndicator$1 = class extends HTMLElement {
|
|
17606
17634
|
constructor() {
|
|
17607
17635
|
super();
|
|
17608
17636
|
this.__registerHost();
|
|
17609
|
-
attachShadow(this);
|
|
17610
17637
|
}
|
|
17611
17638
|
render() {
|
|
17612
17639
|
var _a;
|
|
@@ -17623,13 +17650,12 @@ const PagesIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox
|
|
|
17623
17650
|
|
|
17624
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>`;
|
|
17625
17652
|
|
|
17626
|
-
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}";
|
|
17627
17654
|
|
|
17628
17655
|
let TemplateCard$1 = class extends HTMLElement {
|
|
17629
17656
|
constructor() {
|
|
17630
17657
|
super();
|
|
17631
17658
|
this.__registerHost();
|
|
17632
|
-
attachShadow(this);
|
|
17633
17659
|
}
|
|
17634
17660
|
render() {
|
|
17635
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 }))));
|
|
@@ -17638,13 +17664,12 @@ let TemplateCard$1 = class extends HTMLElement {
|
|
|
17638
17664
|
static get style() { return templateCardCss; }
|
|
17639
17665
|
};
|
|
17640
17666
|
|
|
17641
|
-
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}";
|
|
17642
17668
|
|
|
17643
17669
|
let ToggleIconButtons$1 = class extends HTMLElement {
|
|
17644
17670
|
constructor() {
|
|
17645
17671
|
super();
|
|
17646
17672
|
this.__registerHost();
|
|
17647
|
-
attachShadow(this);
|
|
17648
17673
|
}
|
|
17649
17674
|
handleClick(event) {
|
|
17650
17675
|
event.preventDefault();
|
|
@@ -17665,20 +17690,20 @@ let ToggleIconButtons$1 = class extends HTMLElement {
|
|
|
17665
17690
|
static get style() { return toggleIconButtonsCss; }
|
|
17666
17691
|
};
|
|
17667
17692
|
|
|
17668
|
-
const DocumentStatusIndicator = /*@__PURE__*/proxyCustomElement(DocumentStatusIndicator$1, [
|
|
17669
|
-
const DropdownMenu = /*@__PURE__*/proxyCustomElement(DropdownMenu$1, [
|
|
17670
|
-
const OrgPopup = /*@__PURE__*/proxyCustomElement(OrgPopup$1, [
|
|
17671
|
-
const PdfViewer = /*@__PURE__*/proxyCustomElement(PdfViewer$1, [
|
|
17672
|
-
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]}]);
|
|
17673
17698
|
const SearchEmbed = /*@__PURE__*/proxyCustomElement(SearchEmbed$1, [1,"search-embed"]);
|
|
17674
|
-
const SearchQuickFunctions = /*@__PURE__*/proxyCustomElement(SearchQuickFunctions$1, [
|
|
17675
|
-
const SearchRecent = /*@__PURE__*/proxyCustomElement(SearchRecent$1, [
|
|
17676
|
-
const SearchSaved = /*@__PURE__*/proxyCustomElement(SearchSaved$1, [
|
|
17677
|
-
const SearchStarred = /*@__PURE__*/proxyCustomElement(SearchStarred$1, [
|
|
17678
|
-
const SearchTabs = /*@__PURE__*/proxyCustomElement(SearchTabs$1, [
|
|
17679
|
-
const TagsIndicator = /*@__PURE__*/proxyCustomElement(TagsIndicator$1, [
|
|
17680
|
-
const TemplateCard = /*@__PURE__*/proxyCustomElement(TemplateCard$1, [
|
|
17681
|
-
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"]]]);
|
|
17682
17707
|
const defineCustomElements = (opts) => {
|
|
17683
17708
|
if (typeof customElements !== 'undefined') {
|
|
17684
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
|
+
}
|