@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
7
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8
8
|
|
|
@@ -13476,12 +13476,16 @@ const integerSequence = (start, count) => Array(count)
|
|
|
13476
13476
|
.fill(1)
|
|
13477
13477
|
.map((_, index) => index + start);
|
|
13478
13478
|
|
|
13479
|
-
const pdfViewerCss = ":
|
|
13479
|
+
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%}";
|
|
13480
13480
|
|
|
13481
13481
|
const PDF_WORKER_URL = `https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdf.version}/pdf.worker.min.js`;
|
|
13482
13482
|
const CMAPS_URL = `https://unpkg.com/pdfjs-dist@${pdf.version}/cmaps/`;
|
|
13483
13483
|
// https://unpkg.com/pdfjs-dist@2.0.550/cmaps/78-EUC-H.bcmap
|
|
13484
13484
|
console.log('[PDFVIEWER] Loading PDF-JS', { PDF_WORKER_URL, CMAPS_URL });
|
|
13485
|
+
// pdf.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.min.js';
|
|
13486
|
+
// pdf.GlobalWorkerOptions.workerSrc = `https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${PDFJSversion}/pdf.worker.min.js`;
|
|
13487
|
+
// TODO: Re-enable this
|
|
13488
|
+
pdf$1.GlobalWorkerOptions.workerSrc = PDF_WORKER_URL;
|
|
13485
13489
|
let PdfViewer = class {
|
|
13486
13490
|
constructor(hostRef) {
|
|
13487
13491
|
index.registerInstance(this, hostRef);
|
|
@@ -2,16 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const SearchIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8
|
+
<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"/>
|
|
9
|
+
</svg>
|
|
10
|
+
`;
|
|
11
|
+
|
|
12
|
+
const CloseIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
13
|
+
<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"/>
|
|
14
|
+
</svg>
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
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}";
|
|
8
18
|
|
|
9
19
|
let SearchBox = class {
|
|
10
20
|
constructor(hostRef) {
|
|
11
21
|
index.registerInstance(this, hostRef);
|
|
22
|
+
this.search = index.createEvent(this, "search", 7);
|
|
23
|
+
this.type = 'all';
|
|
24
|
+
}
|
|
25
|
+
handleSubmit(e) {
|
|
26
|
+
e.preventDefault();
|
|
27
|
+
this.search.emit({ type: this.type, q: this.q });
|
|
28
|
+
}
|
|
29
|
+
handleChange(event) {
|
|
30
|
+
this.q = event.target.value;
|
|
12
31
|
}
|
|
13
32
|
render() {
|
|
14
|
-
return (index.h(index.Host, null, index.h("
|
|
33
|
+
return (index.h(index.Host, null, index.h("form", { onSubmit: e => this.handleSubmit(e) }, this.type !== undefined && this.type !== 'all' && (index.h("span", { class: "type" }, this.type, "s ", index.h("button", { class: "remove", innerHTML: CloseIcon }))), index.h("input", { type: "text", placeholder: "search documents, templates, people...", value: this.q, onInput: e => this.handleChange(e) }), index.h("button", { onClick: e => this.handleSubmit(e), class: "search" }, index.h("span", { innerHTML: SearchIcon }), "Search"))));
|
|
15
34
|
}
|
|
16
35
|
};
|
|
17
36
|
SearchBox.style = searchBoxCss;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
7
|
const TemplateIcon = `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>`;
|
|
8
8
|
|
|
9
9
|
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>`;
|
|
10
10
|
|
|
11
|
-
const searchQuickFunctionsCss = "
|
|
11
|
+
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}";
|
|
12
12
|
|
|
13
13
|
let SearchQuickFunctions = class {
|
|
14
14
|
constructor(hostRef) {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const Content = require('./Content-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
|
+
const Content = require('./Content-986f7a13.js');
|
|
7
7
|
|
|
8
8
|
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>`;
|
|
9
9
|
|
|
10
|
-
const searchRecentCss = "
|
|
10
|
+
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}";
|
|
11
11
|
|
|
12
12
|
let SearchRecent = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const Content = require('./Content-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
|
+
const Content = require('./Content-986f7a13.js');
|
|
7
7
|
|
|
8
8
|
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>`;
|
|
9
9
|
|
|
10
|
-
const searchSavedCss = "
|
|
10
|
+
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}";
|
|
11
11
|
|
|
12
12
|
let SearchSaved = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
7
|
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>`;
|
|
8
8
|
|
|
9
|
-
const searchStarredCss = "
|
|
9
|
+
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}";
|
|
10
10
|
|
|
11
11
|
let SearchStarred = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
|
+
this.entrySelected = index.createEvent(this, "entrySelected", 7);
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
handleSelectEntry(entry) {
|
|
17
|
+
this.entrySelected.emit(entry);
|
|
17
18
|
}
|
|
18
19
|
computePagesText(pages) {
|
|
19
20
|
if (pages < 2) {
|
|
@@ -37,7 +38,7 @@ let SearchStarred = class {
|
|
|
37
38
|
render() {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("p", { class: "title" }, "My Starred Items"), index.h("div", { class: "items" }, (_a = this.options) === null || _a === void 0 ? void 0 :
|
|
40
|
-
_a.map(option => (index.h("button", { class: "item", onClick: () => this.
|
|
41
|
+
_a.map(option => (index.h("button", { class: "item", onClick: () => this.handleSelectEntry(option) }, index.h("div", { class: "icon", innerHTML: DocumentIcon }), index.h("div", { class: "details" }, index.h("div", { class: "item-title" }, option.params.q), index.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 && index.h("div", { class: "empty" }, "You do not have any starred items.")))));
|
|
41
42
|
}
|
|
42
43
|
};
|
|
43
44
|
SearchStarred.style = searchStarredCss;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
7
|
const searchTabsCss = ":host{display:block}";
|
|
8
8
|
|
|
9
9
|
let SearchTabs = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.selected = 'all';
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
15
|
return (index.h(index.Host, null, index.h("slot", null)));
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
|
-
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}";
|
|
7
|
+
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}";
|
|
8
8
|
|
|
9
9
|
let TagsIndicator = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
7
|
const EmailIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>`;
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ const PagesIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox
|
|
|
12
12
|
|
|
13
13
|
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>`;
|
|
14
14
|
|
|
15
|
-
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
|
|
15
|
+
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}";
|
|
16
16
|
|
|
17
17
|
let TemplateCard = class {
|
|
18
18
|
constructor(hostRef) {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e2fb537e.js');
|
|
6
6
|
|
|
7
|
-
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}";
|
|
7
|
+
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}";
|
|
8
8
|
|
|
9
9
|
let ToggleIconButtons = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-e2fb537e.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["document-status-indicator.cjs",[[
|
|
18
|
+
return index.bootstrapLazy([["document-status-indicator.cjs",[[0,"document-status-indicator",{"status":[1],"theme":[1]}]]],["dropdown-menu.cjs",[[0,"dropdown-menu",{"options":[16],"open":[4],"tall":[4],"isOpen":[32]}]]],["org-popup.cjs",[[0,"org-popup",{"organization":[8],"theme":[1]}]]],["pdf-viewer.cjs",[[0,"pdf-viewer",{"rotation":[2],"src":[1]}]]],["search-box.cjs",[[0,"search-box",{"type":[1],"q":[32]}]]],["search-embed.cjs",[[1,"search-embed"]]],["search-quick-functions.cjs",[[0,"search-quick-functions"]]],["search-recent.cjs",[[0,"search-recent",{"limit":[2],"recent":[32]}]]],["search-saved.cjs",[[0,"search-saved",{"limit":[2],"saved":[32]}]]],["search-starred.cjs",[[0,"search-starred",{"options":[8]}]]],["search-tabs.cjs",[[4,"search-tabs",{"selected":[32]}]]],["tags-indicator.cjs",[[0,"tags-indicator",{"tags":[16],"theme":[1]}]]],["template-card.cjs",[[0,"template-card",{"template":[8],"theme":[1]}]]],["toggle-icon-buttons.cjs",[[0,"toggle-icon-buttons",{"options":[16],"theme":[1]},[[6,"click","handleClick"]]]]]], options);
|
|
19
19
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let verdocs = null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
3
|
"./components/controls/dropdown-menu/dropdown-menu.js",
|
|
4
|
+
"./components/elements/search-box/search-box.js",
|
|
4
5
|
"./components/controls/toggle-icon-buttons/toggle-icon-buttons.js",
|
|
5
6
|
"./components/controls/document-status-indicator/document-status-indicator.js",
|
|
6
7
|
"./components/controls/tags-indicator/tags-indicator.js",
|
|
7
8
|
"./components/elements/org-popup/org-popup.js",
|
|
8
|
-
"./components/elements/search-box/search-box.js",
|
|
9
9
|
"./components/elements/search-quick-functions/search-quick-functions.js",
|
|
10
10
|
"./components/elements/search-recent/search-recent.js",
|
|
11
11
|
"./components/elements/search-saved/search-saved.js",
|
package/dist/collection/components/controls/document-status-indicator/document-status-indicator.css
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
document-status-indicator {
|
|
2
|
+
/* Fallback font for old browsers */
|
|
3
|
+
font-family: sans-serif;
|
|
4
|
+
font-family: var(--verdocs-font);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
document-status-indicator .container {
|
|
2
8
|
width: 195px;
|
|
3
9
|
height: 72px;
|
|
4
10
|
display: flex;
|
|
@@ -12,11 +18,11 @@
|
|
|
12
18
|
color: #ffffff;
|
|
13
19
|
}
|
|
14
20
|
|
|
15
|
-
.icon {
|
|
21
|
+
document-status-indicator .icon {
|
|
16
22
|
margin-right: 15px;
|
|
17
23
|
}
|
|
18
24
|
|
|
19
|
-
svg {
|
|
25
|
+
document-status-indicator svg {
|
|
20
26
|
height: 24px;
|
|
21
27
|
width: 24px;
|
|
22
|
-
}
|
|
28
|
+
}
|
package/dist/collection/components/controls/document-status-indicator/document-status-indicator.js
CHANGED
|
@@ -49,9 +49,8 @@ export class DocumentStatusIndicator {
|
|
|
49
49
|
h("span", { class: "content" }, statusMessage)));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "document-status-indicator"; }
|
|
52
|
-
static get encapsulation() { return "shadow"; }
|
|
53
52
|
static get originalStyleUrls() { return {
|
|
54
|
-
"$": ["document-status-indicator.
|
|
53
|
+
"$": ["document-status-indicator.scss"]
|
|
55
54
|
}; }
|
|
56
55
|
static get styleUrls() { return {
|
|
57
56
|
"$": ["document-status-indicator.css"]
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
:host([tall]) {
|
|
7
|
-
height: 160px;
|
|
1
|
+
dropdown-menu {
|
|
2
|
+
/* Fallback font for old browsers */
|
|
3
|
+
font-family: sans-serif;
|
|
4
|
+
font-family: var(--verdocs-font);
|
|
8
5
|
}
|
|
9
6
|
|
|
10
|
-
|
|
7
|
+
/*:host {*/
|
|
8
|
+
/* display: block;*/
|
|
9
|
+
/* position: relative;*/
|
|
10
|
+
/*}*/
|
|
11
|
+
/*:host([tall]) {*/
|
|
12
|
+
/* height: 160px;*/
|
|
13
|
+
/*}*/
|
|
14
|
+
dropdown-menu .arrow {
|
|
11
15
|
width: 32px;
|
|
12
16
|
height: 26px;
|
|
13
17
|
background: #fff;
|
|
@@ -18,12 +22,12 @@
|
|
|
18
22
|
justify-content: center;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
|
-
.arrow svg {
|
|
25
|
+
dropdown-menu .arrow svg {
|
|
22
26
|
fill: #50be80;
|
|
23
27
|
transition: 0.3s;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
|
-
.items {
|
|
30
|
+
dropdown-menu .items {
|
|
27
31
|
width: 200px;
|
|
28
32
|
display: none;
|
|
29
33
|
border-radius: 5px;
|
|
@@ -31,11 +35,11 @@
|
|
|
31
35
|
border: 1px solid #654dcb;
|
|
32
36
|
}
|
|
33
37
|
|
|
34
|
-
.items[data-show] {
|
|
38
|
+
dropdown-menu .items[data-show] {
|
|
35
39
|
display: block;
|
|
36
40
|
}
|
|
37
41
|
|
|
38
|
-
.option {
|
|
42
|
+
dropdown-menu .option {
|
|
39
43
|
width: 100%;
|
|
40
44
|
color: #fff;
|
|
41
45
|
border: none;
|
|
@@ -45,32 +49,32 @@
|
|
|
45
49
|
padding: 10px 20px;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
|
-
.option:hover {
|
|
52
|
+
dropdown-menu .option:hover {
|
|
49
53
|
cursor: pointer;
|
|
50
54
|
background: #50be80;
|
|
51
55
|
}
|
|
52
56
|
|
|
53
|
-
.option[disabled] {
|
|
57
|
+
dropdown-menu .option[disabled] {
|
|
54
58
|
color: #aaa;
|
|
55
59
|
}
|
|
56
60
|
|
|
57
|
-
.option[disabled]:hover {
|
|
61
|
+
dropdown-menu .option[disabled]:hover {
|
|
58
62
|
color: #aaa;
|
|
59
63
|
cursor: inherit;
|
|
60
64
|
background: transparent;
|
|
61
65
|
}
|
|
62
66
|
|
|
63
|
-
.open .items {
|
|
67
|
+
dropdown-menu .open .items {
|
|
64
68
|
display: block;
|
|
65
69
|
}
|
|
66
70
|
|
|
67
|
-
.open .arrow {
|
|
71
|
+
dropdown-menu .open .arrow {
|
|
68
72
|
background: #4c56cb;
|
|
69
73
|
border: 1px solid #707ae5;
|
|
70
74
|
}
|
|
71
75
|
|
|
72
|
-
.open .arrow svg {
|
|
76
|
+
dropdown-menu .open .arrow svg {
|
|
73
77
|
/*transform: rotate(180deg);*/
|
|
74
78
|
transform: scaleY(-1);
|
|
75
79
|
fill: #fff;
|
|
76
|
-
}
|
|
80
|
+
}
|
|
@@ -74,9 +74,8 @@ export class DropdownMenu {
|
|
|
74
74
|
h("div", { class: "items", "aria-hidden": !this.open, ref: el => (this.dropdownMenu = el) }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("button", { onClick: () => this.handleSelectOption(option), class: "option", disabled: option.disabled }, option.label))))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "dropdown-menu"; }
|
|
77
|
-
static get encapsulation() { return "shadow"; }
|
|
78
77
|
static get originalStyleUrls() { return {
|
|
79
|
-
"$": ["dropdown-menu.
|
|
78
|
+
"$": ["dropdown-menu.scss"]
|
|
80
79
|
}; }
|
|
81
80
|
static get styleUrls() { return {
|
|
82
81
|
"$": ["dropdown-menu.css"]
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
tags-indicator {
|
|
2
|
+
/* Fallback font for old browsers */
|
|
3
|
+
font-family: sans-serif;
|
|
4
|
+
font-family: var(--verdocs-font);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
tags-indicator .container {
|
|
2
8
|
width: 270px;
|
|
3
9
|
height: 35px;
|
|
4
10
|
background-color: #33364b;
|
|
@@ -10,7 +16,7 @@
|
|
|
10
16
|
justify-content: flex-start;
|
|
11
17
|
}
|
|
12
18
|
|
|
13
|
-
.tags {
|
|
19
|
+
tags-indicator .tags {
|
|
14
20
|
display: inline-flex;
|
|
15
21
|
box-sizing: border-box;
|
|
16
22
|
flex-basis: content;
|
|
@@ -12,9 +12,8 @@ export class TagsIndicator {
|
|
|
12
12
|
return (h("div", { class: "container" }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", { class: "tags" }, tag)))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "tags-indicator"; }
|
|
15
|
-
static get encapsulation() { return "shadow"; }
|
|
16
15
|
static get originalStyleUrls() { return {
|
|
17
|
-
"$": ["tags-indicator.
|
|
16
|
+
"$": ["tags-indicator.scss"]
|
|
18
17
|
}; }
|
|
19
18
|
static get styleUrls() { return {
|
|
20
19
|
"$": ["tags-indicator.css"]
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
toggle-icon-buttons {
|
|
2
|
+
/* Fallback font for old browsers */
|
|
3
|
+
font-family: sans-serif;
|
|
4
|
+
font-family: var(--verdocs-font);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
toggle-icon-buttons .container {
|
|
2
8
|
display: flex;
|
|
3
9
|
flex-direction: row;
|
|
4
10
|
flex-wrap: nowrap;
|
|
5
11
|
background-color: #f2f5fa;
|
|
6
12
|
}
|
|
7
13
|
|
|
8
|
-
.label {
|
|
14
|
+
toggle-icon-buttons .label {
|
|
9
15
|
font-size: 24px;
|
|
10
16
|
font-weight: 700;
|
|
11
17
|
color: #33364b;
|
|
@@ -14,13 +20,13 @@
|
|
|
14
20
|
font-family: sans-serif;
|
|
15
21
|
}
|
|
16
22
|
|
|
17
|
-
.buttons {
|
|
23
|
+
toggle-icon-buttons .buttons {
|
|
18
24
|
display: flex;
|
|
19
25
|
flex-direction: row;
|
|
20
26
|
flex-wrap: nowrap;
|
|
21
27
|
}
|
|
22
28
|
|
|
23
|
-
.buttons button {
|
|
29
|
+
toggle-icon-buttons .buttons button {
|
|
24
30
|
width: 60px;
|
|
25
31
|
height: 60px;
|
|
26
32
|
border: 2px solid #654dcb;
|
|
@@ -28,31 +34,31 @@
|
|
|
28
34
|
cursor: pointer;
|
|
29
35
|
}
|
|
30
36
|
|
|
31
|
-
.buttons button:not(:last-child) {
|
|
37
|
+
toggle-icon-buttons .buttons button:not(:last-child) {
|
|
32
38
|
margin-right: 11px;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
.buttons svg {
|
|
41
|
+
toggle-icon-buttons .buttons svg {
|
|
36
42
|
width: 30px;
|
|
37
43
|
height: 30px;
|
|
38
44
|
}
|
|
39
45
|
|
|
40
|
-
.buttons button:hover {
|
|
46
|
+
toggle-icon-buttons .buttons button:hover {
|
|
41
47
|
background-color: #654dcb;
|
|
42
|
-
transition: 0.25s
|
|
48
|
+
transition: 0.25s;
|
|
43
49
|
}
|
|
44
50
|
|
|
45
|
-
.buttons button:hover svg {
|
|
51
|
+
toggle-icon-buttons .buttons button:hover svg {
|
|
46
52
|
fill: #f2f5fa;
|
|
47
53
|
transition: 0.25s;
|
|
48
54
|
}
|
|
49
55
|
|
|
50
|
-
.selected {
|
|
56
|
+
toggle-icon-buttons .selected {
|
|
51
57
|
background-color: #707ae5;
|
|
52
|
-
transition: 0.25s
|
|
58
|
+
transition: 0.25s;
|
|
53
59
|
}
|
|
54
60
|
|
|
55
|
-
.selected svg {
|
|
61
|
+
toggle-icon-buttons .selected svg {
|
|
56
62
|
fill: #ffffff;
|
|
57
63
|
transition: 0.25s;
|
|
58
64
|
}
|
|
@@ -26,9 +26,8 @@ export class ToggleIconButtons {
|
|
|
26
26
|
h("div", { class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.options.defaultSelection ? 'selected' : '' }))))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "toggle-icon-buttons"; }
|
|
29
|
-
static get encapsulation() { return "shadow"; }
|
|
30
29
|
static get originalStyleUrls() { return {
|
|
31
|
-
"$": ["toggle-icon-buttons.
|
|
30
|
+
"$": ["toggle-icon-buttons.scss"]
|
|
32
31
|
}; }
|
|
33
32
|
static get styleUrls() { return {
|
|
34
33
|
"$": ["toggle-icon-buttons.css"]
|